summaryrefslogtreecommitdiff
path: root/src/room.rs
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2020-04-01 14:31:28 +0200
committertroido <troido@protonmail.com>2020-04-01 14:31:28 +0200
commita911b7fabbaac429efd1747c3b1e925f679752f9 (patch)
tree3a6a3f0482e485a546cbf6ac87b1d131dc9cd718 /src/room.rs
parent1ceb4c6f23287bca98f0c3946d5678dce5d0457c (diff)
growing should theoretically work after room unloading
Diffstat (limited to 'src/room.rs')
-rw-r--r--src/room.rs9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/room.rs b/src/room.rs
index 983ba11..9df131a 100644
--- a/src/room.rs
+++ b/src/room.rs
@@ -122,7 +122,7 @@ impl <'a, 'b>Room<'a, 'b> {
world.insert(NewEntities::new(encyclopedia));
register_insert!(
world,
- (Position, Visible, Controller, Movable, Blocking, Floor, New, Removed, Moved, Player, Inventory, Health, Serialise, RoomExit, Entered, Dead, Trap, Fighter, Healing, Volatile, ControlCooldown, Autofight, MonsterAI, Home, Mortal, AttackInbox, Item, Spawner, Clan, Faction, Interactable, Loot, Grow, Equipment),
+ (Position, Visible, Controller, Movable, Blocking, Floor, New, Removed, Moved, Player, Inventory, Health, Serialise, RoomExit, Entered, Dead, Trap, Fighter, Healing, Volatile, ControlCooldown, Autofight, MonsterAI, Home, Mortal, AttackInbox, Item, Spawner, Clan, Faction, Interactable, Loot, Grow, Equipment, CreationTime),
(Ground, Input, Output, Size, Spawn, Players, Emigration, Time)
);
@@ -273,4 +273,11 @@ impl <'a, 'b>Room<'a, 'b> {
}
+#[cfg(test)]
+mod tests {
+
+
+
+}
+