mirror of
https://github.com/garbagemule/MobArena.git
synced 2024-11-25 12:06:14 +01:00
Add pet-name
section to pet classes.
parent
7f697bf79f
commit
35b34fcf25
@ -95,6 +95,7 @@ The `classes`-section is slightly more complicated. It is divided into _class-br
|
||||
Wolf Master:
|
||||
items: stone_sword, grilled_pork, bone:2
|
||||
armor: leather_helmet, leather_chestplate, leather_leggings, leather_boots
|
||||
pet-name: 'Minion of <player-name>'
|
||||
Crusader:
|
||||
items: iron_sword, hay_block:17
|
||||
armor: chainmail_helmet, chainmail_chestplate, chainmail_leggings, chainmail_boots
|
||||
@ -164,9 +165,20 @@ By default, every `bone` in a class' items-list (or class chest) is transformed
|
||||
Wolf Master:
|
||||
items: stone_sword, grilled_pork, bone:2
|
||||
armor: leather_helmet, leather_chestplate, leather_leggings, leather_boots
|
||||
pet-name: 'Minion of <player-name>'
|
||||
|
||||
You can add more pet types or change the bone to a different item in [`global-settings`](#global-settings).
|
||||
|
||||
#### Pet names
|
||||
|
||||
The optional `pet-name` node can be used to change pet names from the default value of `<player-name>'s pet`.
|
||||
In the example above, the wolves will be named `Minion of garbagemule` for a Wolf Master named `garbagemule`.
|
||||
|
||||
The template supports two variables: `<player-name>` and `<display-name>`.
|
||||
|
||||
**Note:** YAML uses the single quote character (`'`) to denote the start and end of strings.
|
||||
To use a single quote in the template, it must be _escaped_ by using a backslash (`\`), e.g. `<player-name>\'s friend`.
|
||||
|
||||
### Mounts
|
||||
|
||||
To give a class a horse mount, give it a hay block in the items-list (or place a hay block in the class chest). The item stack amount (in the first encountered stack) determines the variant and barding of the horse. You can use this table to figure out which hay block amount you need for your desired variant and barding:
|
||||
|
Loading…
Reference in New Issue
Block a user