Proper season and time conditions for fishing

This commit is contained in:
2026-10-08 15:49:46 -03:00
parent 9c5a15542a
commit aa0d2f73d0
11 changed files with 86 additions and 76 deletions
+2
View File
@@ -32,6 +32,8 @@ For work every tick, subscribe to the `tick` event. For work on a block, use a
`ctx.world.day` is the number of days since the world started, 0 on the first day, going up at 06:00. Every morning at
06:00, blocks' `on_new_day` runs, then the `new_day` event fires. That's the clock crops grow on.
`ctx.world.hour` is the time on a 24 hour clock, in hours: `14.5` is 14:30.
`ctx.world.set_time(ticks)` changes the time for everyone. Moving it forward past mornings runs each of them, up to the
last 64. Moving it back doesn't repeat mornings.