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

MOTD: doors can no longer be purchased when entering afterlife

This commit is contained in:
Jbleezy
2023-05-31 06:31:15 -07:00
parent 158196dac0
commit cf14fd75ed
2 changed files with 7 additions and 0 deletions

View File

@ -638,6 +638,7 @@
* 1 afterlife max in solo
* Entering afterlife no longer takes 2 additional seconds if the player had Electric Cherry
* Spawn facing towards the afterlife player model when entering afterlife
* Doors can no longer be purchased when entering afterlife
* Afterlife player model has collision
* Key no longer shows on HUD
* Plane parts are shared in coop

View File

@ -88,6 +88,7 @@ init()
level.zombie_init_done = ::zombie_init_done;
level.special_weapon_magicbox_check = ::check_for_special_weapon_limit_exist;
level.custom_door_buy_check = ::door_buy_afterlife_check;
level.custom_laststand_func = scripts\zm\replaced\_zm_perk_electric_cherry::electric_cherry_laststand;
level.zombie_vars["below_world_check"] = -15000;
@ -181,6 +182,11 @@ check_for_special_weapon_limit_exist(weapon)
return 1;
}
door_buy_afterlife_check(door)
{
return [[level.is_player_valid_override]](self);
}
remove_acid_trap_player_spawn()
{
spawn_points = maps\mp\gametypes_zm\_zm_gametype::get_player_spawns_for_gametype();