Add terrain biomes jumping and extensible gathering professions

This commit is contained in:
dingo
2026-09-08 21:54:23 -04:00
parent 141cb9e6b2
commit df7b245ca7
34 changed files with 1895 additions and 184 deletions
+12
View File
@@ -30,6 +30,18 @@ func (w *World) AdminItems(c *Character, op, value string) error {
}
if op == "grant-item" {
known := false
if w.Balance.Gathering != nil {
for _, r := range w.Balance.Gathering.Resources {
if r.Output == "self" && r.ID == id {
known = true
}
}
for _, v := range w.Balance.Gathering.Consumables {
if v.ID == id {
known = true
}
}
}
for _, key := range []string{"axe", "flint_and_steel", "fishing_pole", "wood", "ore", "herb", "bandage"} {
if key == id {
known = true