1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-03-17 20:58:13 +02:00
This commit is contained in:
MewMew 2020-01-19 10:31:16 +01:00
parent 02f907f970
commit b5893c9b85
6 changed files with 13 additions and 9 deletions

View File

@ -20,7 +20,6 @@ function Public.get_tabs(data)
return comfy_panel_tabs
end
function Public.comfy_panel_clear_left_gui(player)
for _, child in pairs(player.gui.left.children) do
child.visible = false

View File

@ -60,6 +60,7 @@ require "modules.autostash"
--require "modules.explosives"
--require "modules.biter_pets"
--require "modules.no_solar"
--require "modules.biter_reanimator"
--require "modules.wave_defense.main"
--require "modules.fjei.main"
-----------------------------
@ -76,6 +77,7 @@ require "modules.autostash"
--require "maps.territorial_control"
--require "maps.cave_choppy.cave_miner"
--require "maps.wave_of_death.WoD"
--require "maps.planet_prison"
--require "maps.stone_maze.main"
--require "maps.choppy"
--require "maps.overgrowth"
@ -111,7 +113,6 @@ require "modules.autostash"
--require "maps.rainbow_road"
--require "maps.cube"
--require "maps.forest_circle"
--require "maps.planet_prison"
-----------------------------
---- more modules here ----

View File

@ -1,5 +1,5 @@
--require "modules.no_turrets"
require "maps.biter_hatchery.flamethrower_nerf"
require "modules.no_turrets"
--require "maps.biter_hatchery.flamethrower_nerf"
local RPG = require "modules.rpg"
local Tabs = require 'comfy_panel.main'
local Map_score = require "modules.map_score"
@ -27,7 +27,7 @@ local map_gen_settings = {
},
}
local m = 5
local m = 2
local health_boost_food_values = {
["automation-science-pack"] = 0.000001 * m,
["logistic-science-pack"] = 0.000003 * m,
@ -388,7 +388,7 @@ local function on_init()
local T = Map.Pop_info()
T.main_caption = "Biter Hatchery"
T.sub_caption = "..nibble nibble nom nom.."
T.sub_caption = "*nibble nibble nom nom*"
T.text = table.concat({
"Defeat the enemy teams nest.\n",
"Feed your hatchery science flasks to breed biters!\n",
@ -397,7 +397,7 @@ local function on_init()
"Lay transport belts to your hatchery and they will happily nom the juice off the conveyor.\n",
"Higher tier flasks will breed stronger biters!\n",
"\n",
--"Player turrets are disabled.\n",
"Player turrets are disabled.\n",
"Feeding may spawn friendly worm turrets.\n",
"The center river may not be crossed.\n",
"Construction robots may not build over the river.\n",

View File

@ -1,6 +1,6 @@
-- fish defender -- by mewmew --
require "modules.rpg"
--require "modules.rpg"
require "maps.fish_defender.terrain"
require "maps.fish_defender.market"

View File

@ -132,12 +132,14 @@ local function refresh_market_offers()
if not global.vehicle_nanobots_unlocked then
global.market.add_market_item({price = {{"coin", 15000}}, offer = {type = 'nothing', effect_description = special_descriptions["vehicle-nanobots"]}})
end
--[[
if not global.crumbly_walls_unlocked then
global.market.add_market_item({price = {{"coin", 35000}}, offer = {type = 'nothing', effect_description = special_descriptions["crumbly-walls"]}})
end
end
if not global.ultra_mines_unlocked then
global.market.add_market_item({price = {{"coin", 45000}}, offer = {type = 'nothing', effect_description = special_descriptions["ultra-mines"]}})
end
]]
if not global.laser_pointer_unlocked then
global.market.add_market_item({price = {{"coin", 65000}}, offer = {type = 'nothing', effect_description = special_descriptions["laser-pointer"]}})
end

View File

@ -43,6 +43,8 @@ local function set_difficulty()
local wave_defense_table = WD.get_table()
local player_count = #game.connected_players
wave_defense_table.max_active_biters = 1024
-- threat gain / wave
wave_defense_table.threat_gain_multiplier = 2 + player_count * 0.1