[2.0.21] Quality Repair Packs recipe tooltip in assembling machine report wrong maximum durability

Post your bugs and problems so we can fix them.
Ch4rl1e
Burner Inserter
Burner Inserter
Posts: 8
Joined: Thu Aug 13, 2020 5:48 pm
Contact:

[2.0.21] Quality Repair Packs recipe tooltip in assembling machine report wrong maximum durability

Post by Ch4rl1e »

Hello,

See screenshots for demo:
illustration of bug
illustration of bug
bugged quality repair pack durability.png (85.12 KiB) Viewed 130 times
You can see the durability line in the tooltip upon hovering the mouse cursor over the repair pack icon/title, it is showing "600/300", which is obviously nonsense. 600 is the Uncommon quality variant's (max) durability whereas 300 is the max for a Normal variant.

The same can be observed in the ghost output slot:
second illustration
second illustration
bugged quality repair pack durability output slot empty.png (120.75 KiB) Viewed 130 times
Actual quality repair packs display this information correctly.
Attachments
factorio-current.log
(20.81 KiB) Downloaded 3 times
FasterJump
Fast Inserter
Fast Inserter
Posts: 240
Joined: Sat Jul 09, 2016 11:43 am
Contact:

Re: [2.0.21] Quality Repair Packs recipe tooltip in assembling machine report wrong maximum durability

Post by FasterJump »

I also noticed it. At first I thought it's not a bug, because 300 is the maximum durability for the normal pack. I think that the "/300" could be removed entirely, because it serves no purpose imo. I assume 1 unit = 1 hp?
Ch4rl1e
Burner Inserter
Burner Inserter
Posts: 8
Joined: Thu Aug 13, 2020 5:48 pm
Contact:

Re: [2.0.21] Quality Repair Packs recipe tooltip in assembling machine report wrong maximum durability

Post by Ch4rl1e »

Possibly, but it displays correctly when looking at an actual quality item as opposed to the recipe or ghost slot, so I assume it's just recycling the same tooltip code or whatever but the recipe isn't respecting quality properly -
I see where you're coming from on removing it, but I assume it's possible that a recipe could produce an item with less than max durability (mods?) so you want to show it always
Post Reply

Return to “Bug Reports”