shpaass / yafc-ce

Powerful Factorio calculator/analyser that works with mods
GNU General Public License v3.0
54 stars 20 forks source link

Incorrect coloring of fuel side-product #250

Closed Dorus closed 1 month ago

Dorus commented 1 month ago

afbeelding

In this chain, uranium cells are expended for the purpose of creating empty ones so those can be used later on. Linking the spend uranium cell does not properly color them blue. Also clicking the spend uranium cells does not show they are linked. They're also missing from the link summary. They are properly accounted for while calculating how many buildings are required.

The page from the screenshot:

[{"header":{"recipe":"fuel-cell-dissolve","building":"mixer-mk01","buildingCount":0.14999999,"modules":[],"beacon":null,"beaconCount":0,"beaconModules":[],"fuel":{"name":"electricity","countPerSecond":0.1550000011920929},"inputs":[{"name":"used-up-uranium-fuel-cell","countPerSecond":0.09999999403953552},{"name":"sodium-hydroxide","countPerSecond":0.14999999105930328},{"name":"water@15","countPerSecond":2.5},{"name":"sulfuric-acid","countPerSecond":2.5}],"outputs":[{"name":"sb-phosphate-1","countPerSecond":1}]},"children":[]},{"header":{"recipe":"reactor.heat","building":"nuclear-reactor","buildingCount":0.39999998,"modules":[],"beacon":null,"beaconCount":0,"beaconModules":[],"fuel":{"name":"uranium-fuel-cell","countPerSecond":0.10000000149011612},"inputs":[],"outputs":[{"name":"heat","countPerSecond":2399.999755859375},{"name":"used-up-uranium-fuel-cell","countPerSecond":0.10000000149011612}]},"children":[]},{"header":{"recipe":"uranium-fuel-cell","building":"automated-factory-mk01","buildingCount":0,"modules":[],"beacon":null,"beaconCount":0,"beaconModules":[],"fuel":{"name":"electricity","countPerSecond":0},"inputs":[{"name":"aluminium-plate","countPerSecond":0},{"name":"u-235","countPerSecond":0},{"name":"u-238","countPerSecond":0}],"outputs":[{"name":"uranium-fuel-cell","countPerSecond":0}]},"children":[]}]