Template:Loot Table: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{| class="wikitable"
<includeonly>{| class="wikitable"
|-
|-
!colspan="2"|{{{name}}}
!colspan="2"|{{{name}}}
Line 15: Line 15:
|  
|  
{{{droppedbyweight}}}
{{{droppedbyweight}}}
|}
|}</includeonly><noinclude>
==Example==
{{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}}
}}


<!-- {{Loot Table
==Usage==
|name=
Used as a simple table format for game items that use loot tables to define random item generation.
|rolls=
<pre>{{Loot Table
|droppedalways=
|name=<NameOfTable>
droppedbyweight=
|rolls=<NumberOfPicks>
}}  
|droppedalways=<ItemsAlwaysGenerated>
droppedbyweight=<ItemsSometimesGenerated>
}}</pre>
*The code above can be pasted into your page and edited.


{{Loot Table
==Example Source==
<pre>{{Loot Table
|name=Journeyman's Treasure Map
|name=Journeyman's Treasure Map
|rolls=3
|rolls=3
Line 30: Line 48:
Common Equipment
Common Equipment
|droppedbyweight=
|droppedbyweight=
{{{!}}
17% {{Small_Image_Number_Link|StripsLeather.png|5|Leather Strips}}<br/>
{{!}}-
22% {{Small_Image_Number_Link|MetalParts.png|15|Metal Parts}}<br/>
{{!}} 11% {{!}}{{!}}  {{!}}{{!}} Map Pieces
11% {{Small_Image_Number_Link|JarClayWithLinseedOil.png|1|Linseed Oil}}<br/>
{{!}}-
06% {{Small_Image_Number_Link|IngotSteel.png|1|Steel Ingot}}<br/>
{{!}} 17% {{!}}{{!}} 5 {{!}}{{!}} [[Leather Strips]]
17% {{Small_Image_Number_Link|IngotIron.png|2|Iron Ingot}}<br/>
{{!}}-
17% {{Small_Image_Number_Link|IngotBronze.png|2|Bronze Ingot}}
{{!}} 22% {{!}}{{!}} 15 {{!}}{{!}} [[Metal Parts]]
}}</pre>
{{!}}-
[[Category:Templates/Formatting]]
{{!}} 11% {{!}}{{!}} 1 {{!}}{{!}} [[Linseed Oil]]
</noinclude>
{{!}}-
{{!}} 06% {{!}}{{!}} 1 {{!}}{{!}} [[Steel Ingot]]
{{!}}-
{{!}} 17% {{!}}{{!}} 2 {{!}}{{!}} [[Iron Ingot]]
{{!}}-
{{!}} 17% {{!}}{{!}} 2 {{!}}{{!}} [[Bronze Ingot]]
{{!}}}
}}
-->

Revision as of 10:31, 22 October 2018

Example

Journeyman's Treasure Map
Rolls

3

Always Dropped

Fancy Equipment
Common Equipment

Weighted Drops

17% 5  Leather Strips
22% 15  Metal Parts
11% 1  Linseed Oil
06% 1  Steel Ingot
17% 2  Iron Ingot
17% 2  Bronze Ingot

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}}
}}