Hi! I've encountered a bug while making an armor modifier. I'm using passive_effect name="ScrappingTime" operation="perc_add" value="-1" to achieve instant scrapping.
This effect works perfectly for blocks, resources, and other mods. However, it is completely ignored by items that have the <property name="ScrapTimeOverride" value="..." /> tag in their XML (which includes almost all vanilla armor, weapons, and tools).
It seems that ScrapTimeOverride has absolute priority and hard-locks the scrap time, preventing any perc_add modifiers from being applied.
My code snippet:
<item_modifier name="modrazbor_lv5" installable_tags="armorHead" modifier_tags="razbor" type="attachment">
<effect_group tiered="false">
<passive_effect name="ScrappingTime" operation="perc_add" value="-1"/>
</effect_group>
</item_modifier>
Is there a way to make ScrapTimeOverride affected by passive effects, or is there a workaround for this?
This effect works perfectly for blocks, resources, and other mods. However, it is completely ignored by items that have the <property name="ScrapTimeOverride" value="..." /> tag in their XML (which includes almost all vanilla armor, weapons, and tools).
It seems that ScrapTimeOverride has absolute priority and hard-locks the scrap time, preventing any perc_add modifiers from being applied.
My code snippet:
<item_modifier name="modrazbor_lv5" installable_tags="armorHead" modifier_tags="razbor" type="attachment">
<effect_group tiered="false">
<passive_effect name="ScrappingTime" operation="perc_add" value="-1"/>
</effect_group>
</item_modifier>
Is there a way to make ScrapTimeOverride affected by passive effects, or is there a workaround for this?