Minutes of fuel that burn down in game time, twice as fast in the rain with nothing over the ring, and the hours it held under cover. Lighting and feeding are decided (fire_decide), costed in wood (fire_cost) and applied (fire_apply) apart, so a machine that does not own the world can ask the one that does. Warmth and cooking by distance are queries. FIRE_LIT, FIRE_WENT_OUT and FIRE_LOW_FUEL are facts; the rain, the tarp, the ban and who owns the world come through the FireWorld port. Its own save section. Uses ludic_base only; 8 tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
5 lines
231 B
Text
5 lines
231 B
Text
# ludic.fire - a camp fire: its fuel, lit and out, how fast it burns, the rain on it, the warmth
|
|
# it gives at a distance and whether it will cook. Uses ludic.base and nothing else.
|
|
package "ludic.fire"
|
|
version "0.1.0"
|
|
kind source
|