ludic/packages/ludic.needs/index.ludic
Orkuncakilkaya cf42214974 ludic.needs: a body's four needs, their rates, meals and the countdown to a collapse as a fact
Warmth, food, water and energy as bars of 0..100; what an hour of doing something
costs them (the package's rates: a full bar is a day at a trip's median); the
countdown when one runs out, reported as NEEDS_CRITICAL / NEEDS_RESTORED /
NEEDS_COLLAPSED facts. The body's work, the air, clothing, the sun, the
difficulty and the effects come through the NeedsWorld port. Its own save
section. Uses ludic_base only; 13 tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 06:03:57 +03:00

12 lines
401 B
Text

# ludic.needs - four bars of 0..100 that the body's work drains and meals fill; one at zero starts
# a countdown, and the countdown running out is a fact (a collapse) the game acts on
module ludic_needs uses ludic_base
numbers float
import "ludic.base"
import "state.ludic"
import "rates.ludic"
import "run.ludic"
import "watch.ludic"
import "queries.ludic"
import "verbs.ludic"
import "system.ludic"