Template:LootChest/doc
Usage
Thie template accepts any number of chest parameters, and any number of column parameters. The parameters can be used in any order too.
Only one set of parameters is required, and the others are optional:
- If no chest parameters are listed, then all chest parameters, matching each of the column parameters, will be used automatically.
- If no column parameters are listed, then all column parameters, matching each of the chest parameters, will be used automatically.
The general syntax is one of these 3:
{{LootChest | <chestParam1> | <chestParam2> | ... | <chestParamN> | <columnParam1> | <columnParam2> | ... | <columnParamN>}}
{{LootChest | <chestParam1> | <chestParam2> | ... | <chestParamN>}}
{{LootChest | <columnParam1> | <columnParam2> | ... | <columnParamN>}}
Chest parameters
ancient-city-ice-boxancient-citybastion-bridgebastion-genericbastion-hoglin-stablebastion-treasurebonus-barrelbonusbrushable-cold-ocean-ruinsbrushable-desert-templebrushable-desert-wellbrushable-trail-ruins-rarebrushable-trail-ruinsbrushable-warm-ocean-ruinsburied-treasuredesert-temple(alternative name:desert)end-cityigloojungle-temple-dispenserjungle-temple(alternative name:jungle)mineshaftmonster roommoon-labmoon-resuplynether-fortress(alternative names:nether,nether-fortress)pillager-outpost(alternative name:outpost)ruined-portalshipwreck-mapshipwreck-supplyshipwreck-treasurestronghold-altar(alternative name:altar)stronghold-library(alternative name:library)stronghold-storeroom(alternative name:storeroom)trial-chambers-chamber-dispensertrial-chambers-corridor-dispensertrial-chambers-corridor-pottrial-chambers-corridortrial-chambers-entrancetrial-chambers-intersection-barreltrial-chambers-intersectiontrial-chambers-reward-ominoustrial-chambers-reward(alternative name:trial-vault)trial-chambers-supplytrial-chambers-trial-spawner-ominoustrial-chambers-trial-spawner(alternative name:trial-spawner)trial-chambers-water-dispenserunderwater-ruin-bigunderwater-ruin-smallvillage-armorer(alternative name:armorer)village-butcher(alternative name:butcher)village-cartographer(alternative name:cartographer)village-desert-house(alternative name:desert-house)village-fisherman(alternative name:fisherman)village-fletcher(alternative name:fletcher)village-mason(alternative name:mason)village-plains-house(alternative name:plains-house)village-savanna-house(alternative name:savanna-house)village-shepherd(alternative name:shepherd)village-snowy-house(alternative name:snowy-house)village-taiga-house(alternative name:taiga-house)village-tannery(alternative name:tannery)village-temple(alternative name:temple)village-toolsmith(alternative name:toolsmith)village-weaponsmith(alternative name:weaponsmith)woodland-mansion(alternative name:mansion)
Column parameters
chance: The odds of finding any of this item in a single chest.,
chests: The average number of chests the player should expect to search to find any of this item.,
items: The number of items expected per chest, averaged over a large number of chests.,
stacksize: The size of stacks (or for unstackable items, number) of this item on any given roll.,
weight: The weight of this item relative to other items in the pool.
Example
{{LootChest|mineshaft|monster room|chance|stacksize}} shows loot for mineshaft and dungeon chests, and only shows the data for the 'stacksize' and 'chance' columns
Lua error in Module:LootChest at line 1611: attempt to call field 'gfind' (a nil value).
Cite error: <ref> tags exist for a group named "FN", but no corresponding <references group="FN"/> tag was found