1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-13 00:28:03 -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 Quick Revive to Stamin-Up's location on Town
* Moved Stamin-Up to its location on Tranzit * Moved Stamin-Up to its location on Tranzit
* Moved Tombstone Soda to the laundry room front door * Moved Tombstone Soda to the laundry room front door
* Grief: added Tombstone Soda
#### Farm #### Farm
* Zombies spawn in the Farm zone when in the Barn zone * 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() 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; return;
} }
@ -383,18 +383,21 @@ town_move_tombstone_machine()
return; return;
} }
// delete old machine // delete old machine (only on Survival)
vending_triggers = getentarray( "zombie_vending", "targetname" ); if(level.scr_zm_ui_gametype == "zstandard")
for (i = 0; i < vending_trigger.size; i++)
{ {
trig = vending_triggers[i]; vending_triggers = getentarray( "zombie_vending", "targetname" );
if (IsDefined(trig.script_noteworthy) && trig.script_noteworthy == "specialty_scavenger") for (i = 0; i < vending_trigger.size; i++)
{ {
trig.clip delete(); trig = vending_triggers[i];
trig.machine delete(); if (IsDefined(trig.script_noteworthy) && trig.script_noteworthy == "specialty_scavenger")
trig.bump delete(); {
trig delete(); trig.clip delete();
break; trig.machine delete();
trig.bump delete();
trig delete();
break;
}
} }
} }