added setitemdisplay mechanic authored by Phillip's avatar Phillip
...@@ -7,15 +7,16 @@ Attributes ...@@ -7,15 +7,16 @@ Attributes
---------- ----------
| Attribute | Aliases | Description | Default | | Attribute | Aliases | Description | Default |
|-----------|--------------|---------------------------------------|---------| |:---------:|:--------------------:|:----------------------------------------------:|:-------:|
| amount | a | How many ammo is consumed | 1 | | amount | a | How many ammo is consumed | 1 |
| onConsume | onUse, Use, UseSkill | The skill to trigger on ammo consume | | | onConsume | onUse, Use, UseSkill | The skill to trigger on ammo consume | |
| onNoAmmo | noAmmoSkill, noAmmo | The skill to trigger when there's no ammo left | | | onNoAmmo | noAmmoSkill, noAmmo | The skill to trigger when there's no ammo left | |
Examples Examples
-------- --------
```yaml
MyItem:
Skills: Skills:
- ammoconsume{amount=1;onConsume=ConsumeMetaSkill;onNoAmmo=NoAmmoMetaSkill} - ammoconsume{amount=1;onConsume=ConsumeMetaSkill;onNoAmmo=NoAmmoMetaSkill}
```