require 'utils.data_stages' _LIFECYCLE = _STAGE.control -- Control stage _DEBUG = false _DUMP_ENV = false server_commands = require 'utils.server' require "utils.server_commands" require "utils.utils" require "utils.corpse_util" --disable for hunger games require "utils.color_data" require "utils.session_data" require "chatbot" require "commands" require "antigrief" require "antigrief_admin_panel" require "group" require "player_list" require "poll" require "score" require "modules.floaty_chat" --require "on_tick_schedule" ---- enable modules here ---- --require "tools.cheat_mode" --require "modules.the_floor_is_lava" --require "modules.autodecon_when_depleted" --require "modules.biter_noms_you" --require "modules.biters_avoid_damage" --require "modules.biters_double_damage" --require "modules.burden" --require "modules.comfylatron" --require "modules.spaghett_challenge" --require "modules.dangerous_goods" --require "modules.dynamic_landfill" --require "modules.explosive_biters" --require "modules.explosive_player_respawn" --require "modules.explosives_are_explosive" --require "modules.fish_respawner" --require "modules.fluids_are_explosive" --require "modules.hunger" --require "modules.hunger_games" --require "modules.players_trample_paths" --require "modules.railgun_enhancer" --require "modules.restrictive_fluid_mining" --require "modules.satellite_score" --require "modules.show_health" --require "modules.splice_double" --require "modules.team_teleport" --(REQUIRES "on_tick_schedule" !) --require "modules.surrounded_by_worms" --require "modules.more_attacks" --require "modules.evolution_extended" ----------------------------- ---- enable maps here ---- --require "maps.tank_conquest.tank_conquest" --require "maps.territorial_control" --require "maps.cave_choppy.cave_miner" --require "maps.biter_battles_v2.biter_battles_v2" --require "maps.biter_battles.biter_battles" --require "maps.fish_defender.fish_defender" --require "maps.wave_of_death.WoD" --require "maps.stone_maze.main" --require "maps.cave_miner" require "maps.rocky_waste" --require "maps.labyrinth" --require "maps.junkyard" --require "maps.spooky_forest" --require "maps.mixed_railworld" --require "maps.nightfall" --require "maps.lost" --require "maps.hedge_maze" --require "maps.rivers" --require "maps.atoll" --require "maps.rainbow_road" --require "maps.cratewood_forest" --require "maps.choppy" --require "maps.tank_battles" --require "maps.spiral_troopers" --require "maps.mountain_fortress" --require "maps.stoneblock" --require "maps.deep_jungle" --require "maps.crossing" --require "maps.anarchy" --require "maps.spaghettorio" --require "maps.blue_beach" --require "maps.lost_desert" --require "maps.cube" --require "maps.empty_map" --require "maps.custom_start" ----------------------------- local event = require 'utils.event' if _DUMP_ENV then require 'utils.dump_env' end if _DEBUG then require 'utils.debug.command' end local function on_player_created(event) local player = game.players[event.player_index] player.gui.top.style = 'slot_table_spacing_horizontal_flow' player.gui.left.style = 'slot_table_spacing_vertical_flow' end local function on_init() game.forces.player.research_queue_enabled = true end local loaded = _G.package.loaded function require(path) return loaded[path] or error('Can only require files at runtime that have been required in the control stage.', 2) end event.on_init(on_init) event.add(defines.events.on_player_created, on_player_created)