Changes
Page history
added setitemdisplay mechanic
authored
Apr 17, 2022
by
Phillip
Show whitespace changes
Inline
Side-by-side
Skills/Mechanics/AmmoConsume.md
View page @
e0c5933b
...
...
@@ -7,15 +7,16 @@ Attributes
----------
| Attribute | Aliases | Description | Default |
|-----------
|
--------------
|
---------------------------------------
|
------
---
|
|
:
---------
:|:--
--
--
--------------
:|:
---------------------------------------
-
------
:|:-------:
|
| amount | a | How many ammo is consumed | 1 |
| onConsume | onUse, Use, UseSkill | The skill to trigger on ammo consume | |
| onNoAmmo | noAmmoSkill, noAmmo | The skill to trigger when there's no ammo left | |
Examples
--------
```
yaml
MyItem
:
Skills
:
-
ammoconsume{amount=1;onConsume=ConsumeMetaSkill;onNoAmmo=NoAmmoMetaSkill}
```