more number edits

This commit is contained in:
Cooldude2606
2018-05-15 20:21:05 +01:00
parent 4d2794a72d
commit f4b9bdc3eb

View File

@@ -1,7 +1,7 @@
-- made by cooldude -- made by cooldude
-- idea from Mylon - Dirt Path -- idea from Mylon - Dirt Path
local adjacency_boost = 1.5 -- makes paths more lickly to be next to each other local adjacency_boost = 2.25 -- makes paths more lickly to be next to each other
local placed_paths = { local placed_paths = {
['refined-concrete']=true, ['refined-concrete']=true,
['refined-hazard-concrete-right']=true, ['refined-hazard-concrete-right']=true,
@@ -39,7 +39,7 @@ local paths = {
['grass-4']={5,'dirt-4'} ['grass-4']={5,'dirt-4'}
} }
for tile,value in pairs(paths) do for tile,value in pairs(paths) do
value[1]=1/(value[1]*150) -- 150 do make it so about 75% will change by the expected value value[1]=1/(value[1]*175) -- 150 do make it so about 75% will change by the expected value
end end
local function global_key(surface,pos) local function global_key(surface,pos)