mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-03-17 20:58:13 +02:00
minor balancing things
This commit is contained in:
parent
246520dfce
commit
839df05820
@ -1187,7 +1187,7 @@ local function on_entity_damaged(event)
|
||||
if event.cause.fluidbox[i] then
|
||||
if event.cause.fluidbox[i].amount > 0.1 then
|
||||
local fluid_name = event.cause.fluidbox[i].name
|
||||
local new_amount = event.cause.fluidbox[i].amount - 0.30
|
||||
local new_amount = event.cause.fluidbox[i].amount - 0.25
|
||||
if new_amount < 0 then new_amount = 0 end
|
||||
event.cause.fluidbox[i] = {name = fluid_name, amount = new_amount}
|
||||
end
|
||||
|
@ -535,7 +535,7 @@ local function treasure_chest(position, surface)
|
||||
{{name = "explosives", count = math_random(25,50)}, weight = 1, evolution_min = 0.2, evolution_max = 0.6},
|
||||
{{name = "lubricant-barrel", count = math_random(4,10)}, weight = 1, evolution_min = 0.3, evolution_max = 0.5},
|
||||
{{name = "rocket-fuel", count = math_random(4,10)}, weight = 2, evolution_min = 0.3, evolution_max = 0.7},
|
||||
{{name = "computer", count = 1}, weight = 2, evolution_min = 0, evolution_max = 1},
|
||||
{{name = "computer", count = 1}, weight = 1, evolution_min = 0.2, evolution_max = 1},
|
||||
{{name = "steel-plate", count = math_random(50,100)}, weight = 2, evolution_min = 0.1, evolution_max = 0.3},
|
||||
{{name = "nuclear-fuel", count = 1}, weight = 2, evolution_min = 0.7, evolution_max = 1},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user