Re: [MOD 0.16]Xagros's mods
Posted: Fri Sep 07, 2018 1:20 am
I am hoping you might be able to help with an issue that has arisen when using More Bobs! with the Bio Industries tweak. The Fertilizer technology is not currently available with this setting active for us:
With: https://i.imgur.com/hphdLnT.jpg
Without: https://i.imgur.com/4NEOoHt.jpg
Any help would be very appreciated!
Edit with update:
As an update, this turned out to be because Angel's Petro Chemical disabled the vanilla sulfur processing technology in favor of his own. We were able to fix this by reworking the data-fixes-final to have this contingency:
With: https://i.imgur.com/hphdLnT.jpg
Without: https://i.imgur.com/4NEOoHt.jpg
Any help would be very appreciated!
Edit with update:
As an update, this turned out to be because Angel's Petro Chemical disabled the vanilla sulfur processing technology in favor of his own. We were able to fix this by reworking the data-fixes-final to have this contingency:
Code: Select all
if bobmods then
if bobmods.greenhouse then
if BI then
data.raw["recipe"]["bob-seedling"].normal.energy_required = 5
data.raw["recipe"]["bob-seedling"].expensive.energy_required = 5
data.raw["technology"]["bi_tech_bio_farming"].prerequisites = {"optics", "bob-greenhouse"}
if mods["angelspetrochem"] and data.raw["technology"]["angels-sulfur-processing-1"] then
data.raw["technology"]["bi_tech_fertiliser"].prerequisites = {"angels-sulfur-processing-1", "bi_tech_bio_farming"}
else
data.raw["technology"]["bi_tech_fertiliser"].prerequisites = {"sulfur-processing", "bi_tech_bio_farming"}
end
data.raw["technology"]["bob-fertiliser"].prerequisites = {"flammables", "bi_tech_fertiliser"}
end
end
end