# Template used for every category menu.
# In addition to general/category placeholders, booster items support:
# {booster_id}, {booster_name}, {booster_icon}, {rarity}, {rarity_display},
# {bonus}, {duration}, {duration_seconds}, {price}, {price_colored}, {currency}

title: "<dark_gray>{category_plain} Boosts"
size: 45

items:
  background:
    slots: "0-44"
    material: BLACK_STAINED_GLASS_PANE
    name: "<white>"

  border:
    slots: ["0-8", 9, 17, 18, 26, 27, 35, "36-44"]
    material: GRAY_STAINED_GLASS_PANE
    name: "<white>"

  category-info:
    slot: 4
    material: "{category_icon}"
    name: "{category_display} <white><bold>BOOSTS</bold>"
    lore:
      - ""
      - "{description}"
      - ""
      - "<dark_gray>▪ <gray>Common & Rare: <green>Money"
      - "<dark_gray>▪ <gray>Epic & Legendary: <#FFD95A>Credits"
      - ""
      - "<gray>Select a rarity to continue."
    hide-attributes: true

  back:
    slot: 37
    material: ARROW
    name: "<white><bold>BACK</bold>"
    lore:
      - ""
      - "<gray>Return to the Boost Shop."
    action: OPEN_MAIN
    click-sound: UI_BUTTON_CLICK

  storage:
    slot: 40
    material: CHEST
    name: "<#55FF55><bold>MY BOOSTERS</bold>"
    lore:
      - ""
      - "<gray>View your purchased boosters."
      - ""
      - "<#55FF55>Click to open"
    action: OPEN_STORAGE
    click-sound: BLOCK_CHEST_OPEN

  close:
    slot: 43
    material: BARRIER
    name: "<#FF5555><bold>CLOSE</bold>"
    lore:
      - ""
      - "<gray>Close this menu."
    action: CLOSE
    click-sound: UI_BUTTON_CLICK

boosters:
  enabled: true
  slots: [19, 21, 23, 25]
  click-sound: UI_BUTTON_CLICK
  item:
    material: "{booster_icon}"
    use-booster-glow: true
    name: "{booster_name}"
    lore:
      - ""
      - "<dark_gray>▪ <gray>Bonus: <#55FF55>{bonus}"
      - "<dark_gray>▪ <gray>Duration: <white>{duration}"
      - "<dark_gray>▪ <gray>Price: {price_colored}"
      - ""
      - "<gray>Personal booster stored in"
      - "<white>/boost <gray>after purchase."
      - ""
      - "{rarity_display} Click to preview"
    hide-attributes: true
