Add durable recipe discovery and profession crafting
This commit is contained in:
@@ -129,6 +129,11 @@ func (c Catalog) validateCombat() error {
|
||||
attacks[a.ID] = true
|
||||
}
|
||||
items := map[string]bool{}
|
||||
if c.Crafting != nil {
|
||||
for _, m := range c.Crafting.Materials {
|
||||
items[m.ID] = true
|
||||
}
|
||||
}
|
||||
for _, id := range []string{"axe", "flint_and_steel", "fishing_pole", "wood", "ore", "herb", "bandage", "escape_stone"} {
|
||||
items[id] = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user