mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-03-25 21:29:06 +02:00
tweaks
This commit is contained in:
parent
f8645c98a8
commit
52a09c04fc
@ -55,6 +55,7 @@ end
|
||||
function noise_vector_tile_path(surface, tile_name, position, base_vector, length, brush_size, whitelist)
|
||||
local seed_1 = math.random(1, 10000000)
|
||||
local seed_2 = math.random(1, 10000000)
|
||||
local m = math.random(1, 100) * 0.001
|
||||
local vector = {}
|
||||
local tiles = {}
|
||||
local minimal_movement = 0.65
|
||||
@ -77,8 +78,8 @@ function noise_vector_tile_path(surface, tile_name, position, base_vector, lengt
|
||||
end
|
||||
end
|
||||
|
||||
local noise = simplex_noise(position.x * 0.1, position.y * 0.1, seed_1)
|
||||
local noise_2 = simplex_noise(position.x * 0.1, position.y * 0.1, seed_2)
|
||||
local noise = simplex_noise(position.x * m, position.y * m, seed_1)
|
||||
local noise_2 = simplex_noise(position.x * m, position.y * m, seed_2)
|
||||
|
||||
vector[1] = base_vector[1] + noise
|
||||
vector[2] = base_vector[2] + noise_2
|
||||
|
@ -1,11 +1,11 @@
|
||||
local shop_list = {
|
||||
["coal"] = 1,
|
||||
["copper-ore"] = 1,
|
||||
["crude-oil-barrel"] = 6,
|
||||
["crude-oil-barrel"] = 7.5,
|
||||
["empty-barrel"] = 5,
|
||||
["iron-ore"] = 1,
|
||||
["landfill"] = 2.5,
|
||||
["raw-fish"] = 4,
|
||||
["landfill"] = 2,
|
||||
["raw-fish"] = 4.25,
|
||||
["stone"] = 1,
|
||||
["uranium-ore"] = 3,
|
||||
["wood"] = 0.75,
|
||||
|
Loading…
x
Reference in New Issue
Block a user