Template:ChestDrops: Difference between revisions

From Melvor Idle
(Created new template)
 
m (Removed data reference)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
This template is for the Drops section for monsters. Content is pulled from [[Module:Items/data]] and filtered through [[Module:Monsters]].
This template is for the Drops section for monsters. Content is pulled through [[Module:Monsters]].


For example, {{T|ChestDrops|Elite Chest}} becomes {{ChestDrops|Elite Chest}}
For example, {{T|ChestDrops|Elite Chest}} becomes {{ChestDrops|Elite Chest}}
<includeonly><onlyinclude>
<includeonly><onlyinclude>{{#invoke:Monsters|getChestDrops|{{{1|{{PAGENAME}}}}}}}</onlyinclude></includeonly>
{{#vardefine:name|{{{1|{{PAGENAME}}}}}}}{{#invoke:Monsters|getChestDrops|{{#var:name}}}}
</onlyinclude></includeonly>

Latest revision as of 22:00, 29 October 2022

This template is for the Drops section for monsters. Content is pulled through Module:Monsters.

For example, {{ChestDrops|Elite Chest}} becomes

Item Qty Chance Price
Silver Bar 1 - 200 100/723 13.83% 51 - 10,200 GP
Topaz 1 - 100 20/241 8.30% 225 - 22,500 GP
Mithril Bar 1 - 100 50/723 6.92% 125 - 12,500 GP
Gold Bar 1 - 200 50/723 6.92% 142 - 28,400 GP
Adamant Platebody 1 50/723 6.92% 432 GP
Sapphire 1 - 100 50/723 6.92% 335 - 33,500 GP
Ruby 1 - 100 40/723 5.53% 555 - 55,500 GP
Red D-hide Vambraces 1 10/241 4.15% 400 GP
Red D-hide Body 1 10/241 4.15% 1,200 GP
Emerald 1 - 100 10/241 4.15% 555 - 55,500 GP
Red D-hide Chaps 1 10/241 4.15% 800 GP
Adamantite Bar 1 - 100 10/241 4.15% 178 - 17,800 GP
Rune Platebody 1 20/723 2.77% 689 GP
Rune Platelegs 1 20/723 2.77% 415 GP
Diamond 1 - 100 20/723 2.77% 1,150 - 115,000 GP
Runite Bar 1 - 100 20/723 2.77% 220 - 22,000 GP
Black D-hide Body 1 5/241 2.07% 1,500 GP
Black D-hide Vambraces 1 5/241 2.07% 500 GP
Black D-hide Chaps 1 5/241 2.07% 1,000 GP
Cape of Prat 1 10/723 1.38% 250,000 GP
Dragonite Bar 1 - 100 10/723 1.38% 605 - 60,500 GP
Amulet of Fury 1 8/723 1.11% 15,000 GP
Dragon Platebody 1 5/723 0.69% 3,450 GP
Dragon Platelegs 1 5/723 0.69% 2,275 GP
Ancient Helmet 1 1/241 0.41% 250,000 GP
Ancient Shield 1 1/241 0.41% 250,000 GP
Ancient Platelegs 1 2/723 0.28% 250,000 GP
Ancient Platebody 1 2/723 0.28% 250,000 GP

The average value of the contents of one chest is 17,011.72 GP.