Template:Loot Table: Difference between revisions
Jump to navigation
Jump to search
CptTwinkie (talk | contribs) mNo edit summary |
CptTwinkie (talk | contribs) mNo edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{| class="wikitable" | <includeonly>{| class="wikitable" | ||
|- | |- | ||
!colspan="2"|{{{name}}} | !colspan="2"|{{{name|}}} | ||
|- | |- | ||
| Rolls | | Rolls | ||
| | | | ||
{{{rolls}}} | {{{rolls|}}} | ||
|- | |- | ||
| Always Dropped | | Always Dropped | ||
| | | | ||
{{{droppedalways}}} | {{{droppedalways|}}} | ||
|- | |- | ||
| | | | ||
Weighted Drops | Weighted Drops | ||
| | | | ||
{{{droppedbyweight}}} | {{{droppedbyweight|}}} | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
==Example== | ==Example== | ||
Revision as of 11:28, 22 October 2018
Example
| Journeyman's Treasure Map | |
|---|---|
| Rolls |
3 |
| Always Dropped |
Fancy Equipment |
|
Weighted Drops |
17% |
Usage
Used as a simple table format for game items that use loot tables to define random item generation.
{{Loot Table
|name=<NameOfTable>
|rolls=<NumberOfPicks>
|droppedalways=<ItemsAlwaysGenerated>
droppedbyweight=<ItemsSometimesGenerated>
}}
- The code above can be pasted into your page and edited.
Example Source
{{Loot Table
|name=Journeyman's Treasure Map
|rolls=3
|droppedalways=Fancy Equipment<br/>
Common Equipment
|droppedbyweight=
17% {{Small_Image_Number_Link|StripsLeather.png|5|Leather Strips}}<br/>
22% {{Small_Image_Number_Link|MetalParts.png|15|Metal Parts}}<br/>
11% {{Small_Image_Number_Link|JarClayWithLinseedOil.png|1|Linseed Oil}}<br/>
06% {{Small_Image_Number_Link|IngotSteel.png|1|Steel Ingot}}<br/>
17% {{Small_Image_Number_Link|IngotIron.png|2|Iron Ingot}}<br/>
17% {{Small_Image_Number_Link|IngotBronze.png|2|Bronze Ingot}}
}}