User:Sky/AuntieEthel: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
Line 7: Line 7:


=== ST_Gold_Trader_Part ===
=== ST_Gold_Trader_Part ===
This is a treasure table used a lot in shops. Shouldn't be directly included in drop tables.
This is a treasure table used a lot in shops. Shouldn't be directly included in drop tables. Each ST_Gold_Trader_Part actually drops an <code>OBJ_GoldPile</code> which is 4-9 gold.


{| class="wikitable"
{| class="wikitable"
! Level !! Gold
! Level !! Gold piles !! Gold ranges
|-
|-
| 1 || 5
| 1 || 5 || 20 - 45
|-
|-
| 2 || 6
| 2 || 6 || 24 - 54
|-
|-
| 3 || 7
| 3 || 7 || 28 - 63
|-
|-
| 4 || 8
| 4 || 8 || 32 - 72
|-
|-
| 5 || 9
| 5 || 9 || 36 - 81
|-
|-
| 6 || 10
| 6 || 10 || 40 - 90
|-
|-
| 7 || 11
| 7 || 11 || 44 - 99
|-
|-
| 8 || 12
| 8 || 12 || 48 - 108
|-
|-
| 9 || 13
| 9 || 13 || 52 - 117
|-
|-
| 10 || 14
| 10 || 14 || 56 - 126
|-
|-
| 11 || 15
| 11 || 15 || 60 - 135
|-
|-
| 12 || 16
| 12 || 16 || 64 - 144
|}
|}



Revision as of 17:09, 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. Each ST_Gold_Trader_Part actually drops an OBJ_GoldPile which is 4-9 gold.

Level Gold piles Gold ranges
1 5 20 - 45
2 6 24 - 54
3 7 28 - 63
4 8 32 - 72
5 9 36 - 81
6 10 40 - 90
7 11 44 - 99
8 12 48 - 108
9 13 52 - 117
10 14 56 - 126
11 15 60 - 135
12 16 64 - 144

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; respectively, "poor", "modest", "normal", "wealthy", and "extremelywealthy".

Item Quantity Rarity
Gold Pile Single Item Image.png Gold [1] 15 - 64 Always
Gold Pile Small Item Image.png Gold [1] 30 - 128 Always
Gold Pile Medium Item Image.png Gold [1] 50 - 240 Always
Gold Pile Medium Item Image.png Gold [1] 110 - 432 Always
Gold Pile Large Item Image.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