• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

[Help] onSelfDestroyedBlock or onSelfDamagedBlock

FringeRecall

New member
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