refactor(vagrant): v0.17.0 — extract Stone-Age content to content/stone_age.lua (T1-modder content packs via content facade)

This commit is contained in:
calic
2026-07-28 12:01:45 +00:00
parent ff9d50937d
commit e9085c0317
4 changed files with 163 additions and 228 deletions

View File

@@ -8,11 +8,20 @@ callback, foot-body-orientation ("tactical twist"), scale-deformation walk
cycle, and inheritance-decoupled foot sprites. End-to-end inventory pickup/drop
demo: pick up a rock into a backpack container, drop it back into the world.
**Version:** 0.16.0
**Version:** 0.17.0
**Module-ID:** vagrant-skeleton
**Requires:** lib-core.input >=0.4.0, lib-core.camera >=0.3.0, lib-core.render >=0.2.0, lib-core.maps >=0.1.2, lib-core.puppet >=0.4.4, lib-core.interaction >=0.1.0, lib-core.composition >=0.3.0, lib-core.actor >=0.1.0, lib-core.inventory-list >=0.1.0, lib-core.panel >=0.2.0, lib-core.inventory-list-display >=0.1.0, lib-core.notify >=0.1.0, lib-core.notify-display >=0.1.0, lib-core.world-overlay >=0.1.0, lib-core.crafting >=0.3.0, lib-core.crafting-display >=0.2.0, lib-asset.prototype-subterrain >=0.2.0, lib-asset.prototype-tc-basics >=0.1.0
**Tags:** test-chamber, puppet, walking-sim, interaction
> **v0.17.0:** **T1-modder content packs.** Stone-Age items + recipes + world-
> spawns moved OUT of `init.lua` into `content/stone_age.lua` — pure declarative
> data (`c.T{}` item, `c.R{}` recipe, `c.S{}` spawn), loaded via a content facade
> in `init.lua` (`engine.module.dir_of` + `dofile`, the sanctioned multi-file
> pattern). `c.T` auto-registers each craftable's crafting-panel icon from its
> sprite. A T1 modder now adds/edits Stone-Age content by touching only the pack
> file, never engine wiring. Behaviour is unchanged (regression-verified); also
> fixes crafted `sharp_stone` rendering (was a "?" placeholder before).
>
> **v0.16.0:** Stone-Age tech chain — a self-bootstrapping crafting graph on
> the v0.3 API. `knap_sharp_stone` (rock → sharp_stone, bare-handed) yields a
> cutting tool that feeds BOTH `saw_planks` (as the non-consumed tool) AND