mirror of
https://github.com/TemujinCalidius/SurvivorCore.git
synced 2026-08-14 09:02:29 +00:00
Closes the gather → craft loop and lays the no-code content layer. - Tool-swing harvesting (#1): equip a hotbar tool (a real Tool via the new ToolEquip bridge), click a node, server-validated hit (range / line-of-sight / equipped tool / cooldown) granting a per-hit random yield, blocking the hit when the inventory is full. Bare-hand hold-E kept. The engine's first client-input → RemoteEvent → server-validation pipeline (combat reuses it). A floating HP bar shows a node's remaining hits. - Hand crafting (#4): server-authoritative consume → produce with a complexity-scaled craft channel + a progress bar above the crafter; a Crafting tab lists hand recipes and gates each on what you carry. - No-code content (#11, Builder first slice): a Resources registry + a content-from-instances loader (Registry.loadFromFolder reads a SurvivorCoreContent folder at start), Gatherable binds to a named Resource, and a per-resource-type reaction API (reed sways, tree fells + leaves a stump). The admin plugin becomes one widget with Stats + Content tabs to create/edit items + gatherables, including "Add to World". New hooks: gather:blocked, craft:start / craft:end / craft:blocked. Docs + CHANGELOG. Engine stays content-free; the demo supplies the sample content. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>