Suggestion Closed · Implemented

lists of items in conditions such as wearing and holding

#2549 opened by Unknown 4 years ago

Unknownreported this suggestion

Summary

Currently you can put AND conditions using these conditions eg

- wearing{slot=HAND;m=IRON_SWORD} true '- wearing{slot=OFFHAND;m=SHIELD} true'

My idea is for syntax to allow OR conditions.

`- wearing{slot=HAND;m=IRON_SWORD,DIAMOND_SWORD,GOLDEN_SWORD} true'

Usage This could be used anytime an item is required for a skill, but there are multiple items of each type. For example skills that cast while holding any sword.

Value I dont know what to say here.

Priority Moderate - Low priority, maybe when the next set of new mechanics and stuff are implemented

Implementation Syntax for hasitem, holding, wearing - etc conditions

Possibly something like: ```- wearing{slot=HAND;m=IRON_SWORD,DIAMOND_SWORD,GOLDEN_SWORD} true'`` or

```- wearing{slot=HAND,OFFHAND,CHEST;m=IRON_SWORD} true'``

Unknowncommented

you can use wildcards in holding and wearing conditions, make sure you're using latest dev build. - holding{m=*_SWORD} will check for any sword. - holding{m=diamond*} will check for any diamond items. #411

Unknowncommented

This doesnt account for items that you cant match via wildcard (ie they have conflicting names) or if you want to allow for multiple item types. also does this work for mmoitems?

Sign in to join the discussion.