Page 1 of 1

[2.0.23] FusionReactorPrototype does not respect burnt_result

Posted: Wed Dec 04, 2024 2:07 am
by radical_larry
>What did you do?
I added a modded item with a fuel_value, with the fuel_category set to fusion, and a burnt_result item. Then I inserted that item into a fusion reactor.
>What happened?
The fusion reactor consumed the item without returning the burnt_result item.
>What did you expect to happen instead?
I expected the fusion reactor to have a second inventory slot, just like boilers and reactors do, that will contain the optional burnt_result items of whatever fuel it consumes.

Re: [2.0.23] FusionReactorPrototype does not respect burnt_result

Posted: Wed Dec 04, 2024 5:54 am
by s6x
Did you remember to add a slot for the burnt item in the reactor itself?

Code: Select all

data.raw["fusion-reactor"]["fusion-reactor"].burner.burnt_inventory_size = 1

Re: [2.0.23] FusionReactorPrototype does not respect burnt_result

Posted: Wed Dec 04, 2024 11:38 am
by radical_larry
Oh, I did not think about that. Now it works as intended, thank you.

Re: [2.0.23] FusionReactorPrototype does not respect burnt_result

Posted: Wed Dec 04, 2024 12:00 pm
by boskid
If burner has burnt result inventory of size 0, then it will void the result regardless of burnt_result. That was decided to be a more useful behavior for mods than having burner completly stuck after finishing burning fuel because it could not give the burnt result.