... | ... | @@ -19,6 +19,7 @@ |
|
|
Lines:
|
|
|
- "<placeholder.1234>"
|
|
|
- '<lore.Description{wrap=10}>'
|
|
|
```
|
|
|
物品可以通过选项来调用模板, 示例:
|
|
|
```yaml
|
|
|
小钻石:
|
... | ... | @@ -37,18 +38,10 @@ |
|
|
|
|
|
<placeholder.*>
|
|
|
|
|
|
Other Information about Lore Templates
|
|
|
Every node under Lore other than Template will be passed to the template as a <lore.*> placeholder (where * is the node you specify.)
|
|
|
|
|
|
Templates can use any other applicable placeholders supported by drop tables.
|
|
|
|
|
|
A line with <lore.stats> will be iterated and replicated for each stat using the tooltip formats configured in stats.yml.
|
|
|
<lore.stats>
|
|
|
|
|
|
More features for this are planned as well.
|
|
|
|
|
|
Lore Attributes
|
|
|
Attributes are formatted similarly to how skills are. In our previous example, wrap is considered an Attribute.
|
|
|
通用修改项
|
|
|
---
|
|
|
|
|
|
<lore.node{attribute=value}>
|
|
|
Attribute Aliases Description Default
|
|
|
wrap How many characters are displayed before wrapping text to the next line N/A |
|
|
\ No newline at end of file |