1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-03-03 14:53:01 +02:00

small balance change + made variable local

This commit is contained in:
grilledham 2018-02-23 23:49:12 +00:00
parent 931707a1a8
commit bdd213ca93

View File

@ -29,7 +29,7 @@ local ores =
{resource_type = "copper-ore", value = value(100, 0.4)},
{resource_type = "stone", value = value(100, 0.2)},
{resource_type = "coal", value = value(100, 0.1)},
{resource_type = "uranium-ore", value = value(50, 1)},
{resource_type = "uranium-ore", value = value(50, 0.1)},
{resource_type = "crude-oil", value = value(10000, 50)},
}
@ -101,7 +101,7 @@ local loops =
}
local Random = require "map_gen.shared.random"
random = Random.new(seed1, seed2)
local random = Random.new(seed1, seed2)
local total_weights = {}
local t = 0
@ -151,5 +151,4 @@ map = shape_or_else(map, sea)
--map = translate(map, -32, 0)
--map = scale(map, 1, 1)
return map