fix angels crash
This commit is contained in:
parent
bb6814e056
commit
6c17287ba4
4 changed files with 13 additions and 6 deletions
|
|
@ -1,4 +1,9 @@
|
|||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.6.2
|
||||
Date: 2021-03-13
|
||||
Fixes:
|
||||
- Fix Crash with angels mods
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.6.1
|
||||
Date: 2021-03-13
|
||||
Fixes:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "bzsilicon",
|
||||
"version": "0.6.1",
|
||||
"version": "0.6.2",
|
||||
"factorio_version": "1.1",
|
||||
"title": "Silica & Silicon",
|
||||
"author": "Brevven",
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@ data:extend({
|
|||
subgroup = "intermediate-product",
|
||||
enabled = false,
|
||||
energy_required = 2,
|
||||
ingredients = (mods["bzlead"] and {
|
||||
ingredients = (mods["bzlead"] and not mods["angelssmelting"] and {
|
||||
{type= "item", name="silicon", amount=2},
|
||||
{type= "item", name="electronic-circuit", amount=1},
|
||||
{type= "item", name="lead-plate", amount=1},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue