1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-24 03:47:58 +02:00
ComfyFactorio/control.lua

62 lines
1.8 KiB
Lua
Raw Normal View History

2018-09-19 06:51:25 +02:00
require "utils.utils"
2019-02-09 02:57:01 +01:00
require "utils.corpse_util"
2018-09-24 20:54:20 +02:00
require "bot"
2018-12-18 09:42:37 +01:00
require "chatbot"
2019-02-14 15:44:12 +01:00
require "commands"
2018-09-19 06:51:25 +02:00
require "session_tracker"
require "antigrief"
2018-11-18 14:18:43 +01:00
require "antigrief_admin_panel"
2018-09-19 06:51:25 +02:00
require "group"
require "player_list"
require "poll"
2019-02-09 02:57:01 +01:00
require "score"
2018-09-29 19:01:13 +02:00
---- enable modules here ----
2018-12-23 09:46:10 +01:00
--require "maps.tools.map_pregen"
2019-02-10 05:47:52 +01:00
--require "maps.tools.cheat_mode"
2019-01-04 01:28:14 +01:00
--require "maps.modules.hunger"
--require "maps.modules.fish_respawner"
2019-01-04 01:28:14 +01:00
--require "maps.modules.rocket_launch_always_yields_science"
2019-01-18 09:22:15 +01:00
--require "maps.modules.launch_fish_to_win"
--require "maps.modules.satellite_score"
2018-12-28 00:23:38 +01:00
--require "maps.modules.restrictive_fluid_mining"
2019-01-08 03:39:37 +01:00
--require "maps.modules.fluids_are_explosive"
2018-12-30 21:37:32 +01:00
--require "maps.modules.explosives_are_explosive"
2019-01-14 02:03:54 +01:00
--require "maps.modules.explosive_biters"
--require "maps.modules.railgun_enhancer"
2019-02-05 08:42:45 +01:00
--require "maps.modules.dynamic_landfill"
2019-02-11 01:29:20 +01:00
--require "maps.modules.players_trample_paths"
2019-02-09 02:57:01 +01:00
--require "maps.modules.hunger_games"
-----------------------------
2018-09-19 06:51:25 +02:00
2018-09-29 11:39:36 +02:00
---- enable maps here ----
2019-02-19 04:31:55 +01:00
--require "maps.biter_battles"
2019-01-08 03:39:37 +01:00
--require "maps.cave_miner"
2018-12-06 23:11:16 +01:00
--require "maps.labyrinth"
2019-01-15 02:32:05 +01:00
--require "maps.spooky_forest"
2019-01-04 09:06:26 +01:00
--require "maps.nightfall"
2018-12-31 01:55:18 +01:00
--require "maps.atoll"
--require "maps.tank_battles"
2018-11-02 01:05:35 +01:00
--require "maps.spiral_troopers"
2019-02-11 01:29:20 +01:00
--require "maps.fish_defender"
2019-02-19 04:31:55 +01:00
require "maps.mountain_fortress"
2019-02-16 17:46:57 +01:00
--require "maps.stoneblock"
2019-02-14 15:44:12 +01:00
--require "maps.deep_jungle"
2018-11-16 08:13:08 +01:00
--require "maps.crossing"
--require "maps.anarchy"
2019-01-29 17:30:53 +01:00
--require "maps.railworld"
2018-12-31 01:55:18 +01:00
--require "maps.spaghettorio"
--require "maps.lost_desert"
2019-02-05 08:42:45 +01:00
--require "maps.empty_map"
--require "maps.custom_start"
2018-09-19 06:51:25 +02:00
-----------------------------
2019-02-14 15:44:12 +01:00
local event = require 'utils.event'
2018-09-19 06:51:25 +02:00
2018-12-18 09:42:37 +01:00
local function on_player_created(event)
2018-09-19 06:51:25 +02:00
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
2019-02-14 15:44:12 +01:00
event.add(defines.events.on_player_created, on_player_created)