Update to 2.0
This commit is contained in:
parent
b819550db8
commit
70d34155af
19 changed files with 212 additions and 450 deletions
|
|
@ -14,12 +14,11 @@ require("compatibility/rsc")
|
|||
require("compatibility/crafting-efficiency")
|
||||
|
||||
local util = require("data-util")
|
||||
if data.raw.resource["copper-ore"] then
|
||||
if data.raw.resource["copper-ore"] and not mods["bzgold"] then
|
||||
if mods["space-exploration"] then
|
||||
local noise = require('noise');
|
||||
-- decrease richness of copper a bit
|
||||
data.raw.resource["copper-ore"].autoplace.richness_expression =
|
||||
data.raw.resource["copper-ore"].autoplace.richness_expression * noise.to_noise_expression(3/4)
|
||||
data.raw.resource["copper-ore"].autoplace.richness_expression =
|
||||
data.raw.resource["copper-ore"].autoplace.richness_expression .. "*(3/4)"
|
||||
else
|
||||
log("Replacing vanilla copper-ore autoplace")
|
||||
local resource_autoplace = require('resource-autoplace');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue