mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-22 21:20:15 -05:00
36 lines
1.0 KiB
Plaintext
36 lines
1.0 KiB
Plaintext
#include maps\mp\_utility;
|
|
#include common_scripts\utility;
|
|
#include maps\mp\zombies\_zm_utility;
|
|
|
|
#include scripts/zm/replaced/zm_transit;
|
|
#include scripts/zm/replaced/_zm_weap_emp_bomb;
|
|
#include scripts/zm/replaced/_zm_equip_electrictrap;
|
|
#include scripts/zm/replaced/_zm_equip_turret;
|
|
|
|
main()
|
|
{
|
|
replaceFunc(maps/mp/zm_transit::lava_damage_depot, scripts/zm/replaced/zm_transit::lava_damage_depot);
|
|
replaceFunc(maps/mp/zombies/_zm_weap_emp_bomb::emp_detonate, scripts/zm/replaced/_zm_weap_emp_bomb::emp_detonate);
|
|
replaceFunc(maps/mp/zombies/_zm_equip_electrictrap::startelectrictrapdeploy, scripts/zm/replaced/_zm_equip_electrictrap::startelectrictrapdeploy);
|
|
replaceFunc(maps/mp/zombies/_zm_equip_turret::startturretdeploy, scripts/zm/replaced/_zm_equip_turret::startturretdeploy);
|
|
}
|
|
|
|
init()
|
|
{
|
|
level.grenade_safe_to_bounce = ::grenade_safe_to_bounce;
|
|
}
|
|
|
|
grenade_safe_to_bounce( player, weapname )
|
|
{
|
|
if ( !is_offhand_weapon( weapname ) )
|
|
{
|
|
return 1;
|
|
}
|
|
|
|
if ( self maps/mp/zm_transit_lava::object_touching_lava() )
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
return 1;
|
|
} |