roomIsStorage returns true if the room has the storage tag.
(room *rooms.Room)
| 245 | |
| 246 | // roomIsStorage returns true if the room has the storage tag. |
| 247 | func roomIsStorage(room *rooms.Room) bool { |
| 248 | return room.HasTag(storageTag) |
| 249 | } |
| 250 | |
| 251 | // GetStorageItems is exported for use by other systems (e.g. autocomplete). |
| 252 | func (m *StorageModule) GetStorageItems(userId int) []items.Item { |