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

Origins: change Mystery Box trade weapon hint string

This commit is contained in:
Jbleezy
2023-04-01 01:05:05 -07:00
parent 9e09ec3752
commit 420e136d69
3 changed files with 30 additions and 0 deletions

View File

@ -410,6 +410,9 @@
* Changed player head chop damage to 50 (normally instantly kills without Juggernog or deals 15 damage with Juggernog)
* Changed player body chop damage to 25 (normally deals 75 damage to torso or 37 damage to feet)
### Blundergat Upgrade
* Buildable table trigger requires look at
### Maxis Drone
* Added hint strings for purchased, can only be one, and cooling down
* Buildable table model sits on top of the stand
@ -580,6 +583,7 @@
* Teleporters: placing gramophone activates The Crazy Place teleporters
* Teleporters: players face away from the teleporters when returning from The Crazy Place
* Teleporters: players can teleport while prone
* Mystery Box: uses the same trade weapon hint string as other maps
* Der Wunderfizz: increased cost from 1500 to 2500
* Der Wunderfizz: all perks have an equal chance of being obtained
* Rituals of the Ancients: spend points challenge reward changed from Double Tap perk to a random perk that the player does not have (perk does not change if reward is reopened)

View File

@ -379,4 +379,29 @@ recapture_round_start()
recapture_round_audio_ends();
flag_clear( "recapture_event_in_progress" );
flag_clear( "generator_under_attack" );
}
magic_box_stub_update_prompt( player )
{
self setcursorhint( "HINT_NOICON" );
if ( !self trigger_visible_to_player( player ) )
return false;
self.stub.hint_parm1 = undefined;
if ( isdefined( self.stub.trigger_target.grab_weapon_hint ) && self.stub.trigger_target.grab_weapon_hint )
self.stub.hint_string = &"ZOMBIE_TRADE_WEAPON";
else if ( !level.zone_capture.zones[self.stub.zone] ent_flag( "player_controlled" ) )
{
self.stub.hint_string = &"ZM_TOMB_ZC";
return false;
}
else
{
self.stub.hint_parm1 = self.stub.trigger_target.zombie_cost;
self.stub.hint_string = get_hint_string( self, "default_treasure_chest" );
}
return true;
}

View File

@ -46,6 +46,7 @@ main()
replaceFunc(maps\mp\zm_tomb_ee_main_step_3::ready_to_activate, scripts\zm\replaced\zm_tomb_ee_main_step_3::ready_to_activate);
replaceFunc(maps\mp\zm_tomb_ee_main_step_8::init, scripts\zm\replaced\zm_tomb_ee_main_step_8::init);
replaceFunc(maps\mp\zm_tomb_capture_zones::setup_capture_zones, scripts\zm\replaced\zm_tomb_capture_zones::setup_capture_zones);
replaceFunc(maps\mp\zm_tomb_capture_zones::magic_box_stub_update_prompt, scripts\zm\replaced\zm_tomb_capture_zones::magic_box_stub_update_prompt);
replaceFunc(maps\mp\zm_tomb_challenges::challenges_init, scripts\zm\replaced\zm_tomb_challenges::challenges_init);
replaceFunc(maps\mp\zm_tomb_craftables::init_craftables, scripts\zm\replaced\zm_tomb_craftables::init_craftables);
replaceFunc(maps\mp\zm_tomb_craftables::include_craftables, scripts\zm\replaced\zm_tomb_craftables::include_craftables);