[2.0.23] FusionReactorPrototype does not respect burnt_result

Bugs that are actually features.
radical_larry
Manual Inserter
Manual Inserter
Posts: 2
Joined: Wed Dec 04, 2024 1:52 am
Contact:

[2.0.23] FusionReactorPrototype does not respect burnt_result

Post 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.
s6x
Inserter
Inserter
Posts: 22
Joined: Fri Nov 15, 2024 8:22 pm
Contact:

Re: [2.0.23] FusionReactorPrototype does not respect burnt_result

Post 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
radical_larry
Manual Inserter
Manual Inserter
Posts: 2
Joined: Wed Dec 04, 2024 1:52 am
Contact:

Re: [2.0.23] FusionReactorPrototype does not respect burnt_result

Post by radical_larry »

Oh, I did not think about that. Now it works as intended, thank you.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3103
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [2.0.23] FusionReactorPrototype does not respect burnt_result

Post 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.
Post Reply

Return to “Not a bug”