User:Sky/AuntieEthel: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 54: Line 54:
| Gold_Trader_ExtremelyRich || 60
| Gold_Trader_ExtremelyRich || 60
|}
|}
=== Including it in a drop table ===
The easiest way is to include the gold in a drop table as one of the following rows, then add a link to the full per-level breakdown. The following rows are each labelled with a [https://www.mediawiki.org/wiki/Extension:Labeled_Section_Transclusion labeled section] for transclusion
{{User:Sky/DropTableStart}}
<section begin="poor"/>{{User:Sky/DropTableRow|icon=Gold Pile Single Icon.png|item=Gold|quantity=15 - 64|rarity=Always|note=<ref name=todo>todo:add a fully expanded gold trader table</ref>}}<section end="poor"/>
<section begin="modest"/>{{User:Sky/DropTableRow|icon=Gold Pile Small Icon.png|item=Gold|quantity=30 - 128|rarity=Always|note=<ref name=todo>todo:add a fully expanded gold trader table</ref>}}<section end="modest"/>
<section begin="normal"/>{{User:Sky/DropTableRow|icon=Gold Pile Medium Icon.png|item=Gold|quantity=50 - 240|rarity=Always|note=<ref name=todo>todo:add a fully expanded gold trader table</ref>}}<section end="normal">
<section begin="wealthy"/>{{User:Sky/DropTableRow|icon=Gold Pile Medium Icon.png|item=Gold|quantity=110 - 432|rarity=Always|note=<ref name=todo>todo:add a fully expanded gold trader table</ref>}}<section end="wealthy">
<section begin="extremelywealthy"/>{{User:Sky/DropTableRow|icon=Gold Pile Large Icon.png|item=Gold|quantity=300 - 960|rarity=Always|note=<ref name=todo>todo:add a fully expanded gold trader table</ref>}}<section end="extremelywealthy">
{{User:Sky/DropTableEnd}}

Revision as of 13:57, 31 August 2023


Treasure table: The things in the game files. Machine-friendly form Drop table: The actual table(s) that display everything we can get as drops, in a human-friendly form

Testing for Auntie Ethel's drop table. Also includes testing on the <section> feature for reusing drop table parts.

ST_Gold_Trader_Part

This is a treasure table used a lot in shops. Shouldn't be directly included in drop tables.

Level Gold
1 5
2 6
3 7
4 8
5 9
6 10
7 11
8 12
9 13
10 14
11 15
12 16

Gold_Trader tables

There are a lot of tables that scale the amount of gold depending on how rich the trader is. They are implemented as a number of rolls on the ST_Gold_Trader_Part table. These are also not usable for drop tables yet. But we're getting there.

Table Multipliers
Gold_Trader_Poor 3;4
Gold_Trader_Modest 6;7;8
Gold_Trader_Normal 10;11;12;13;14;15
Gold_Trader_Wealthy 22;25;27
Gold_Trader_ExtremelyRich 60

Including it in a drop table

The easiest way is to include the gold in a drop table as one of the following rows, then add a link to the full per-level breakdown. The following rows are each labelled with a labeled section for transclusion

<section end="normal"> <section end="wealthy"> <section end="extremelywealthy">
Item Quantity Rarity
Gold Pile Single Icon.png Gold [1] 15 - 64 Always
Gold Pile Small Icon.png Gold [1] 30 - 128 Always
Gold Pile Medium Icon.png Gold [1] 50 - 240 Always
Gold Pile Medium Icon.png Gold [1] 110 - 432 Always
Gold Pile Large Icon.png Gold [1] 300 - 960 Always
  1. 1.0 1.1 1.2 1.3 1.4 todo:add a fully expanded gold trader table