1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-03-19 21:10:19 +02:00

minor river/spawn change

This commit is contained in:
MewMew 2019-10-04 23:12:26 +02:00
parent 5d6fe34c87
commit 5841e787eb
3 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ bb_config = {
["fast_pregen"] = false, --Force fast pregeneration. ["fast_pregen"] = false, --Force fast pregeneration.
--TERRAIN OPTIONS-- --TERRAIN OPTIONS--
["border_river_width"] = 29, --Approximate width of the horizontal impassable river seperating the teams. (values up to 100) ["border_river_width"] = 25, --Approximate width of the horizontal impassable river seperating the teams. (values up to 100)
["builders_area"] = true, --Grant each side a peaceful direction with no nests and biters? ["builders_area"] = true, --Grant each side a peaceful direction with no nests and biters?
["random_scrap"] = true, --Generate harvestable scrap around worms randomly? ["random_scrap"] = true, --Generate harvestable scrap around worms randomly?

View File

@ -2,7 +2,7 @@ local event = require 'utils.event'
local math_random = math.random local math_random = math.random
local simplex_noise = require 'utils.simplex_noise'.d2 local simplex_noise = require 'utils.simplex_noise'.d2
local create_tile_chain = require "functions.create_tile_chain" local create_tile_chain = require "functions.create_tile_chain"
local spawn_circle_size = bb_config.border_river_width local spawn_circle_size = 32
local ores = {"copper-ore", "iron-ore", "stone", "coal"} local ores = {"copper-ore", "iron-ore", "stone", "coal"}
local function shuffle(tbl) local function shuffle(tbl)