From db7b138cb66a2b48492e457fdf0ae8cd65cc73db Mon Sep 17 00:00:00 2001 From: troido Date: Mon, 13 Apr 2020 13:13:04 +0200 Subject: volate replaced by grow --- src/room.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/room.rs') diff --git a/src/room.rs b/src/room.rs index afe617b..c0e2cd7 100644 --- a/src/room.rs +++ b/src/room.rs @@ -58,7 +58,6 @@ use crate::{ Trapping, Fight, Heal, - Volate, UpdateCooldowns, ControlAI, Die, @@ -73,7 +72,6 @@ use crate::{ pub fn default_dispatcher<'a, 'b>() -> Dispatcher<'a, 'b> { DispatcherBuilder::new() - .with(Volate, "volate", &[]) .with(Growth, "growth", &[]) .with(UpdateCooldowns, "cool_down", &[]) .with(Spawn, "spawn", &[]) @@ -90,7 +88,7 @@ pub fn default_dispatcher<'a, 'b>() -> Dispatcher<'a, 'b> { .with(Die, "die", &["attacking"]) .with(DropLoot, "droploot", &["attacking"]) .with(Building, "building", &["attacking"]) - .with(Migrate, "migrate", &["move", "attacking", "volate", "die"]) + .with(Migrate, "migrate", &["move", "attacking", "die"]) .build() } @@ -120,7 +118,7 @@ impl <'a, 'b>Room<'a, 'b> { 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, Volatile, ControlCooldown, Autofight, MonsterAI, Home, AttackInbox, Item, Spawner, Clan, Faction, Interactable, Loot, Grow, Equipment, TimeOffset, Flags, Ear, Build), + (Position, Visible, Controller, Movable, New, Removed, Moved, Player, Inventory, Health, Serialise, RoomExit, Entered, TriggerBox, Trap, Fighter, Healing, ControlCooldown, Autofight, MonsterAI, Home, AttackInbox, Item, Spawner, Clan, Faction, Interactable, Loot, Grow, Equipment, TimeOffset, Flags, Ear, Build), (Ground, Input, Output, Size, Spawn, Players, Emigration, Time) ); -- cgit