mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-02-09 13:37:02 +02:00
comfy panel tabs fix for spectators
This commit is contained in:
parent
d920970921
commit
d1d8f60d67
@ -1,3 +1,4 @@
|
||||
local bb_config = require "maps.biter_battles_v2.config"
|
||||
local event = require 'utils.event'
|
||||
local math_random = math.random
|
||||
local ai = {}
|
||||
|
@ -1,6 +1,6 @@
|
||||
--BITER BATTLES CONFIG--
|
||||
|
||||
bb_config = {
|
||||
local bb_config = {
|
||||
--TEAM SETTINGS--
|
||||
["team_balancing"] = true, --Should players only be able to join a team that has less or equal members than the opposing team?
|
||||
["only_admins_vote"] = false, --Are only admins able to vote on the global difficulty?
|
||||
@ -29,3 +29,5 @@ bb_config = {
|
||||
["biter_timeout"] = 54000, --Time it takes in ticks for an attacking unit to be deleted. This prevents perma stuck units.
|
||||
["bitera_area_distance"] = 416 --Distance to the biter area.
|
||||
}
|
||||
|
||||
return bb_config
|
@ -1,3 +1,4 @@
|
||||
local bb_config = require "maps.biter_battles_v2.config"
|
||||
local event = require 'utils.event'
|
||||
local Server = require 'utils.server'
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
local bb_config = require "maps.biter_battles_v2.config"
|
||||
|
||||
local food_values = {
|
||||
["automation-science-pack"] = {value = 0.001, name = "automation science", color = "255, 50, 50"},
|
||||
["logistic-science-pack"] = {value = 0.003, name = "logistic science", color = "50, 255, 50"},
|
||||
|
@ -1,3 +1,4 @@
|
||||
local bb_config = require "maps.biter_battles_v2.config"
|
||||
local event = require 'utils.event'
|
||||
local spy_fish = require "maps.biter_battles_v2.spy_fish"
|
||||
local feed_the_biters = require "maps.biter_battles_v2.feeding"
|
||||
|
@ -1,8 +1,7 @@
|
||||
-- Biter Battles v2 -- by MewMew
|
||||
|
||||
require 'utils.table'
|
||||
require "on_tick_schedule"
|
||||
require "maps.biter_battles_v2.config"
|
||||
local bb_config = require "maps.biter_battles_v2.config"
|
||||
require "modules.spawners_contain_biters"
|
||||
require "modules.mineable_wreckage_yields_scrap"
|
||||
|
||||
@ -113,10 +112,13 @@ local function init_forces()
|
||||
defines.input_action.activate_paste,
|
||||
defines.input_action.clean_cursor_stack,
|
||||
defines.input_action.edit_permission_group,
|
||||
defines.input_action.gui_checked_state_changed,
|
||||
defines.input_action.gui_click,
|
||||
defines.input_action.gui_confirmed,
|
||||
defines.input_action.gui_elem_changed,
|
||||
defines.input_action.gui_location_changed,
|
||||
defines.input_action.gui_selected_tab_changed,
|
||||
defines.input_action.gui_selection_state_changed,
|
||||
defines.input_action.gui_switch_state_changed,
|
||||
defines.input_action.gui_text_changed,
|
||||
defines.input_action.gui_value_changed,
|
||||
defines.input_action.open_character_gui,
|
||||
@ -126,6 +128,7 @@ local function init_forces()
|
||||
defines.input_action.toggle_show_entity_info,
|
||||
defines.input_action.write_to_console,
|
||||
}
|
||||
|
||||
for _, d in pairs(defs) do p.set_allows_action(d, true) end
|
||||
|
||||
global.rocket_silo = {}
|
||||
@ -200,4 +203,4 @@ require "maps.biter_battles_v2.chat"
|
||||
require "maps.biter_battles_v2.bb_map_intro"
|
||||
require "maps.biter_battles_v2.difficulty_vote"
|
||||
require "maps.biter_battles_v2.team_manager"
|
||||
require "modules.custom_death_messages"
|
||||
require "modules.custom_death_messages"
|
@ -1,3 +1,4 @@
|
||||
local bb_config = require "maps.biter_battles_v2.config"
|
||||
local event = require 'utils.event'
|
||||
|
||||
local function set_chunk_coords_old(radius)
|
||||
|
@ -1,3 +1,4 @@
|
||||
local bb_config = require "maps.biter_battles_v2.config"
|
||||
local event = require 'utils.event'
|
||||
local Server = require 'utils.server'
|
||||
local math_random = math.random
|
||||
|
Loading…
x
Reference in New Issue
Block a user