From 37eba43f26b9b57cdf09bdec567706a78c464631 Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Mon, 13 Aug 2018 19:02:53 +0100 Subject: [PATCH] Paths under entities are more likly --- StandAlone/paths.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StandAlone/paths.lua b/StandAlone/paths.lua index 6f045709..b6524c11 100644 --- a/StandAlone/paths.lua +++ b/StandAlone/paths.lua @@ -123,7 +123,7 @@ Event.register(defines.events.on_built_entity, function(event) for (x in 0,size) do for (y in 0,size) do local pos = [entity.position.x+x,entity.position.y+y] local tile = surface.get_tile(pos).name - if math.random() < paths[tile]*size then + if math.random() < paths[tile]*size*10 then down_grade(surface,pos) end end end