Barreling type issue, possible bug?
Posted: Thu Oct 09, 2014 12:49 am
I've been coding an air pump to bottle the gasses of bob's metals chemcials and intermediates mod, and unbottle them later elsewhere.
But I've run into a problem
Whenever I go to choose the recipe of the Hydrogen bottles in the air pump, the game crashs with this:
https://www.dropbox.com/s/lylddumqku6vo ... 4.png?dl=0
The odd thing is it only does it with Hydrogen.
Mod is here:
https://www.dropbox.com/s/8uviz9yfk87e5 ... n.rar?dl=0
I think it might be an issue with the "Raw materials required" calculations, even the other bottles are doing strange things, telling me they require oxygen, obviously going through the bottled oxygen recipe to get the empty bottle to use. I looked at the oil barrel recipes, and don't see any difference as to why they don't suffer a feedback loop like I'm seeing.
Quick reference for the code:
Yes, the others are identical, the only difference is instead of saying hydrogen, they'll say oxygen, nitrogen, chlorine or hydrogen-chloride.
if you want to try to repeat this, All my mods are installed with this wip, research is named bottled gas processing and has no dependancies and requires only red and green science.
But I've run into a problem
Whenever I go to choose the recipe of the Hydrogen bottles in the air pump, the game crashs with this:
https://www.dropbox.com/s/lylddumqku6vo ... 4.png?dl=0
The odd thing is it only does it with Hydrogen.
Mod is here:
https://www.dropbox.com/s/8uviz9yfk87e5 ... n.rar?dl=0
I think it might be an issue with the "Raw materials required" calculations, even the other bottles are doing strange things, telling me they require oxygen, obviously going through the bottled oxygen recipe to get the empty bottle to use. I looked at the oil barrel recipes, and don't see any difference as to why they don't suffer a feedback loop like I'm seeing.
Quick reference for the code:
Code: Select all
{
type = "recipe",
name = "hydrogen-canister",
icon = "__bobplates__/graphics/icons/hydrogen-canister.png",
category = "air-pump",
subgroup = "bob-gas-bottle",
energy_required = 1,
enabled = "false",
ingredients =
{
{type="fluid", name="hydrogen", amount=5},
{"gas-canister", 1},
},
result = "hydrogen-canister",
order = "b[fill-hydrogen-canister]",
},
{
type = "recipe",
name = "empty-hydrogen-canister",
icon = "__bobplates__/graphics/icons/hydrogen-canister.png",
category = "air-pump",
subgroup = "bob-gas-bottle",
energy_required = 1,
enabled = "false",
ingredients =
{
{"hydrogen-canister", 1},
},
results =
{
{type="fluid", name="hydrogen", amount=5},
{"gas-canister", 1},
},
main_product= "hydrogen",
order = "c[empty-hydrogen-canister]",
},
if you want to try to repeat this, All my mods are installed with this wip, research is named bottled gas processing and has no dependancies and requires only red and green science.