... | ... | @@ -3,19 +3,19 @@ Just like ingredients, conditions must be met in order to use a recipe. Unlike i |
|
|
recipes:
|
|
|
steel-sword:
|
|
|
conditions:
|
|
|
- 'level 5'
|
|
|
- 'perms mmoitems.recipe.steel-sword mmoitems.recipe.station.steel'
|
|
|
- 'level{level=5}'
|
|
|
- 'perms{list="mmoitems.recipe.steel-sword mmoitems.recipe.station.steel"}'
|
|
|
```
|
|
|
| Condition | Usage | Description |
|
|
|
| Min Lvl. | {{{level <min>}}} | Players must be Lvl X or higher. |
|
|
|
| Permission | {{{perms <perm1> <perm2>...}}} | Only players with specific perms may use the recipe.
|
|
|
| Food | {{{food <amount>}}} | The recipes consumes (and requires) X food. |
|
|
|
| Mana | {{{mana <amount>}}} | The recipe consumes (and requires) X mana. |
|
|
|
| Stamina | {{{stamina <amount>}}} | The recipe consumes (and requires) X stamina. |
|
|
|
| Min Lvl. | {{{level{level=<min>}}}} | Players must be Lvl X or higher. |
|
|
|
| Permission | {{{perms{list=<perm1>,<perm2>...}}}} | Only players with specific perms may use the recipe.
|
|
|
| Food | {{{food{amount=<amount>}}}} | The recipes consumes (and requires) X food. |
|
|
|
| Mana | {{{mana{amount=<amount>}}}} | The recipe consumes (and requires) X mana. |
|
|
|
| Stamina | {{{stamina{amount=<amount>}}}} | The recipe consumes (and requires) X stamina. |
|
|
|
|
|
|
The {{{hide-when-locked}}} recipe option only triggers when at least one of the conditions is/are not met. The recipe will still display in the GUI if the player does not have all the required ingredients. Recipe conditions display at the beginning of the GUI recipe item lore: {{https://i.imgur.com/xPwlm5B.png}}
|
|
|
|
|
|
|
|
|
=== MMOCore Conditions
|
|
|
| Condition | Usage | Description |
|
|
|
| Min Profession Lvl. | {{{level <profession> <min>}}} | Players must be Lvl X in a profession or higher. | |
|
|
\ No newline at end of file |
|
|
| Min Profession Lvl. | {{{level{profession=<profession>,level=<min>}}}} | Players must be Lvl X in a profession or higher. | |
|
|
\ No newline at end of file |