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

Grief on Town: add Tombstone

This commit is contained in:
Jbleezy
2022-01-04 19:06:30 -08:00
parent d06ae403ae
commit 00d439badd
2 changed files with 15 additions and 11 deletions

View File

@ -229,6 +229,7 @@
* Moved Quick Revive to Stamin-Up's location on Town
* Moved Stamin-Up to its location on Tranzit
* Moved Tombstone Soda to the laundry room front door
* Grief: added Tombstone Soda
#### Farm
* Zombies spawn in the Farm zone when in the Barn zone

View File

@ -359,7 +359,7 @@ town_move_staminup_machine()
town_move_tombstone_machine()
{
if (!(level.scr_zm_ui_gametype == "zstandard" && level.scr_zm_map_start_location == "town"))
if (!(!is_classic() && level.scr_zm_map_start_location == "town"))
{
return;
}
@ -383,18 +383,21 @@ town_move_tombstone_machine()
return;
}
// delete old machine
vending_triggers = getentarray( "zombie_vending", "targetname" );
for (i = 0; i < vending_trigger.size; i++)
// delete old machine (only on Survival)
if(level.scr_zm_ui_gametype == "zstandard")
{
trig = vending_triggers[i];
if (IsDefined(trig.script_noteworthy) && trig.script_noteworthy == "specialty_scavenger")
vending_triggers = getentarray( "zombie_vending", "targetname" );
for (i = 0; i < vending_trigger.size; i++)
{
trig.clip delete();
trig.machine delete();
trig.bump delete();
trig delete();
break;
trig = vending_triggers[i];
if (IsDefined(trig.script_noteworthy) && trig.script_noteworthy == "specialty_scavenger")
{
trig.clip delete();
trig.machine delete();
trig.bump delete();
trig delete();
break;
}
}
}