MythicCrucible Dynamic Lore Generation not work what I expected
Summary
Dynamic lore is awesome concept but there is not lot of examples
Steps to reproduce
items/item.yml
serveritemlore:
Id: BLAZE_ROD
Display: 'Test'
Group: TEST_group
Lore:
Template: serverlore
type: 'DAGGER'
grade: 'F'
quality: '<red>30%'
level: '5'
description: '&fA dagger supplied to dismantlers of the monster byproduct processing company CPT, forged from the claws of a cockatrice, enabling it to sharply cut through materials infused with magic.'
passive: '해체'
Stats:
- LUNA_STR 0.5 ADDITIVE
- LUNA_INT 0.5 ADDITIVE
- LUNA_DEX 0.5 ADDITIVE
- LUNA_VIT 0.5 ADDITIVE
- LUNA_CRI 0.5 ADDITIVE
- LUNA_LUK 0.5 ADDITIVE
- LUNA_LUK 0.5 MULTIPLY
- LUNA_LUK 0.5 COMPOUND
lore-template.yml
serverlore:
- Line: '<item.group>'
- Line:
- '{stats}'
- '{stats}<yellow>Stats:'
- '{stats-each}<white><stat.display>'
- Filler: '----'
- Line:
- '{augments:GEM}Gems:'
- '{augments-each:GEM}<augment.display>'
- Filler: '----'
- Conditions:
- notEmpty <item.lore.description>
Line: '<item.lore.description>'
- Filler: '----'
Current behavior
The wrap lore color is not being applied properly. Additionally, when adding a color code to the first word in the item description, only the first line gets colored, while the second and subsequent lines do not retain the color. This creates the inconvenience of having to apply a color code to each word individually.
Intended correct behavior
When I use wrap from dynamic lore gen it should color all description even in items and lore-template
In Dynamic Lore Generation, I've tried everything I know, but Filler doesn't work when conditions are applied.
- The condition
- notEmpty <item.lore.Description>
does not work. - The condition
- stringNotEmpty <item.lore.Description>
&- stringNotEmpty{value=<item.lore.Description>}
also does not work. - The line
Line: '<item.lore.Description>'
does not work with{wrap=10}
. - Only without
item.
- <lore.Description{wrap=10}>
works correctly with{wrap=10}
.
I need help figuring out why the conditions aren't working properly.
- Filler: '----'
- Conditions:
- notEmpty <item.lore.Description>
Line: '<item.lore.Description>'
LoreTemplateTest:
- Line: '<item.group>'
- Line:
- '{stats}'
- '{stats}<yellow>Stats:'
- '{stats-each}<white><stat.display>'
- Filler: '----'
- Line:
- '{augments:GEM}Gems:'
- '{augments-each:GEM}<augment.display>'
- Filler: '----'
- Conditions:
- notEmpty <item.lore.Description>
Line: '<item.lore.Description>'
- Filler: '----'