2021-02-25 15:17:52 -08:00

39 lines
1.2 KiB
Plaintext

//checked includes match cerberus output
#include maps/mp/zombies/_zm_magicbox;
#include maps/mp/zombies/_zm_game_module;
#include maps/mp/gametypes_zm/_zm_gametype;
#include maps/mp/zm_tomb_craftables;
#include maps/mp/zombies/_zm_craftables;
#include maps/mp/zombies/_zm_utility;
#include common_scripts/utility;
#include maps/mp/_utility;
precache() //checked matches cerberus output
{
if ( is_true( level.createfx_enabled ) )
{
return;
}
maps/mp/zombies/_zm_craftables::init();
maps/mp/zm_tomb_craftables::randomize_craftable_spawns();
maps/mp/zm_tomb_craftables::include_craftables();
maps/mp/zm_tomb_craftables::init_craftables();
}
main() //checked matches cerberus output
{
maps/mp/gametypes_zm/_zm_gametype::setup_standard_objects( "tomb" );
maps/mp/zombies/_zm_game_module::set_current_game_module( level.game_module_standard_index );
level thread maps/mp/zombies/_zm_craftables::think_craftables();
flag_wait( "initial_blackscreen_passed" );
}
zm_treasure_chest_init() //checked matches cerberus output
{
chest1 = getstruct( "start_chest", "script_noteworthy" );
level.chests = [];
level.chests[ level.chests.size ] = chest1;
maps/mp/zombies/_zm_magicbox::treasure_chest_init( "start_chest" );
}