summaryrefslogtreecommitdiff
path: root/src/room.rs
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2020-04-13 13:13:04 +0200
committertroido <troido@protonmail.com>2020-04-13 13:13:04 +0200
commitdb7b138cb66a2b48492e457fdf0ae8cd65cc73db (patch)
tree048e7931d0c7055ebdc7ce5b8f5083cc62154336 /src/room.rs
parent56f44d5898696d1af50f38009629384f8d38cb46 (diff)
volate replaced by grow
Diffstat (limited to 'src/room.rs')
-rw-r--r--src/room.rs6
1 files changed, 2 insertions, 4 deletions
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)
);