uds-time
Installation
SKILL.md
UDS time of day
UDS has a single canonical time variable, three categories of runtime control (set / animate / transition), four getter functions, and a complete event-dispatcher system for game logic that needs to react to time. For real-world astronomical positioning (lat/long/date), see uds-simulation.
| Concern | Mechanism |
|---|---|
| Set the time | Time of Day variable (0–2400 float) or Time of Day String ("3PM", "15:45") |
| Day/night cycle | Animate Time of Day category: Day Length + Night Length (minutes) |
| One-off runtime change | Set Time with Time Code, Set Date and Time, Set Time of Day With String |
| Smooth transition over time | Transition Time of Day(targetValue, duration) |
| Read the time | Get Time of Day, Get Time Code, Get Date Time, Is It Daytime? |
| React at specific times | Event dispatchers: Sunrise/Sunset/Midnight/Hourly/Custom Time |
| Display the time | Built-in clock widgets in the widget designer palette |