M1b: survival stats, day/night, fire fuel, cooking, foraging, torches, death + grave

- Health, stamina, hunger, warmth and wet with HUD bars, status tags and clock
- 20-minute day/night cycle with moon, stars and lit clouds
- Campfire fuel (2 min start, 15 min max), heat radius, cooking needs a lit fire
- Berry bushes (regrow 10 min), mushrooms, roasted mushroom, torch
- Stamina costs for sprint, jump and harvest hits
- Death respawns at island start and leaves a grave bag
- Saves include stats, time of day, fire fuel, regrowth timers and graves
- New test_survival_stats suite; tests fail if a script error aborts them
This commit is contained in:
Paul Bailey
2026-11-04 01:19:41 +00:00
parent 2b1afc86ba
commit fc7eb3cfed
28 changed files with 1326 additions and 97 deletions

View File

@@ -1,16 +1,83 @@
{
"recipes": [
{ "id": "stone_axe", "output": "stone_axe", "count": 1, "station": "",
"inputs": { "stick": 2, "flint": 2 } },
{ "id": "stone_pickaxe", "output": "stone_pickaxe", "count": 1, "station": "",
"inputs": { "stick": 2, "stone": 3, "flint": 1 } },
{ "id": "campfire", "output": "campfire", "count": 1, "station": "",
"inputs": { "stone": 5, "stick": 4 } },
{ "id": "workbench", "output": "workbench", "count": 1, "station": "",
"inputs": { "wood": 10, "flint": 2 } },
{ "id": "club", "output": "club", "count": 1, "station": "",
"inputs": { "wood": 4 } },
{ "id": "chest", "output": "chest", "count": 1, "station": "workbench",
"inputs": { "wood": 10, "stick": 4 } }
{
"id": "stone_axe",
"output": "stone_axe",
"count": 1,
"station": "",
"inputs": {
"stick": 2,
"flint": 2
}
},
{
"id": "stone_pickaxe",
"output": "stone_pickaxe",
"count": 1,
"station": "",
"inputs": {
"stick": 2,
"stone": 3,
"flint": 1
}
},
{
"id": "campfire",
"output": "campfire",
"count": 1,
"station": "",
"inputs": {
"stone": 5,
"stick": 4
}
},
{
"id": "workbench",
"output": "workbench",
"count": 1,
"station": "",
"inputs": {
"wood": 10,
"flint": 2
}
},
{
"id": "club",
"output": "club",
"count": 1,
"station": "",
"inputs": {
"wood": 4
}
},
{
"id": "chest",
"output": "chest",
"count": 1,
"station": "workbench",
"inputs": {
"wood": 10,
"stick": 4
}
},
{
"id": "torch",
"output": "torch",
"count": 1,
"station": "",
"inputs": {
"stick": 1,
"fiber": 2
}
},
{
"id": "roasted_mushroom",
"output": "roasted_mushroom",
"count": 1,
"station": "campfire",
"inputs": {
"mushroom": 1
}
}
]
}