Template:Trader gold row: Difference between revisions
Jump to navigation
Jump to search
(Created) |
m (add missing }}) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{ | <includeonly><onlyinclude>{{DropTableGold|lower={{StoreTraderGold|{{{lower}}}|{{{wealth}}} }}|upper={{StoreTraderGold|{{{upper}}}|{{{wealth}}}|upper=true }}|note={{#tag:ref|Gold for a {{{wealth}}} trader from levels {{{lower}}} to {{{upper}}}|name={{{wealth}}}_{{{lower}}}_{{{upper}}} }} }}</onlyinclude></includeonly><noinclude> | ||
This template is used to display the amount of gold a trader has. The level range can be adjusted to show a more realistic range of gold, such as limiting it to level 9+ for Baldur's Gate merchants. | This template is used to display the amount of gold a trader has. The level range can be adjusted to show a more realistic range of gold, such as limiting it to level 9+ for Baldur's Gate merchants. | ||
Line 6: | Line 6: | ||
<pre>{{TraderGoldRow | <pre>{{TraderGoldRow | ||
|wealth=the trader wealth type (one of poor, modest, normal, wealthy, extremelyrich | |wealth=the trader wealth type (one of poor, modest, normal, wealthy, extremelyrich) | ||
|lower=the lower bound's level | |lower=the lower bound's level | ||
|upper=the upper bound's level | |upper=the upper bound's level | ||
}} | |||
</pre> | </pre> | ||
Latest revision as of 16:40, 18 October 2023
This template is used to display the amount of gold a trader has. The level range can be adjusted to show a more realistic range of gold, such as limiting it to level 9+ for Baldur's Gate merchants.
Params
{{TraderGoldRow |wealth=the trader wealth type (one of poor, modest, normal, wealthy, extremelyrich) |lower=the lower bound's level |upper=the upper bound's level }}
For example, if you want to get the gold a Modest trader has when the player is between the levels 1 and 5:
{{TraderGoldRow|wealth=modest|lower=1|upper=5}}Result:
Item | Quantity | Chance | |
---|---|---|---|
Gold [1] | 120 - 648 | Always |
- ↑ Gold for a modest trader from levels 1 to 5
Note that Template:TraderGoldRow needs to be surrounded with {{DropTableStart}}
and {{DropTableEnd}}
to be properly formatted.
Examples
These examples are for lower=1 and upper=12 for each wealth level of trader.
Item | Quantity | Chance | |
---|---|---|---|
Gold [1] | 60 - 576 | Always | |
Gold [2] | 120 - 1152 | Always | |
Gold [3] | 200 - 2160 | Always | |
Gold [4] | 440 - 3888 | Always | |
Gold [5] | 1200 - 8640 | Always |