User:Sky/AuntieEthel: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
 
(27 intermediate revisions by the same user not shown)
Line 2: Line 2:


'''Treasure table''': The things in the game files. Machine-friendly form
'''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
'''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 <code><section></code> feature for reusing drop table parts.
Testing for Auntie Ethel's drop table. Also includes testing on the <code><section></code> feature for reusing drop table parts.


== Shop table ==
(not including gold. todo.)
=== Stock ===
''Auntie Ethel always has these items to sell, sweetcheeks.''
{{User:Sky/DropTableStart}}
{{User:Sky/DropTableRow|icon=Potion of Invisibility Icon.png|item=Potion of Invisibility|quantity=1|rarity=Always}}
{{User:Sky/DropTableRow|icon=Potion of Healing Icon.png|item=Potion of Healing|quantity=4|rarity=Always}}
{{User:Sky/DropTableRow|icon=Potion of Greater Healing Icon.png|item=Potion of Greater Healing|quantity=1|rarity=Always}}
{{User:Sky/DropTableRow|icon=Water B Icon.png|item=Water|quantity=5|rarity=Always}}
{{User:Sky/DropTableRow|icon=Elixir of Hill Giant Strength Icon.png|item=Elixir of Hill Giant Strength|quantity=3|rarity=Always}}
{{User:Sky/DropTableRow|icon=Corellons Grace Icon.png|item=Corellon's Grace|quantity=1|rarity=Always}}
{{TraderGoldRow|wealth=normal|lower=1|upper=6}}
{{User:Sky/DropTableEnd}}
=== Alchemy table ===
''Auntie Ethel will roll five or six times on this table.''
{{User:Sky/DropTableStart}}
{{User:Sky/DropTableRow|icon=Autumn Crocus Item Icon.png|item=Autumncrocus|quantity=1|rarity=1/8}}
{{User:Sky/DropTableRow|icon=Balsam Item Icon.png|item=Balsam|quantity=1|rarity=1/8}}
{{User:Sky/DropTableRow|icon=Belladonna Item Icon.png|item=Belladonna|quantity=1|rarity=1/8}}
{{User:Sky/DropTableRow|icon=Daggerroot Item Icon.png|item=Daggerroot|quantity=1|rarity=1/8}}
{{User:Sky/DropTableRow|icon=Mergrass Item Icon.png|item=Mergrass|quantity=1|rarity=1/8}}
{{User:Sky/DropTableRow|icon=Mugwort Item Icon.png|item=Mugwort|quantity=1|rarity=1/8}}
{{User:Sky/DropTableRow|icon=Weavemoss Item Icon.png|item=Weavemoss|quantity=1|rarity=1/8}}
{{User:Sky/DropTableRow|icon=Wispweed Item Icon.png|item=Wispweed|quantity=1|rarity=1/8}}
{{User:Sky/DropTableEnd}}
=== Mushroom table ===
''Auntie Ethel will roll two, three, four, or five times on the [[Rare Mushroom Table]]. On average, she will roll 3.4 times.''
{{ProbabilityTable
|quantities=2,3,4,5
|probabilities=1/5,2/5,1/5,1/5
}}
''The rare mushroom table contains the following mushrooms, depending on your level.''
{{:Rare Mushroom Table}}
=== Supplies table ===
''Auntie Ethel rolls one or two times on this table. On average, she will have 4.7 [[Camp Supplies]].''
{{ProbabilityTable
|quantities=1,2
|probabilities=3/5,2/5
}}
{{User:Sky/DropTableStart}}
{{User:Sky/DropTableRow|icon=Purple grapes icon.png|item=Food Supply Table 2|quantity=1|rarity=1/5}}
{{User:Sky/DropTableRow|icon=Dried Pork Sausage Icon.png|item=Food Supply Table 3|quantity=1|rarity=2/5}}
{{User:Sky/DropTableRow|icon=Pigs Head Icon.png|item=Food Supply Table 4|quantity=1|rarity=2/5}}
{{User:Sky/DropTableEnd}}
== todo: move to real page ==
=== 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
|}
|}


Line 57: Line 113:
=== Including it in a drop table ===
=== 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
The easiest way is to use the [[User:Sky/TraderGoldRow]] template with the appropriate wealth and level bound parameters.


{{User:Sky/DropTableStart}}
{{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="poor"/>{{User:Sky/TraderGoldRow|wealth=poor|lower=1|upper=12}}<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="modest"/>{{User:Sky/TraderGoldRow|wealth=modest|lower=1|upper=12}}<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="normal"/>{{User:Sky/TraderGoldRow|wealth=normal|lower=1|upper=12}}<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="wealthy"/>{{User:Sky/TraderGoldRow|wealth=wealthy|lower=1|upper=12}}<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">
<section begin="extremelywealthy"/>{{User:Sky/TraderGoldRow|wealth=extremelyrich|lower=1|upper=12}}<section end="extremelywealthy"/>
{{User:Sky/DropTableEnd}}
{{User:Sky/DropTableEnd}}

Latest revision as of 11:37, 1 September 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.

Shop table[edit | edit source]

(not including gold. todo.)

Stock[edit | edit source]

Auntie Ethel always has these items to sell, sweetcheeks.

Item Quantity Rarity
Potion of Invisibility Icon.png Potion of Invisibility 1 Always
Potion of Healing Icon.png Potion of Healing 4 Always
Potion of Greater Healing Icon.png Potion of Greater Healing 1 Always
Water B Icon.png Water 5 Always
Elixir of Hill Giant Strength Icon.png Elixir of Hill Giant Strength 3 Always
Corellons Grace Icon.png Corellon's Grace 1 Always
Gold [1] 200 - 1350 Always
  1. Gold for a normal trader from levels 1 to 6

Alchemy table[edit | edit source]

Auntie Ethel will roll five or six times on this table.

Item Quantity Rarity
Autumn Crocus Item Icon.png Autumncrocus 1 1/8
Balsam Item Icon.png Balsam 1 1/8
Belladonna Item Icon.png Belladonna 1 1/8
Daggerroot Item Icon.png Daggerroot 1 1/8
Mergrass Item Icon.png Mergrass 1 1/8
Mugwort Item Icon.png Mugwort 1 1/8
Weavemoss Item Icon.png Weavemoss 1 1/8
Wispweed Item Icon.png Wispweed 1 1/8

Mushroom table[edit | edit source]

Auntie Ethel will roll two, three, four, or five times on the Rare Mushroom Table. On average, she will roll 3.4 times.

Quantity2345
Chance 1/52/51/51/5

The rare mushroom table contains the following mushrooms, depending on your level.

Item Quantity Chance
Level 1 - 5
Acorn Truffle 1 Always
Level 6+
Acorn Truffle 1 1/4
Nightlight Frond 1 1/4
Swarming Toadstool 1 1/4
Tongue of Madness 1 1/4


Supplies table[edit | edit source]

Auntie Ethel rolls one or two times on this table. On average, she will have 4.7 Camp Supplies.

Quantity12
Chance 3/52/5
Item Quantity Rarity
Purple grapes icon.png Food Supply Table 2 1 1/5
Dried Pork Sausage Icon.png Food Supply Table 3 1 2/5
Pigs Head Icon.png Food Supply Table 4 1 2/5

todo: move to real page[edit | edit source]

ST_Gold_Trader_Part[edit | edit source]

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[edit | edit source]

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[edit | edit source]

The easiest way is to use the User:Sky/TraderGoldRow template with the appropriate wealth and level bound parameters.

User:Sky/TraderGoldRowUser:Sky/TraderGoldRowUser:Sky/TraderGoldRowUser:Sky/TraderGoldRowUser:Sky/TraderGoldRow
Item Quantity Rarity