Add housing storage, guest permissions, and timed key destruction

This commit is contained in:
dingo
2026-09-10 05:47:22 -04:00
parent 454f3300ca
commit 6903d5ece8
41 changed files with 2386 additions and 183 deletions
+3
View File
@@ -75,6 +75,9 @@ func (w *World) AdminItems(c *Character, op, value string) error {
}
return w.grantItems(c, id, n)
}
if item := ownedItem(c, id); item != nil && item.HouseID != nil {
return errors.New("house keys require the holder's three-second destruction action")
}
if op != "remove-item" {
return errors.New("unknown item operation")
}