Support for prayer tooltips alongside item tooltips would be great. I'm thinking it could work something like this:
{
"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
}
}
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: