fix angels crash
This commit is contained in:
parent
bb6814e056
commit
6c17287ba4
4 changed files with 13 additions and 6 deletions
|
|
@ -2,8 +2,10 @@ require("recipe-updates")
|
|||
require("recipes/silicon-vulcanite")
|
||||
|
||||
|
||||
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)
|
||||
if data.raw.resource["stone"] 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)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue