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

Add item under certain conditions? Create_item HasBuff

SickWolf

New member
Hi modders!

When I use an item, I'd like to give the player another item depending on the HasBuff condition.

I can use Create_item under <property class="Action0">, but I need to use effect_group/requirement too.

Is this possible? I searched the existing xml files but I didn't find anything like it.

Workflow:

Code:
- User use the item
- Check if the player have a specific buff
- Give item depending on that condition
thanks!

 
Back
Top