PetrochemPlus

by kinnom

More chemicals to make angel's petrochem even more of a hell.

Content
6 years ago
0.14 - 0.16
15
Fluids

g Flask and MoreScience

6 years ago

If i have PCP and MoreScience then it can't load saying that on line 19 of flask.lua it can't insert into a table

In this file its
table.insert(data.raw.recipe["science-pack-3"].ingredients,{type="item",name="flask",amount=1})
table.insert(data.raw.recipe["military-science-pack"].ingredients,{type="item",name="flask",amount=1})
table.insert(data.raw.recipe["production-science-pack"].ingredients,{type="item",name="flask",amount=1})
table.insert(data.raw.recipe["high-tech-science-pack"].ingredients,{type="item",name="flask",amount=1})

More Science mod gives it's own flasks, so could you make a check that MoreScience is present and stop loading flasks?

6 years ago

The next two weeks I'm too busy, will update then. For now you can comment out the lines by adding -- before the code.

New response