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.
 
Back
Top