Skip to content

Add support for Prayer ToolTips #12

@jburleigh1

Description

@jburleigh1

Support for prayer tooltips alongside item tooltips would be great. I'm thinking it could work something like this:

<span class='osrstooltip' type='prayer' id='piety'>Piety</span>

which could pull from a data structure like the following:

{
    "id" : "piety",
    "description" : [
        "Piety gives a temporary 25% boost to a player's Defence, a 23% boost to a player's Strength, and a 20% boost to a player's Attack"
    ],
    "url" : "https://oldschool.runescape.wiki/w/Piety",
    "icon" : "https://oldschool.runescape.wiki/images/a/a2/Piety.png",
    "members" : true,
    "drain" : "40 points per minute",
    "requirements" : {
        "prayer" : 70,
        "defence" : 70,
    },
    "bonus" : {
        "attack" : 20,
        "strength" : 23,
        "defence" : 25
    }
}

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions