Tabletop Simulator

Tabletop Simulator

Not enough ratings
Time of Day Tracker
   
Award
Favorite
Favorited
Unfavorite
Assets: Scripting
Tags: Misc
File Size
Posted
Updated
8.260 KB
2 Dec, 2017 @ 5:34pm
4 Dec, 2017 @ 4:04pm
2 Change Notes ( view )

Subscribe to download
Time of Day Tracker

Description
A took to track time of day in DnD style games. It also changes color depending on that time of day. Arrow keys move forward/backward through "time". Magic! Currently uses Dawn/Noon/Dusk/Midnight, but you can edit those names, and the colors, in the top of the code easily.

Thanks to Jiggles for the design concept and the idea!

[ko-fi.com]
9 Comments
The Goat 1 Dec, 2022 @ 9:38am 
Any Chance to make it say "Dawn Mid-Day Dusk Night ? Or change what it says?
Marquise* 28 Apr, 2018 @ 6:39pm 
Thank you :D
Kaiju Cuddlebug 5 Dec, 2017 @ 9:11am 
@MrStump Thank you!
MrStump  [author] 4 Dec, 2017 @ 4:04pm 
Thanks for the update Oportet. Fixed
Kaiju Cuddlebug 4 Dec, 2017 @ 12:30pm 
@MrStump [2/2] If I scroll backwards without first trying to scroll forwards, the time of day switches to Dusk without error. I can scroll forwards and backwards without any errors when on Dusk, Dawn, or Noon, but when I scroll forwards from Dusk, it skips to Dawn.

I haven't edited the script in any way, saved the token to my chest, or even copy/pasted it. I've loaded the workshop file without opening any other games beforehand, spawning anything into the scene, or altering the token.

Let me know if you need any more info. I'd love to get this thing working.
Kaiju Cuddlebug 4 Dec, 2017 @ 12:29pm 
@MrStump [1/2] I'm getting an error when I attempt to scroll forward in time (clicking the right arrow) from Midnight. Error message in full:

Error in Script (Custom Token - ce4081) function <click_func1>: chunk_1:(60,21-51): attempt to index a nil value

If, while on Midnight, I attempt scroll backwards after attempting to scroll forwards twice, I get the same error. However, if I try again, I don't get an error, and the time of day switches to Dusk without error. This seems to "stack": if I attempt to scroll forwards three times, I have to click the back arrow three times to scroll backwards once (first two clicks give error messages, third click switches time of day to Dusk). If I attempt to scroll forwards four times, I have to click the back arrow four times. Scroll forwards five times, I have to click the back arrow fives times. And so on.
MrStump  [author] 4 Dec, 2017 @ 10:49am 
I already made a thing for that, believe it or not haha You could use them in tandem.

http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1082720945
Baryonyx 4 Dec, 2017 @ 10:14am 
Interesting concept, how about making it change light values of the room too?
Thrupert 2 Dec, 2017 @ 5:36pm 
That was quick, thank you Stump!