Show Time of Day When Looking At Placed Alarm Clock

Downloads15
Views67
Publish Date6 days ago
Last Updated6 days ago by
Version0.0.1
Tags Members
promitheasOwner
Comments

Appends the correct time of day to the alarm clock's name when looking at an alarm clock in the world.
e.g. "Alarm Clock (09:30)"
Slightly enhances immersion in my opinion, since you would be able to tell the time when looking at a clock in the world - you wouldn't need to put it in your bag and need to pull it out (equip it and open inventory) to know the time.
Slightly enhances QoL since now even if you have an alarm clock equipped, you don't need to open your inventory to see the time, you can just look at a clock you have placed in you cabin for example, or which is somewhere in the outside world.
As for the correct time, I was made aware that the vanilla game's time of day calculation is off a little, so I used what I was told is a better calculation:
# Corrected time calculation
func CalculateToD():
var time = int(Simulation.time) * 0.6
time = time / 60.0
var hours = int(time)
var minutes = int((time - hours) * 60)
return "%02d:%02d" % [hours, minutes]
Possible future updates may include:
Known Issues:
