1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-11 15:48:05 -05:00

Origins Quest: fix Ice Staff ceiling tiles upgrade step being active

This commit is contained in:
Jbleezy
2023-05-12 11:41:48 -07:00
parent 930583d7e2
commit 17070b65e6
2 changed files with 16 additions and 0 deletions

View File

@ -12,4 +12,19 @@ ice_puzzle_1_run()
{
level waittill( "elemental_staff_water_crafted", player );
flag_set( "staff_water_zm_upgrade_unlocked" );
}
ice_puzzle_1_init()
{
ice_tiles_randomize();
a_ceiling_tile_brushes = getentarray( "ice_ceiling_tile", "script_noteworthy" );
level.unsolved_tiles = a_ceiling_tile_brushes;
a_ice_ternary_digit_brushes = getentarray( "ice_chamber_digit", "targetname" );
foreach ( digit in a_ice_ternary_digit_brushes )
{
digit ghost();
digit notsolid();
}
}

View File

@ -48,6 +48,7 @@ main()
replaceFunc(maps\mp\zm_tomb_quest_air::air_puzzle_1_run, scripts\zm\replaced\zm_tomb_quest_air::air_puzzle_1_run);
replaceFunc(maps\mp\zm_tomb_quest_elec::electric_puzzle_1_run, scripts\zm\replaced\zm_tomb_quest_elec::electric_puzzle_1_run);
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_init, scripts\zm\replaced\zm_tomb_quest_ice::ice_puzzle_1_init);
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::all_staffs_inserted_in_puzzle_room, scripts\zm\replaced\zm_tomb_ee_main::all_staffs_inserted_in_puzzle_room);
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);