Template:Trader gold row: Difference between revisions
Jump to navigation
Jump to search
(Fix to work around missing icon_override) |
(Use DropTableGold) |
||
Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{ | <includeonly><onlyinclude>{{DropTableGold|lower={{StoreTraderGold|{{{lower}}}|{{{wealth}}} }}|upper={{StoreTraderGold|{{{upper}}}|{{{wealth}}} }}|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. |
Revision as of 03:45, 12 September 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 - 216 | 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 - 192 | Always | |
Gold [2] | 120 - 384 | Always | |
Gold [3] | 200 - 640 | Always | |
Gold [4] | 440 - 1408 | Always | |
Gold [5] | 1200 - 3840 | Always |