From ba2a940e4fece0c4825c5bf80fc84713de7ce294 Mon Sep 17 00:00:00 2001 From: Jbleezy Date: Thu, 2 Mar 2023 18:36:27 -0800 Subject: [PATCH] Origins quest: rain fire button no longer deactivates --- README.md | 1 + .../zm/replaced/zm_tomb_ee_main_step_3.gsc | 19 +++++++++++++++++++ scripts/zm/zm_tomb/zm_tomb_reimagined.gsc | 1 + 3 files changed, 21 insertions(+) create mode 100644 scripts/zm/replaced/zm_tomb_ee_main_step_3.gsc diff --git a/README.md b/README.md index 2a339fb1..667c5cb5 100644 --- a/README.md +++ b/README.md @@ -460,6 +460,7 @@ * Perk bottle dig spots: increased number of rounds for next dig spot to spawn from 1 to 4 * Ascend from darkness quest step: staffs can be placed at any staff holder * Ascend from darkness quest step: fixed an issue where staffs were able to be picked up at their build location when placed in the staff holders +* Rain fire quest step: button no longer deactivates ## Game Modes diff --git a/scripts/zm/replaced/zm_tomb_ee_main_step_3.gsc b/scripts/zm/replaced/zm_tomb_ee_main_step_3.gsc new file mode 100644 index 00000000..45bedc47 --- /dev/null +++ b/scripts/zm/replaced/zm_tomb_ee_main_step_3.gsc @@ -0,0 +1,19 @@ +#include common_scripts\utility; +#include maps\mp\_utility; +#include maps\mp\zombies\_zm_utility; +#include maps\mp\zombies\_zm_sidequests; +#include maps\mp\zm_tomb_ee_main; +#include maps\mp\zombies\_zm_unitrigger; +#include maps\mp\zm_tomb_ee_main_step_3; + +fire_link_cooldown( t_button ) +{ + level notify( "fire_link_cooldown" ); + level endon( "fire_link_cooldown" ); + flag_set( "fire_link_enabled" ); + + if ( isdefined( t_button ) ) + { + t_button playsound( "vox_maxi_robot_activated_0" ); + } +} \ No newline at end of file diff --git a/scripts/zm/zm_tomb/zm_tomb_reimagined.gsc b/scripts/zm/zm_tomb/zm_tomb_reimagined.gsc index 61ce33ae..aeb51ef7 100644 --- a/scripts/zm/zm_tomb/zm_tomb_reimagined.gsc +++ b/scripts/zm/zm_tomb/zm_tomb_reimagined.gsc @@ -21,6 +21,7 @@ main() replaceFunc(maps\mp\zm_tomb_quest_fire::fire_puzzle_1_run, scripts\zm\replaced\zm_tomb_quest_fire::fire_puzzle_1_run); replaceFunc(maps\mp\zm_tomb_quest_ice::ice_puzzle_1_run, scripts\zm\replaced\zm_tomb_quest_ice::ice_puzzle_1_run); replaceFunc(maps\mp\zm_tomb_ee_main_step_2::create_robot_head_trigger, scripts\zm\replaced\zm_tomb_ee_main_step_2::create_robot_head_trigger); + replaceFunc(maps\mp\zm_tomb_ee_main_step_3::fire_link_cooldown, scripts\zm\replaced\zm_tomb_ee_main_step_3::fire_link_cooldown); replaceFunc(maps\mp\zm_tomb_craftables::is_unclaimed_staff_weapon, scripts\zm\replaced\zm_tomb_craftables::is_unclaimed_staff_weapon); replaceFunc(maps\mp\zm_tomb_craftables::quadrotor_control_thread, scripts\zm\replaced\zm_tomb_craftables::quadrotor_control_thread); replaceFunc(maps\mp\zm_tomb_dig::increment_player_perk_purchase_limit, scripts\zm\replaced\zm_tomb_dig::increment_player_perk_purchase_limit);