Add persistent destructible world structures and building kits

This commit is contained in:
dingo
2026-09-09 22:46:06 -04:00
parent c2bef2a45f
commit e80064976a
36 changed files with 932 additions and 43 deletions
+5
View File
@@ -31,6 +31,11 @@ func (w *World) AdminItems(c *Character, op, value string) error {
}
if op == "grant-item" {
known := false
for key := range (content.Catalog{Building: w.Balance.Building}).BuildingItems() {
if key == id {
known = true
}
}
for key := range (content.Catalog{Powers: w.Balance.Powers}).PowerItems() {
if key == id {
known = true