diff --git a/maps/biter_battles_v2/functions.lua b/maps/biter_battles_v2/functions.lua index c3e8b244..0f33d0b2 100644 --- a/maps/biter_battles_v2/functions.lua +++ b/maps/biter_battles_v2/functions.lua @@ -8,21 +8,21 @@ local string_find = string.find local balance_functions = { ["flamethrower"] = function(force_name) - global.combat_balance[force_name].flamethrower_damage = -0.6 + global.combat_balance[force_name].flamethrower_damage = -0.80 game.forces[force_name].set_turret_attack_modifier("flamethrower-turret", global.combat_balance[force_name].flamethrower_damage) game.forces[force_name].set_ammo_damage_modifier("flamethrower", global.combat_balance[force_name].flamethrower_damage) end, ["refined-flammables"] = function(force_name) - global.combat_balance[force_name].flamethrower_damage = global.combat_balance[force_name].flamethrower_damage + 0.06 + global.combat_balance[force_name].flamethrower_damage = global.combat_balance[force_name].flamethrower_damage + 0.05 game.forces[force_name].set_turret_attack_modifier("flamethrower-turret", global.combat_balance[force_name].flamethrower_damage) game.forces[force_name].set_ammo_damage_modifier("flamethrower", global.combat_balance[force_name].flamethrower_damage) end, ["land-mine"] = function(force_name) - if not global.combat_balance[force_name].land_mine then global.combat_balance[force_name].land_mine = -0.75 end + if not global.combat_balance[force_name].land_mine then global.combat_balance[force_name].land_mine = -0.80 end game.forces[force_name].set_ammo_damage_modifier("landmine", global.combat_balance[force_name].land_mine) end, ["stronger-explosives"] = function(force_name) - if not global.combat_balance[force_name].land_mine then global.combat_balance[force_name].land_mine = -0.75 end + if not global.combat_balance[force_name].land_mine then global.combat_balance[force_name].land_mine = -0.80 end global.combat_balance[force_name].land_mine = global.combat_balance[force_name].land_mine + 0.05 game.forces[force_name].set_ammo_damage_modifier("landmine", global.combat_balance[force_name].land_mine) end, diff --git a/maps/cave_miner_v2/constants.lua b/maps/cave_miner_v2/constants.lua index 7f04648e..8c7b174b 100644 --- a/maps/cave_miner_v2/constants.lua +++ b/maps/cave_miner_v2/constants.lua @@ -106,7 +106,7 @@ Public.spawn_market_items = { {price = {{"raw-fish", 2}}, offer = {type = 'give-item', item = 'piercing-rounds-magazine'}}, {price = {{"raw-fish", 2}}, offer = {type = 'give-item', item = 'grenade'}}, {price = {{"raw-fish", 1}}, offer = {type = 'give-item', item = 'land-mine'}}, - {price = {{"raw-fish", 1}}, offer = {type = 'give-item', item = 'explosives', count = 4}}, + {price = {{"raw-fish", 1}}, offer = {type = 'give-item', item = 'explosives', count = 3}}, {price = {{"raw-fish", 1}}, offer = {type = 'give-item', item = 'wood', count = 10}}, {price = {{"raw-fish", 1}}, offer = {type = 'give-item', item = 'iron-ore', count = 10}}, {price = {{"raw-fish", 1}}, offer = {type = 'give-item', item = 'copper-ore', count = 10}}, diff --git a/maps/cave_miner_v2/main.lua b/maps/cave_miner_v2/main.lua index fc4d532b..5d7d78f7 100644 --- a/maps/cave_miner_v2/main.lua +++ b/maps/cave_miner_v2/main.lua @@ -199,7 +199,7 @@ local function on_init() global.rocks_yield_ore_maximum_amount = 256 global.rocks_yield_ore_base_amount = 16 - global.rocks_yield_ore_distance_modifier = 0.0128 + global.rocks_yield_ore_distance_modifier = 0.0064 Explosives.set_destructible_tile("out-of-map", 5000) Explosives.set_destructible_tile("water", 2000) diff --git a/maps/cave_miner_v2/market.lua b/maps/cave_miner_v2/market.lua index 909b4e5e..60bec644 100644 --- a/maps/cave_miner_v2/market.lua +++ b/maps/cave_miner_v2/market.lua @@ -165,7 +165,7 @@ function Public.spawn_random_cave_market(surface, position) end end for name, value in pairs(items) do - local value = value * math_random(6, 12) * 0.01 + local value = value * math_random(5, 10) * 0.01 local count = 1 if value < 1 then count = math_floor(1 / value)