Log inGet started
World

First Light: Goura

Branchmain
Branchesmain
Commite917faa950

README.md

Rules

The run itself, mounted once on mount_rules. It advances the dawn clock, sends the flock's six calls, keeps the failance ledger, and decides how the night ends.

The flock's rhythm

The calls do not fall on a metronome. CALL_PLAN in init.luau places them against a 150 s run whose light begins to rise at 8 s:

#atwindowside
113 s4.6 swest
227 s4.4 seast
355 s4.0 swest
484 s3.6 seast
5106 s3.2 seast
6126 s2.9 swest

Two close together early while the dark is still forgiving, a long silence across the middle, then three in the last third with the windows closing — so answering costs most exactly when the light makes standing still expensive. A boom of 1.15 s inside a 2.9 s window is a third of it.

How a night ends

  • Won — she reaches the roost (roost, from Tawpy, at 99.5 % of the lane).
  • Lost — the third failance, or caught, or the light fills the floor (FL.progress() reaches 1) with her still out on it.

Entering playing from anything but paused clears the ledger and calls player.reset().

The surface

FL.provide("rules", …):

  • ledger() — answered, failances, failanceLimit, callIndex, callCount, windowOpen, deadline, window, remaining, windowFraction (1 at the call, 0 at the deadline — draw the countdown from this), callSide, marks (one entry per call: "answered", "failance", "open", or nil for one not yet sent), runTime, light.
  • schedule() — the plan above, so a screen can lay the run out ahead of time.
  • restart() — back to intro for a fresh run.

Events emitted

call ({ index, side, deadline, window }), answered ({ index, remaining }), failance ({ index, count }).