Add persistent destructible world structures and building kits
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user