Changes
Page history
added setitemdisplay mechanic
authored
Apr 17, 2022
by
Phillip
Show whitespace changes
Inline
Side-by-side
Skills/Mechanics/SetItemDisplay.md
0 → 100644
View page @
e0c5933b
Mechanic: SetItemDisplay
================
Sets the item display name
Attributes
----------
| Attribute | Aliases | Description | Default |
|:---------:|:-------:|:----------------------------------:|:-------:|
| display | d | The new displayed name of the item | |
Examples
--------
This changes the item's display name from "Godly Stick" to "This is my new name!" whenever a player right clicks with the item.
```
yaml
MyItem
:
Id
:
stick
Display
:
'
Godly
Stick'
Skills
:
-
setitemdisplay{d="This is my new name!"} ~onUse
```
\ No newline at end of file