prevents energy from ticking up whilst AI is culled
This commit is contained in:
parent
f2b58a3feb
commit
2887bb9736
6 changed files with 53 additions and 11 deletions
|
|
@ -301,6 +301,10 @@ pub fn spawn_named_mob(
|
|||
eb = eb.with(MoveMode { mode: Movement::Static });
|
||||
has_move_mode = true;
|
||||
}
|
||||
"RANDOM_PATH" => {
|
||||
eb = eb.with(MoveMode { mode: Movement::RandomWaypoint { path: None } });
|
||||
has_move_mode = true;
|
||||
}
|
||||
"MINDLESS" => {
|
||||
eb = eb.with(Faction { name: "mindless".to_string() });
|
||||
has_faction = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue