• Mods are now organized as resources. Use the Mods link above to browse for or submit a mod, tool, or prefab.

    The TFP Official Modding Forum Policy establishes the rules and guidelines for mod creators and mod users.

[Help] onSelfDestroyedBlock or onSelfDamagedBlock

Hello,

Been trying to figure out a way for the XML to determine what block one is harvesting or has destroyed. For example, I need a way to differentiate between a "potato plant" (since it's a block) and a building block. I have tried using some tags in the triggered_effect but nothing seems to work. Ideally I would like to be able to specify the exact block name. If this cannot be done, I'd like to assign tags to blocks and be able to reference them as a group in that way.

I feel like this should be pretty simple but for some reason I am struggling to figure it out. Would greatly appreciate any help here.

Thank you.

 
Back
Top