Mod compatibility fixes
This commit is contained in:
parent
95e0570f4d
commit
13b23b6523
3 changed files with 9 additions and 9 deletions
|
@ -78,7 +78,7 @@ data:extend(
|
|||
|
||||
|
||||
if not data.raw.item["silicon-wafer"] then
|
||||
if data.raw.item["silicon"] or data.raw.item["silicon-plate"] then
|
||||
if data.raw.item["kr-silicon"] or data.raw.item["silicon"] or data.raw.item["silicon-plate"] then
|
||||
data:extend(
|
||||
{
|
||||
{
|
||||
|
@ -106,7 +106,9 @@ if not data.raw.item["silicon-wafer"] then
|
|||
}
|
||||
)
|
||||
|
||||
if data.raw.item["silicon"] then
|
||||
if data.raw.item["kr-silicon"] then
|
||||
table.insert(data.raw.recipe["silicon-wafer"].ingredients ,{type="item", name="kr-silicon", amount=1})
|
||||
elseif data.raw.item["silicon"] then
|
||||
table.insert(data.raw.recipe["silicon-wafer"].ingredients ,{type="item", name="silicon", amount=1})
|
||||
else
|
||||
table.insert(data.raw.recipe["silicon-wafer"].ingredients ,{type="item", name="silicon-plate", amount=1})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue