Rad Remover Mod Not Working On Turrets

ahawksfan

Refugee
Version
2.1 (B7)
Platform
Windows
The Rad Remover Mod is allowed on Junk Turrets. The Mod functions correctly when the turret is held in the hand and operated but the Mod does not work when the turret is placed on the ground.

Is this a bug or is this the desired behavior?

Tested on version 2.1 (B7)

(No logs submitted because this is a very simple test to reproduce)
 
Reproduction Steps
Steps to reproduce:
  1. Vanilla 2.1 (B7) game
  2. Test in both hand and placed and see if Zombie is healing after damage.
Link to Logs
http://nologsneeded.com
Link to Screenshot/Video
http://nologsneeded.com
1763888975178.png1763888983854.png



I'll add a picture. And I support what doesn't count on DEDICATED SERVERS. Everything is working fine on the local computer.
 
<item_modifier name="modGunMeleeRadRemover" installable_tags="weapon,tool" modifier_tags="specialDamage" blocked_tags="noMods" type="attachment">
<property name="Extends" value="modGeneralMaster" param1="CustomIcon"/>
<property name="UnlockedBy" value="modGunMeleeRadRemoverSchematic"/>
<property name="TraderStageTemplate" value="modsTier3"/>

<!-- Increases damage against radiated,charged,infernal enemies -->
<effect_group tiered="false">
<requirement name="EntityTagCompare" target="other" tags="radiated,charged,infernal"/>
<triggered_effect trigger="onSelfDamagedOther" action="AddBuff" target="other" buff="buffRadiatedRegenBlock"/>
</effect_group>
</item_modifier>

Due to its code setting "onSelfDamagedOther", which does not include deployed robots, it is ineffective. However, if you change this code to "onSelfAttackedOther", it becomes effective. Strictly speaking, this is not a bug, but TFP chose to set it this way.
 
Thank you for your report ahawksfan. On testing of the rad remover, it appears to work as intended. Once the zombie has a certain percentage of health loss, though, the rad remover does become ineffective. It's normal to see this around 20% of their health loss.

I don't think the intention was for it to work when deployed, so having this on the deployed turret is a bit of a bonus. :)
 
Back
Top