Open billbo99 opened 3 years ago
Tricky - we could check for whether deadlock-stack-X
exists where X is the burnt_result
, but that depends on the integration mod creating the burnt-stuff stack first, which is fiddly. I suppose we could just assume that it'll always get created, but if an integration mod doesn't do that it'll crash the data stage - might be a breaking change with some existing ones, but probably the better route.
I think this would be better handled with another optional parameter in add_stack. Ideally add_stack should be taking a table as a parameter like add_tier does but changing that now would be annoying.
That said, burnt_results are so rarely used in mods, I don't think it's unreasonable for a third party mod to manually set that up themselves.
The Original fuel item
The STACKED fuel item should have
burnt_result = "deadlock-stack-empty-antimatter-fuel-cell"