mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-07 21:59:49 -05:00
Origins: decreased soul box kill requirement
This commit is contained in:
parent
6bbed72cce
commit
d9da99e0a0
@ -125,4 +125,5 @@
|
|||||||
### Origins
|
### Origins
|
||||||
* Shovels automatically picked up
|
* Shovels automatically picked up
|
||||||
* Gramophone and records automatically picked up
|
* Gramophone and records automatically picked up
|
||||||
* Der Wunderfizz: all perks have an equal chance of being obtained
|
* Der Wunderfizz: all perks have an equal chance of being obtained
|
||||||
|
* Soul boxes: decreased kill requirement from 30 to 20
|
@ -93,6 +93,8 @@ post_all_players_spawned()
|
|||||||
|
|
||||||
buried_turn_power_on();
|
buried_turn_power_on();
|
||||||
|
|
||||||
|
tomb_soul_box_changes();
|
||||||
|
|
||||||
//disable_pers_upgrades(); // TODO
|
//disable_pers_upgrades(); // TODO
|
||||||
|
|
||||||
level thread buildbuildables();
|
level thread buildbuildables();
|
||||||
@ -1411,17 +1413,37 @@ tomb_give_shovel()
|
|||||||
level setclientfield( "shovel_player" + n_player, 1 );
|
level setclientfield( "shovel_player" + n_player, 1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
test()
|
tomb_soul_box_changes()
|
||||||
{
|
{
|
||||||
while (!IsDefined(level.staminup_struct))
|
if(!(is_classic() && level.scr_zm_map_start_location == "tomb"))
|
||||||
{
|
{
|
||||||
wait 0.05;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a_boxes = getentarray( "foot_box", "script_noteworthy" );
|
||||||
|
array_thread( a_boxes, ::tomb_soul_box_decrease_kill_requirement );
|
||||||
|
}
|
||||||
|
|
||||||
|
tomb_soul_box_decrease_kill_requirement()
|
||||||
|
{
|
||||||
|
self endon( "box_finished" );
|
||||||
|
|
||||||
|
while (1)
|
||||||
|
{
|
||||||
|
self waittill( "soul_absorbed" );
|
||||||
|
|
||||||
|
wait 0.05;
|
||||||
|
|
||||||
|
self.n_souls_absorbed += 10;
|
||||||
|
|
||||||
|
self waittill( "robot_foot_stomp" );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
test()
|
||||||
|
{
|
||||||
while(1)
|
while(1)
|
||||||
{
|
{
|
||||||
iprintlnbold("distance: " + Distance(self.origin, level.staminup_struct.origin));
|
|
||||||
|
|
||||||
wait 1;
|
wait 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user