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

Borough: random Mystery Box start location

This commit is contained in:
Jbleezy
2021-12-31 18:58:27 -08:00
parent 3408771348
commit 2df333a0c1
2 changed files with 5 additions and 3 deletions

View File

@ -251,6 +251,7 @@
#### Borough
* Tunnels disabled
* Players spawn at Stables
* Mystery Box initially spawns at a random location
* Added B23R, M16, Claymore, and Bowie Knife wallbuys at their locations on Buried
* Added PDW wallbuy at Morgue
* Added SVU wallbuy at Church

View File

@ -41,17 +41,18 @@ street_treasure_chest_init()
{
start_chest = getstruct( "start_chest", "script_noteworthy" );
court_chest = getstruct( "courtroom_chest1", "script_noteworthy" );
//tunnel_chest = getstruct( "tunnels_chest1", "script_noteworthy" );
jail_chest = getstruct( "jail_chest1", "script_noteworthy" );
gun_chest = getstruct( "gunshop_chest", "script_noteworthy" );
setdvar( "disableLookAtEntityLogic", 1 );
level.chests = [];
level.chests[ level.chests.size ] = start_chest;
level.chests[ level.chests.size ] = court_chest;
//level.chests[ level.chests.size ] = tunnel_chest;
level.chests[ level.chests.size ] = jail_chest;
level.chests[ level.chests.size ] = gun_chest;
maps/mp/zombies/_zm_magicbox::treasure_chest_init( "start_chest" );
chest_names = array("start_chest", "courtroom_chest1", "jail_chest1", "gunshop_chest");
chest_name = random(chest_names);
maps/mp/zombies/_zm_magicbox::treasure_chest_init( chest_name );
}
main()