-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdata-updates.lua
30 lines (27 loc) · 1 KB
/
data-updates.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
require("recipe-updates")
require("strange-matter")
require("recipes/silicon-vulcanite")
require("compatibility/248k")
require("compatibility/crafting-efficiency")
require("compatibility/any-planet-start")
local util = require("data-util");
if data.raw.resource["stone"] then
if mods["space-exploration"] then
-- local noise = require('noise');
-- -- Increase richness of stone a bit
-- data.raw.resource["stone"].autoplace.richness_expression =
-- data.raw.resource["stone"].autoplace.richness_expression noise.to_noise_expression(4/3)
else
log("Replacing vanilla stone autoplace")
local resource_autoplace = require('resource-autoplace');
data.raw.resource["stone"].autoplace = resource_autoplace.resource_autoplace_settings{
name = "stone",
order = "b",
base_density = 7, -- increased from 4 in vanilla
has_starting_area_placement = true,
regular_rq_factor_multiplier = 1.0,
starting_rq_factor_multiplier = 1.1,
}
end
end
util.redo_recycling()