Bug Closed · Resolved

Augments not showing up in item description/lore

#6429 opened by Unknown 1 year ago

Unknownreported this bug

Item and gem file: https://pastebin.com/xxFcS7b4

augments.yml file: https://pastebin.com/zE4VWLSC

I can slot in the gem onto the leather helmet, and it also gives me 1 extra HP when wearing it, BUT it doesnt show the gem on the item itself. Neither does it show the amount of gem slots it has.

I also tried lore-templates, but thats fully broken for me aswell. I copy pasted the blaze rod example in: https://git.mythiccraft.io/mythiccraft/mythiccrucible/-/wikis/Dynamic-Lore-Generation but no dice. (see picture below of blaze rod, gem and helmet)

Mythic Mobs version: 5.9.1 (premium) Mythic crucible version: 2.2.0-SNAPSHOT (build 4018)

[Legacy attachment omitted]

[Legacy attachment omitted]

[Legacy attachment omitted]

Unknowncommented

I can confirm that {augments:...} is not working but {augments-each:...} is working as expected. Whenever I use the "AUGMENT" lore in an item, it displays "<augment.display>" as it is and it doesnt get updated when I place the augment. (no errors on console.)

[Legacy attachment omitted]

LORE

AUGMENT:
    - ' '
    - '{augments:GEM} <augment.display>' ###not working, displaying "<augment.display>" as it is on item lore.
    - ' '
GEM:
  Enabled: true
  Display: 'Gem'
  Formatting:
    Empty: '<augment.icon> Empty <augment.type> Slot'
    Filled: '<augment.icon> <augment.type>: <augment.tooltip>'
  Icons:
    Empty: '☆'
    Filled: '★'
    Invalid: ''

TEST ITEM

TestGemSlots22:
  Material: NETHERITE_SWORD
  AugmentationSlots:
    Type: GEM           # The Augment Type to add a slot for
    Amount: 1to2        # How many Augments Slots should the items have
    Chance: 1           # The chance of the item being given these slots on generation
    MaxAmount: 3        # Max amount of augment slots this item can have. Defaults to infinity if left out
  Lore:
    Template: AUGMENT

TEST GEM

TestGem30:
  Material: NETHERITE_SCRAP
  Display: '<red>Firey Gem'
  Augmentation:
    Type: GEM
    Tooltip: '<red>Fiery Gem <gray>(On Use: Shoot Fireballs)'  # Used in the <augments.tooltip> placeholder seen above. If removed, defaults to the display name of the item.
    Skills:
    - fireball @targetlocation ~onUse
Sign in to join the discussion.