Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Trader gold row

Template page
Revision as of 16:24, 18 October 2023 by Sky (talk | contribs) (Sky moved page Template:TraderGoldRow to Template:Trader gold row)


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
  1. 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
  1. Gold for a poor trader from levels 1 to 12
  2. Gold for a modest trader from levels 1 to 12
  3. Gold for a normal trader from levels 1 to 12
  4. Gold for a wealthy trader from levels 1 to 12
  5. Gold for a extremelyrich trader from levels 1 to 12