diff options
| author | troido <troido@protonmail.com> | 2021-12-30 21:20:46 +0100 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2021-12-30 21:20:46 +0100 |
| commit | 755ae8512bfe3ff39a55c22a958e15399e886c5f (patch) | |
| tree | 167b34f51071ee6ec915b787094c8dadef2d4dde /src/room.rs | |
| parent | d10d3e0368bd1178085ab8abd2ea24afe912b26f (diff) | |
entities can now have descriptions
Diffstat (limited to 'src/room.rs')
| -rw-r--r-- | src/room.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/room.rs b/src/room.rs index e629791..f6e2613 100644 --- a/src/room.rs +++ b/src/room.rs @@ -70,6 +70,7 @@ use crate::{ SpawnTrigger, Replace, SpawnCheck, + Describe } }; @@ -106,7 +107,7 @@ impl Room { world.insert(NewEntities::new(encyclopedia)); register_insert!( world, - (Position, Visible, Controller, Movable, New, Removed, Moved, Player, Inventory, Health, Serialise, RoomExit, Entered, TriggerBox, Trap, Fighter, Healing, ControlCooldown, Autofight, MonsterAI, AttackInbox, Item, Spawner, Clan, Faction, Interactable, Loot, Timer, TimeOffset, Flags, Ear, Build, Whitelist, Minable, LootHolder, OnSpawn, Substitute, Stats, Requirements), + (Position, Visible, Controller, Movable, New, Removed, Moved, Player, Inventory, Health, Serialise, RoomExit, Entered, TriggerBox, Trap, Fighter, Healing, ControlCooldown, Autofight, MonsterAI, AttackInbox, Item, Spawner, Clan, Faction, Interactable, Loot, Timer, TimeOffset, Flags, Ear, Build, Whitelist, Minable, LootHolder, OnSpawn, Substitute, Stats, Requirements, Description), (Ground, Input, Output, Size, Spawn, Players, Emigration, Time, RoomFlags) ); @@ -156,6 +157,7 @@ impl Room { SpawnCheck.run_now(&self.world); ControlInput.run_now(&self.world); ControlAI.run_now(&self.world); + Describe.run_now(&self.world); Take.run_now(&self.world); Use.run_now(&self.world); Interact.run_now(&self.world); |
