Add housing storage, guest permissions, and timed key destruction
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user