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

Origins: solo doors cost same as coop

This commit is contained in:
Jbleezy
2020-03-03 01:06:29 -08:00
parent 026f4704c5
commit eaea9c38f1
2 changed files with 34 additions and 0 deletions

View File

@ -153,6 +153,7 @@
* Moved Stamin-Up to Vulture Aid's location on Buried * Moved Stamin-Up to Vulture Aid's location on Buried
### Origins ### Origins
* Door prices in solo now cost the same as in coop
* Shovels automatically picked up * Shovels automatically picked up
* Gramophone and records automatically picked up * Gramophone and records automatically picked up
* Der Wunderfizz: all perks have an equal chance of being obtained * Der Wunderfizz: all perks have an equal chance of being obtained

View File

@ -137,6 +137,7 @@ post_all_players_spawned()
level thread wallbuy_dynamic_increase_trigger_radius(); level thread wallbuy_dynamic_increase_trigger_radius();
level thread tomb_increase_solo_door_prices();
level thread tomb_remove_shovels_from_map(); level thread tomb_remove_shovels_from_map();
level thread tomb_zombie_blood_dig_changes(); level thread tomb_zombie_blood_dig_changes();
@ -1887,6 +1888,38 @@ borough_move_staminup_machine()
use_trigger thread maps/mp/zombies/_zm_perks::electric_perks_dialog(); use_trigger thread maps/mp/zombies/_zm_perks::electric_perks_dialog();
} }
tomb_increase_solo_door_prices()
{
if(!(is_classic() && level.scr_zm_map_start_location == "tomb"))
{
return;
}
flag_wait( "initial_blackscreen_passed" );
if ( isDefined( level.is_forever_solo_game ) && level.is_forever_solo_game )
{
a_door_buys = getentarray( "zombie_door", "targetname" );
array_thread( a_door_buys, ::door_price_increase_for_solo );
a_debris_buys = getentarray( "zombie_debris", "targetname" );
array_thread( a_debris_buys, ::door_price_increase_for_solo );
}
}
door_price_increase_for_solo()
{
self.zombie_cost += 250;
if ( self.targetname == "zombie_door" )
{
self set_hint_string( self, "default_buy_door", self.zombie_cost );
}
else
{
self set_hint_string( self, "default_buy_debris", self.zombie_cost );
}
}
tomb_remove_weighted_random_perks() tomb_remove_weighted_random_perks()
{ {
if(!(is_classic() && level.scr_zm_map_start_location == "tomb")) if(!(is_classic() && level.scr_zm_map_start_location == "tomb"))