1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-10 07:08:06 -05:00

Grief on Bus Depot: local electric doors closed

This commit is contained in:
Jbleezy
2020-02-27 17:11:18 -08:00
parent 952710de8e
commit a96e77d5c7
2 changed files with 24 additions and 2 deletions

View File

@ -110,6 +110,9 @@
* Survival: replaced Galvaknuckles wallbuy with Claymore wallbuy
* Grief: added Claymore wallbuy
#### Bus Depot
* Grief: Turbine doors closed
### Die Rise
* Zombies no longer spawn in the Skyscraper Tower zone when in the Trample Steam zone
* Zombies no longer spawn in the zone next to the AN94 when in the AN94 zone while the debris is closed

View File

@ -95,6 +95,10 @@ post_all_players_spawned()
jetgun_remove_forced_weapon_switch();
jetgun_remove_drop_fn();
depot_grief_close_local_electric_doors();
town_move_staminup_machine();
slipgun_always_kill();
slipgun_disable_reslip();
@ -115,8 +119,6 @@ post_all_players_spawned()
level thread transit_power_local_electric_doors_globally();
level thread town_move_staminup_machine();
level thread prison_auto_refuel_plane();
level thread buried_deleteslothbarricades();
@ -1190,6 +1192,23 @@ transit_power_local_electric_doors_globally()
}
}
depot_grief_close_local_electric_doors()
{
if(!(level.scr_zm_ui_gametype == "zgrief" && level.scr_zm_map_start_location == "transit"))
{
return;
}
zombie_doors = getentarray( "zombie_door", "targetname" );
foreach (door in zombie_doors)
{
if ( isDefined( door.script_noteworthy ) && door.script_noteworthy == "local_electric_door" )
{
door delete();
}
}
}
town_move_staminup_machine()
{
if (!(!is_classic() && level.scr_zm_map_start_location == "town"))