Stormworks: Build and Rescue

Stormworks: Build and Rescue

Pwincess Jul 20, 2023 @ 7:40am
Suggestion: Time Sensor or Clock
I just started messing with the in-game scripting - and I'm appalled that the best way to calculate the passage of time in-game is by counting the number of times onTick has been called.

Just thinking of low-effort solves here... Maybe there should be a "time sensor"? Or maybe a clock that works like the compass (both a display and an output)?

Rando ideas for what it could output:
*Number of in-game milliseconds of map time since it was initially created (so if you do a new game, then save/quit after an hour of play, then load your save a few days later, the time sensor would return 1 hour worth of milliseconds)
*Number of in-game milliseconds since midnight, and number of in-game days since the map was initially created
*Number of milliseconds since the epoch (the system clock time of the host)
*Maybe a dropdown in the "select" tool that lets you set the output (days, hours,minutes,milliseconds)?
< >
Showing 1-3 of 3 comments
ZBRUH10 Jul 20, 2023 @ 7:47am 
There is a clock…
Aven Jul 20, 2023 @ 7:47am 
There is a clock sensor. There are also workshop controllers that break it out into hours, minutes, seconds, such as:
https://steamcommunity.com/sharedfiles/filedetails/?id=1587784945
Pwincess Jul 20, 2023 @ 2:55pm 
Oh! Derp I was looking for "time"
< >
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: Jul 20, 2023 @ 7:40am
Posts: 3