M1d: creatures, hunting, weapons, food buffs and the hide cloak

- Rabbits, deer and boars with procedural meshes and animated legs, a
  state machine (idle/wander/flee/charge/dead) and heightmap steering that
  avoids water, cliffs, the world edge, trees and buildings
- Spawner keeps a habitat-based budget around the player (6/4/3)
- Melee needs a weapon or tool (club, spear, axe, pickaxe); box sweep hits
- Wooden spear (thrust or throw) and crude bow with draw-scaled arrows;
  projectiles stick in the world as saved pickups
- Carcasses: E to butcher for meat, hide and embedded arrows
- Boars charge and gore when hit; hurt flash and a brief healing pause
- Cooked meat gives Well fed (faster stamina and healing); buffs saved
- Hide cloak: wear for warmth, saved, goes in the grave on death
- Feathers as meadow pickups (appended, existing save ids unchanged)
- New test_creatures_combat suite; run_all.sh gets a per-suite time limit
This commit is contained in:
Paul Bailey
2026-11-04 10:55:44 +00:00
parent fed96ef118
commit 67bf85523d
22 changed files with 1782 additions and 33 deletions

View File

@@ -134,6 +134,57 @@
"wood": 8,
"fiber": 6
}
},
{
"id": "cooked_meat",
"output": "cooked_meat",
"count": 1,
"station": "campfire",
"inputs": {
"raw_meat": 1
}
},
{
"id": "spear",
"output": "spear",
"count": 1,
"station": "workbench",
"inputs": {
"wood": 3,
"flint": 2,
"fiber": 1
}
},
{
"id": "bow",
"output": "bow",
"count": 1,
"station": "workbench",
"inputs": {
"wood": 4,
"fiber": 6
}
},
{
"id": "arrow",
"output": "arrow",
"count": 5,
"station": "workbench",
"inputs": {
"stick": 2,
"flint": 1,
"feather": 2
}
},
{
"id": "hide_cloak",
"output": "hide_cloak",
"count": 1,
"station": "workbench",
"inputs": {
"hide": 4,
"fiber": 4
}
}
]
}