Add durable recipe discovery and profession crafting

This commit is contained in:
dingo
2026-09-09 13:28:07 -04:00
parent 940a345613
commit b65f3e8562
42 changed files with 2183 additions and 136 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ func TestOnlySuccessfulActionsGrantXP(t *testing.T) {
t.Fatal("failed gather gained XP")
}
c.View.Inventory["herb"] = 2
if err := w.Intent(id, p.Intent{Op: "craft", Seq: 11, Target: "bandage"}); err != nil {
if err := w.craft(c, "bandage"); err != nil {
t.Fatal(err)
}
before := c.View.Experience