Page 1 of 1

[2.0.72] Heal tooltip has erroneous minus sign

Posted: Mon Dec 08, 2025 1:02 am
by Osmo
- Download the following mod:
repair-gun_0.1.0.zip
(3.28 MiB) Downloaded 18 times
- Look at "Repair spray" ammo item tooltip.
- Damage is displayed as "Heal: -120/s Healing", while it should be "Heal: 120/s Healing"
изображение.png
изображение.png (24.02 KiB) Viewed 133 times
The trigger effect is defined like this in data.lua:214

Code: Select all

 {
    type = "damage",
    damage = { amount = -4, type = "repair-gun-healing" },
    apply_damage_to_trees = false
}
In other places, such as with Raw fish, it is displayed as Heal without the - sign
изображение.png
изображение.png (38.78 KiB) Viewed 133 times

Re: [2.0.72] Heal tooltip has erroneous minus sign

Posted: Mon Dec 08, 2025 8:50 am
by boskid
Thanks for the report. Issue is now fixed for 2.1.