1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-10 00:43:27 +02:00

less rocks

This commit is contained in:
MewMew 2020-01-07 01:57:03 +01:00
parent 3ec2142a47
commit 2dff825805

View File

@ -405,7 +405,7 @@ local biter_area_entity_functions = {
end,
["tree"] = function(entity)
local noise = get_noise(3, entity.position)
if noise < 0.2 and noise > -0.2 then
if noise > 0.75 then
if math_random(1, 5) ~= 1 then entity.surface.create_entity({name = "rock-big", position = entity.position, force = "neutral"}) end
end
entity.destroy()