Skip to content

[Feature Request] Add ability to apply custom frame to all items of a specific rarity #18

@BredyAK

Description

@BredyAK

Maybe adding a new global configuration entry "rarity" is a good idea! And here is an example of using it in /config/tooltipoverhaul/custom_frames:

{
  "frames": [
    {
      "texture": "tooltipoverhaul:textures/overlay/amethyst_frame.png",
      "rarity": "my_custom_rarity_mythic",
      "gradientType": "custom",
      "borderType": "static",
      "gradientColors": ["#C551C3", "#C551C3", "#C551C3"],
      "specialEffect": "metal_shining"
    }
  ]
}

Then all items with the custom rarity "my_custom_rarity_mythic" will be applied with the amethyst frame.

And also, if you add this feature, then I think these following options will be redundant in /config/tooltipoverhaul/tooltipoverhaul.toml:

  • COMMON_PALETTE_COLORS
  • UNCOMMON_PALETTE_COLORS
  • RARE_PALETTE_COLORS
  • EPIC_PALETTE_COLORS
  • LEGENDARY_PALETTE_COLORS
  • CHAOS_PALETTE_COLORS (I don't know if this is an option for all default items that don't have any custom frames, if it's not, then adding a DEFAULT_PALETTE_COLORS option is a good idea. :D)

Reference: https://discord.com/channels/849003300496998450/1241351754864660553/1435808536176103625

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions