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
|
Version: 0.6.1
|
||||||
Date: 2021-03-13
|
Date: 2021-03-13
|
||||||
Fixes:
|
Fixes:
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,10 @@ require("recipe-updates")
|
||||||
require("recipes/silicon-vulcanite")
|
require("recipes/silicon-vulcanite")
|
||||||
|
|
||||||
|
|
||||||
local noise = require('noise');
|
if data.raw.resource["stone"] then
|
||||||
-- Increase richness of stone a bit
|
local noise = require('noise');
|
||||||
data.raw.resource["stone"].autoplace.richness_expression =
|
-- 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)
|
data.raw.resource["stone"].autoplace.richness_expression * noise.to_noise_expression(4/3)
|
||||||
|
end
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "bzsilicon",
|
"name": "bzsilicon",
|
||||||
"version": "0.6.1",
|
"version": "0.6.2",
|
||||||
"factorio_version": "1.1",
|
"factorio_version": "1.1",
|
||||||
"title": "Silica & Silicon",
|
"title": "Silica & Silicon",
|
||||||
"author": "Brevven",
|
"author": "Brevven",
|
||||||
|
|
|
||||||
|
|
@ -127,7 +127,7 @@ data:extend({
|
||||||
subgroup = "intermediate-product",
|
subgroup = "intermediate-product",
|
||||||
enabled = false,
|
enabled = false,
|
||||||
energy_required = 2,
|
energy_required = 2,
|
||||||
ingredients = (mods["bzlead"] and {
|
ingredients = (mods["bzlead"] and not mods["angelssmelting"] and {
|
||||||
{type= "item", name="silicon", amount=2},
|
{type= "item", name="silicon", amount=2},
|
||||||
{type= "item", name="electronic-circuit", amount=1},
|
{type= "item", name="electronic-circuit", amount=1},
|
||||||
{type= "item", name="lead-plate", amount=1},
|
{type= "item", name="lead-plate", amount=1},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue