Show salvage chance next to salvage drones too

This commit is contained in:
DarkPhoenix
2023-12-09 17:24:35 +06:00
parent 0dc2632fc4
commit 0ac6a14ebb

View File

@@ -167,7 +167,7 @@ class Miscellanea(ViewColumn):
text = "{0}/s".format(formatAmount(capPerSec, 3, 0, 3))
tooltip = "Energy neutralization per second"
return text, tooltip
elif itemGroup == "Salvager":
elif itemGroup in ("Salvager", "Salvage Drone"):
chance = stuff.getModifiedItemAttr("accessDifficultyBonus")
if not chance:
return "", None