Moondog, day 7 (21 Oct): crafting, an economy, and things that bite
12 commits, each one a system. This was the day Moondog went from gathering sim to something with stakes.
Refining and crafting
- Crusher and Smelter recipes, with new nodes to feed them: Bloodrock, Coal Seams and Greenrock.
- Crafting at stations: 20 crafting skills (the carpentry tree, masonry, blacksmithing, spinning, butchery, pottery, multi-tasking), 20 new items (wooden tools and weapons, pottery, metal heads, arrows, flax goods) and 17 recipes across the Sawmill, Kiln and Smelter. A job's quality is worked out when it starts, so finishing it never races the database.
Gold and NPCs
You earn gold by selling to vendors and spend it at trainers on extra job slots, up to four jobs running at once. NPCs use the same E-to-interact as nodes. Their name, dialogue, roles, stock and what they teach live in the database, so they can be edited without a rebuild.
Combat
The first combat pass, in phases:
- Creatures, spawners and attacks. Spawners keep a set number of creatures alive within a radius.
- Creature AI that notices you, closes in and attacks on a cooldown, then gives up and returns if you lead it too far.
- Death drops your pack. When you die, everything you weren't wearing goes into a pack on the ground and you respawn at your bind point. You go back for it.
- Equipment slots and weapon damage.
- The groundwork for taming: a creature at low health can be tamed.
Then four cleanup passes on top. The server now gets restarts right (no orphaned kills, correct respawn timers, a leash), clients can see creature positions and health, creature deaths drop loot, and a check script exercises the whole combat path end to end.