What is the recommended way to keep track of the passing time?
I have check the base mode on how it handles the landing of the fleet, but there look to be specific method developed specifically for that, which would be pretty much useless to me.
Code: Select all
local timeleft = player.force.gettimetoland()
But that is not really convenient and we cannot get any idea of the date/time that way either.
As far as I know we cannot access os.clock as the os module is disabled, which makes sense for security reasons.
But still, date and time utilities would be really useful for mods/scenarios coding..
How do you guys handle that in your mods?
Am I missing something?