Template:Expose Item: Difference between revisions
(trim attempt 2) |
(Trim properly 3) |
||
Line 1: | Line 1: | ||
<onlyinclude><includeonly>{{#lvardef:entry|{{{1|}}}++{{#var:page_expose_item_level_low}}++{{#var:page_expose_item_level_high}}}} | <onlyinclude><includeonly>{{#lvardef:entry|{{Trim|{{{1|}}}}}++{{#var:page_expose_item_level_low}}++{{#var:page_expose_item_level_high}}}} | ||
{{#vardefine:page_exposed_items|{{#if:{{#var:page_exposed_items}}|{{#var:page_exposed_items}},{{#lvar:entry}}|{{#lvar:entry}}}}}}</includeonly></onlyinclude> | {{#vardefine:page_exposed_items|{{#if:{{#var:page_exposed_items}}|{{#var:page_exposed_items}},{{#lvar:entry}}|{{#lvar:entry}}}}}}</includeonly></onlyinclude> | ||
Line 16: | Line 16: | ||
The level low and high are read from vars <tt>page_expose_item_level_low</tt> and <tt>page_expose_item_level_high</tt>, defaulting to 1 and 12, respectively. Vars are set with [[Template:Expose Item/SetLevel]] and reset with [[Template:Expose Item/ResetLevel]]. '''ResetLevel''' should be called by '''DropTableStart''', while '''SetLevel''' should be called by [[Template:DropTableLevel]]. [[Template:DropTableDivider]] will be the implementation details of '''DropTableLevel'''. | The level low and high are read from vars <tt>page_expose_item_level_low</tt> and <tt>page_expose_item_level_high</tt>, defaulting to 1 and 12, respectively. Vars are set with [[Template:Expose Item/SetLevel]] and reset with [[Template:Expose Item/ResetLevel]]. '''ResetLevel''' should be called by '''DropTableStart''', while '''SetLevel''' should be called by [[Template:DropTableLevel]]. [[Template:DropTableDivider]] will be the implementation details of '''DropTableLevel'''. | ||
Example below: | |||
{{User:Sky/ArronCopy}} |
Latest revision as of 09:53, 14 September 2023
Warning: at the moment this is an experimental template and it may be changed without warning or backwards compatibility. Please don't use it without a good reason to.
What this templates does: it appends the provided single item name to the contents of the non-locally scoped var page_exposed_items.
Why: This will make it possible to collect a list of every drop table item transcluded into a page, thus letting you later query sources of items.
{{Expose Item|<item name to expose>}}Items are stored in following format separated by commas:
ITEM_NAME++LEVEL_LOW++LEVEL_HIGH
The level low and high are read from vars page_expose_item_level_low and page_expose_item_level_high, defaulting to 1 and 12, respectively. Vars are set with Template:Expose Item/SetLevel and reset with Template:Expose Item/ResetLevel. ResetLevel should be called by DropTableStart, while SetLevel should be called by Template:DropTableLevel. Template:DropTableDivider will be the implementation details of DropTableLevel.
Example below:
Shop
![]() | This page is in the process of being constructed or reformatted. You are welcome to contribute as well. Last edited on 2023-09-14. If multiple days have passed since, this template should be removed. |
Stock
Arron always has these bits and bobs that he no longer needs.
Item | Quantity | Chance | |
---|---|---|---|
![]() |
1 | Always | |
![]() |
1 | Always | |
![]() |
1 | Always | |
![]() |
1 | Always | |
![]() |
1 | Always | |
![]() |
1 | Always | |
![]() |
1 | Always | |
![]() |
1 | Always | |
![]() |
3 | Always | |
Level 6+ | |||
![]() |
3 | Always | |
![]() |
4 | Always | |
![]() |
5 | Always | |
![]() |
10 | Always | |
![]() |
200 - 1350 | Always |
- ↑ Gold for a normal trader from levels 1 to 6
Magic Armour
The magic armour contains the following items:
Includes all eligible items from the Magic Armour Trader Table. Below is a list of those items; the actual stock will depend on your level.
Item | Quantity | ||
---|---|---|---|
Light armour[1] | |||
![]() |
1 | ||
![]() |
1 | ||
![]() |
1 | ||
![]() |
1 | ||
![]() |
1 | ||
![]() |
1 | ||
Medium armour[2] | |||
![]() |
1 | ||
![]() |
1 | ||
![]() |
1 | ||
![]() |
1 | ||
![]() |
1 | ||
![]() |
1 | ||
![]() |
1 | ||
![]() |
1 | ||
![]() |
1 | ||
![]() |
1 | ||
Heavy armour[3] | |||
![]() |
1 | ||
![]() |
1 | ||
![]() |
1 | ||
![]() |
1 | ||
![]() |
1 | ||
![]() |
1 | ||
![]() |
1 | ||
![]() |
1 |
- ↑ From the Light Magic Armour Trader Table.
- ↑ From the Medium Magic Armour Trader Table.
- ↑ From the Heavy Magic Armour Trader Table.
Potion
Arron rolls three times on the Potion Table.
The potion table contains the following items:
Item | Quantity | Chance | |
---|---|---|---|
![]() |
1 | 5/8 | |
![]() |
1 | 2/8 | |
![]() |
1 | 1/8 |
The following is every potion from this table.
-
Elixir of Radiant Resistance
-
Potion of Healing
-
Potion of Greater Healing
-
Potion of Superior Healing
-
Potion of Supreme Healing
-
Antidote
-
Potion of Animal Speaking
-
Potion of Feather Fall
-
Potion of Flying
-
Potion of Gaseous Form
-
Potion of Glorious Vaulting
-
Potion of Mind Reading
-
Potion of Invisibility
-
Potion of Speed
-
Remedial Potion
-
Elixir of Arcane Cultivation
-
Elixir of Barkskin
-
Elixir of Bloodlust
-
Elixir of Darkvision
-
Elixir of Fire Resistance
-
Elixir of Heroism
-
Elixir of Hill Giant Strength
-
Elixir of Lightning Resistance
-
Elixir of Peerless Focus
-
Elixir of Poison Resistance
-
Elixir of the Colossus
-
Elixir of Vigilance
-
Greater Elixir of Arcane Cultivation
-
Elixir of Battlemage's Power
-
Elixir of Guileful Movement
-
Elixir of Necrotic Resistance
-
Elixir of See Invisibility
-
Elixir of Viciousness
-
Superior Elixir of Arcane Cultivation
Elixir of Cloud Giant Strength
Elixir of Psychic Resistance
Supreme Elixir of Arcane Cultivation
Scroll
Arron rolls 9 times on the Scroll Table. See Scrolls for a list of many of the scrolls in the game.
Item | Quantity | Chance | |
---|---|---|---|
![]() |
1 | 3/4 | |
![]() |
1 | 1/4 |
Arrows
Rolls 9 times on the Common Special Arrow Table.
Item | Quantity | Chance | |
---|---|---|---|
![]() |
1 | 1/4 | |
![]() |
1 | 1/4 | |
![]() |
1 | 1/4 | |
![]() |
1 | 1/4 |
Rolls 5 times on the Uncommon Special Arrow Table.
Item | Quantity | Chance | |
---|---|---|---|
![]() |
1 | 1/3 | |
![]() |
1 | 1/3 | |
![]() |
1 | 1/3 |
Supplies
The Fancy Trader Table is worth a total of 55.5 + # Camp Supplies on average.
Food
Rolls two or three times. Worth 14.8 Camp Supplies on average.
Quantity | 2 | 3 |
---|---|---|
Chance | 3/5 | 2/5 |
Item | Quantity | Chance | |
---|---|---|---|
![]() |
1 | 1/22 | |
![]() |
1 | 2/22 | |
![]() |
1 | 3/22 | |
![]() |
1 | 4/22 | |
![]() |
1 | 4/22 | |
![]() |
1 | 4/22 | |
![]() |
1 | 3/22 | |
![]() |
1 | 1/22 |
- ↑ Food Supply Table 12 consists entirely of a single
Pumpkin.
Cooked food
Rolls 1-3 times. Worth # Camp Supplies on average.
Quantity | 1 | 2 | 3 |
---|---|---|---|
Chance | 1/6 | 3/6 | 2/6 |
Item | Quantity | Chance | |
---|---|---|---|
![]() |
1 | 5/19 | |
![]() |
1 | 1/19 | |
![]() |
1 | 5/19 | |
![]() |
1 | 5/19 | |
![]() |
1 | 3/19 |
Drinks
Rolls 0-2 times on the Drink Supply Table. Worth 0.7 Camp Supplies on average.
Quantity | 0 | 1 | 2 |
---|---|---|---|
Chance | 1/4 | 2/4 | 1/4 |
Item | Quantity | Chance | |
---|---|---|---|
![]() |
1 | Always |
Supply pack
Always drops 1 Supply Pack, worth 40 supplies.
Item | Quantity | Chance | |
---|---|---|---|
![]() |
1 | Always |
Results
Dragon's Grasp++1++12,Ring of Flinging++1++12,Hedge Wanderer Armour++1++12,Rain Dancer++1++12,Gloves of Missile Snaring++1++12,Spellthief++1++12,Leather Armour++1++12,Leather Helmet++1++12,Potion of Healing++1++12,Scroll of Revivify++6++12,Thieves' Tools++6++12,Trap Disarm Toolkit++6++12,Dye Remover++6++12,Gold++6++12,Leather Armour +1++1++12,Leather Armour +2++1++12,Padded Armour +1++1++12,Padded Armour +2++1++12,Studded Leather Armour +1++1++12,Studded Leather Armour +2++1++12,Chain Shirt +1++1++12,Chain Shirt +2++1++12,Breastplate +1++1++12,Breastplate +2++1++12,Half Plate Armour +1++1++12,Half Plate Armour +2++1++12,Hide Armour +1++1++12,Hide Armour +2++1++12,Scale Mail +1++1++12,Scale Mail +2++1++12,Chain Mail +1++1++12,Chain Mail +2++1++12,Plate Armour +1++1++12,Plate Armour +2++1++12,Ring Mail Armour +1++1++12,Ring Mail Armour +2++1++12,Splint Armour +1++1++12,Splint Armour +2++1++12,Healing Potion Table++1++12,Utility Potion Table++1++12,Elixir Table++1++12,Single Scroll Supply Table++1++12,Single Utility Scroll Supply Table++1++12,Arrow of Acid++1++12,Arrow of Fire++1++12,Arrow of Ice++1++12,Arrow of Lightning++1++12,Arrow of Darkness++1++12,Arrow of Ilmater++1++12,Arrow of Roaring Thunder++1++12,Food Supply Table 2++1++12,Food Supply Table 3++1++12,Food Supply Table 4++1++12,Food Supply Table 5++1++12,Food Supply Table 6++1++12,Food Supply Table 7++1++12,Food Supply Table 10++1++12,Food Supply Table 12++1++12,Cooked Food Supply Table 5++1++12,Cooked Food Supply Table 8++1++12,Cooked Food Supply Table 10++1++12,Cooked Food Supply Table 15++1++12,Cooked Food Supply Table 20++1++12,Drink Supply Table++1++12,Supply Pack++1++12