From Dark and Darker Wiki
mNo edit summary |
(Moved code from Template:Quest Items) |
||
| Line 8: | Line 8: | ||
{{#loop: loopTr|0|{{#arraysize:traders_arr}}|<!-- | {{#loop: loopTr|0|{{#arraysize:traders_arr}}|<!-- | ||
--> | --> | ||
{{#vardefine:cur_trader|{{#arrayindex:traders_arr|{{#var:loopTr}}}}}} | |||
{{#arraydefine:chapters_array| | {{#arraydefine:chapters_array| | ||
{{Merchant Data|{{#arrayindex:traders_arr|{{#var:loopTr}}}}|QuestChapters|All}} | {{Merchant Data|{{#arrayindex:traders_arr|{{#var:loopTr}}}}|QuestChapters|All}} | ||
| Line 40: | Line 41: | ||
|<!--True--> | |<!--True--> | ||
{{#vardefine:{{#var:current_item}}|{{#expr:{{#var:current_quantity}}+{{#var:{{#var:current_item}}}}}}}} | {{#vardefine:{{#var:current_item}}|{{#expr:{{#var:current_quantity}}+{{#var:{{#var:current_item}}}}}}}} | ||
{{#arraydefine:quests{{#var:current_item}}|{{#arrayprint:quests{{#var:current_item}}|,}},{{#var:cur_trader}}}} | |||
|<!--False--> | |<!--False--> | ||
{{#arraydefine:array_item_names|{{#arrayprint:array_item_names|,}},{{#var:current_item}}}} | {{#arraydefine:array_item_names|{{#arrayprint:array_item_names|,}},{{#var:current_item}}}} | ||
{{#vardefine:{{#var:current_item}}|{{#var:current_quantity}}}} | {{#vardefine:{{#var:current_item}}|{{#var:current_quantity}}}} | ||
{{#arraydefine:quests{{#var:current_item}}|{{#var:cur_trader}}}} | |||
}} | }} | ||
| Line 64: | Line 67: | ||
|<!--True--> | |<!--True--> | ||
{{#vardefine:{{#var:current_item}}|{{#expr:{{#var:current_quantity}}+{{#var:{{#var:current_item}}}}}}}} | {{#vardefine:{{#var:current_item}}|{{#expr:{{#var:current_quantity}}+{{#var:{{#var:current_item}}}}}}}} | ||
{{#arraydefine:quests{{#var:current_item}}|{{#arrayprint:quests{{#var:current_item}}|,}},{{#var:cur_trader}}}} | |||
|<!--False--> | |<!--False--> | ||
{{#arraydefine:array_item_names|{{#arrayprint:array_item_names|,}},{{#var:current_item}}}} | {{#arraydefine:array_item_names|{{#arrayprint:array_item_names|,}},{{#var:current_item}}}} | ||
{{#vardefine:{{#var:current_item}}|{{#var:current_quantity}}}} | {{#vardefine:{{#var:current_item}}|{{#var:current_quantity}}}} | ||
{{#arraydefine:quests{{#var:current_item}}|{{#var:cur_trader}}}} | |||
}} | }} | ||
| Line 88: | Line 93: | ||
|<!--True--> | |<!--True--> | ||
{{#vardefine:{{#var:current_item}}|{{#expr:{{#var:current_quantity}}+{{#var:{{#var:current_item}}}}}}}} | {{#vardefine:{{#var:current_item}}|{{#expr:{{#var:current_quantity}}+{{#var:{{#var:current_item}}}}}}}} | ||
{{#arraydefine:quests{{#var:current_item}}|{{#arrayprint:quests{{#var:current_item}}|,}},{{#var:cur_trader}}}} | |||
|<!--False--> | |<!--False--> | ||
{{#arraydefine:array_item_names|{{#arrayprint:array_item_names|,}},{{#var:current_item}}}} | {{#arraydefine:array_item_names|{{#arrayprint:array_item_names|,}},{{#var:current_item}}}} | ||
{{#vardefine:{{#var:current_item}}|{{#var:current_quantity}}}} | {{#vardefine:{{#var:current_item}}|{{#var:current_quantity}}}} | ||
{{#arraydefine:quests{{#var:current_item}}|{{#var:cur_trader}}}} | |||
}} | }} | ||
| Line 112: | Line 119: | ||
|<!--True--> | |<!--True--> | ||
{{#vardefine:{{#var:current_item}}|{{#expr:{{#var:current_quantity}}+{{#var:{{#var:current_item}}}}}}}} | {{#vardefine:{{#var:current_item}}|{{#expr:{{#var:current_quantity}}+{{#var:{{#var:current_item}}}}}}}} | ||
{{#arraydefine:quests{{#var:current_item}}|{{#arrayprint:quests{{#var:current_item}}|,}},{{#var:cur_trader}}}} | |||
|<!--False--> | |<!--False--> | ||
{{#arraydefine:array_item_names|{{#arrayprint:array_item_names|,}},{{#var:current_item}}}} | {{#arraydefine:array_item_names|{{#arrayprint:array_item_names|,}},{{#var:current_item}}}} | ||
{{#vardefine:{{#var:current_item}}|{{#var:current_quantity}}}} | {{#vardefine:{{#var:current_item}}|{{#var:current_quantity}}}} | ||
{{#arraydefine:quests{{#var:current_item}}|{{#var:cur_trader}}}} | |||
}} | }} | ||
| Line 136: | Line 145: | ||
|<!--True--> | |<!--True--> | ||
{{#vardefine:{{#var:current_item}}|{{#expr:{{#var:current_quantity}}+{{#var:{{#var:current_item}}}}}}}} | {{#vardefine:{{#var:current_item}}|{{#expr:{{#var:current_quantity}}+{{#var:{{#var:current_item}}}}}}}} | ||
{{#arraydefine:quests{{#var:current_item}}|{{#arrayprint:quests{{#var:current_item}}|,}},{{#var:cur_trader}}}} | |||
|<!--False--> | |<!--False--> | ||
{{#arraydefine:array_item_names|{{#arrayprint:array_item_names|,}},{{#var:current_item}}}} | {{#arraydefine:array_item_names|{{#arrayprint:array_item_names|,}},{{#var:current_item}}}} | ||
{{#vardefine:{{#var:current_item}}|{{#var:current_quantity}}}} | {{#vardefine:{{#var:current_item}}|{{#var:current_quantity}}}} | ||
{{#arraydefine:quests{{#var:current_item}}|{{#var:cur_trader}}}} | |||
}} | }} | ||
| Line 160: | Line 171: | ||
|<!--True--> | |<!--True--> | ||
{{#vardefine:{{#var:current_item}}|{{#expr:{{#var:current_quantity}}+{{#var:{{#var:current_item}}}}}}}} | {{#vardefine:{{#var:current_item}}|{{#expr:{{#var:current_quantity}}+{{#var:{{#var:current_item}}}}}}}} | ||
{{#arraydefine:quests{{#var:current_item}}|{{#arrayprint:quests{{#var:current_item}}|,}},{{#var:cur_trader}}}} | |||
|<!--False--> | |<!--False--> | ||
{{#arraydefine:array_item_names|{{#arrayprint:array_item_names|,}},{{#var:current_item}}}} | {{#arraydefine:array_item_names|{{#arrayprint:array_item_names|,}},{{#var:current_item}}}} | ||
{{#vardefine:{{#var:current_item}}|{{#var:current_quantity}}}} | {{#vardefine:{{#var:current_item}}|{{#var:current_quantity}}}} | ||
{{#arraydefine:quests{{#var:current_item}}|{{#var:cur_trader}}}} | |||
}} | }} | ||
| Line 177: | Line 190: | ||
<!-- Result Table --> | <!-- Result Table --> | ||
<table cellspacing="0" class="wikitable sortable jquery-tablesorter" style="width: | <table id="SumQuestItemsTable" cellspacing="0" class="wikitable sortable jquery-tablesorter" style="width:70%; color:#eee; background:transparent; text-align:center; vertical-align:middle;"><!-- | ||
--><tr><!-- | --><tr><!-- | ||
--><th style="width: | --><th style="width:40%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Item name</th><!-- | ||
--><th style="width: | --><th style="width:15%" class="headerSort" tabindex="1" role="columnheader button" title="Quantity">Quantity</th><!-- | ||
--><th style="width:50%" class="headerSort" tabindex="2" role="columnheader button" title="Traders">Traders</th></tr><!-- | |||
-->{{#loop:LoopTest|0|{{#arraysize:array_item_names}} | -->{{#loop:LoopTest|0|{{#arraysize:array_item_names}} | ||
|<!-- Loop --> | |<!-- Loop --> | ||
{{#vardefine:name|{{#arrayindex:array_item_names|{{#var:LoopTest}}}}}} | {{#vardefine:name|{{#arrayindex:array_item_names|{{#var:LoopTest}}}}}} | ||
<tr><td>{{#var:name}}</td><td>{{#var:{{#var:name}}}}</td></tr> | <tr><td>{{#var:name}}</td><td>{{#var:{{#var:name}}}}</td><td>{{#arrayprint:quests{{#var:name}}|, }}</td></tr> | ||
}}<!-- | }}<!-- | ||
--></table><!-- | --></table><!-- | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
{{SumQuestItems}} | {{Template:SumQuestItems}} | ||
Revision as of 16:06, 15 September 2024
| Item name | Quantity | Traders |
|---|---|---|
| Phantom Flower (any rarity) | 1 | Alchemist |
| Wardweed (any rarity) | 1 | Alchemist |
| Lifeleaf (any rarity) | 4 | Alchemist,The Collector |
| Broken Skull (any rarity) | 2 | Alchemist |
| Grave Essence (any rarity) | 3 | Alchemist,Tavern Master |
| Maggots (any rarity) | 7 | Alchemist,Surgeon |
| Potion of Healing (any rarity) | 2 | Alchemist |
| Potion of Protection (any rarity) | 2 | Alchemist |
| Potion of Invisibility (any rarity) | 2 | Alchemist |
| Hardened Shell Fragment (any rarity) | 4 | Alchemist |
| Magma Essence (any rarity) | 3 | Alchemist |
| Flickering Ember (any rarity) | 2 | Alchemist |
| Cobalt Ore (any rarity) | 2 | Armourer |
| Uncommon Armor | 3 | Armourer,Squire |
| Rubysilver Ore (any rarity) | 2 | Armourer |
| Tidestone Ore (any rarity) | 3 | Armourer |
| Hard Crab Shell (any rarity) | 3 | Armourer |
| Sharp Sea Urchin Spine (any rarity) | 3 | Armourer |
| Hourglass (any rarity) | 2 | Armourer |
| Walking Cane (any rarity) | 2 | Armourer |
| Infected Flesh (any rarity) | 10 | Armourer |
| Old Bloody Bandage (any rarity) | 18 | Armourer,Surgeon,Tailor |
| Ceremonial Dagger (any rarity) | 2 | Cockatrice |
| Uncommon Gem Necklace | 2 | Cockatrice |
| Extra Thick Pelt (any rarity) | 3 | Cockatrice,The Collector |
| Uncommon Gem Ring | 2 | Cockatrice |
| Uncommon Gold Band | 2 | Cockatrice |
| Cockatrice's Lucky Feather (any rarity) | 2 | Cockatrice,Goblin Merchant |
| Uncommon Simple Gold Bangle | 2 | Cockatrice |
| Uncommon Patterned Gold Bangle | 2 | Cockatrice |
| Cockatrice's Egg (any rarity) | 1 | Cockatrice |
| Rare Dotted Gold Bangle | 3 | Cockatrice |
| Rare Glimmer Bangle | 3 | Cockatrice |
| Rare Turquoise Gem Bangle | 3 | Cockatrice |
| Rare Shine Bangle | 3 | Cockatrice |
| Rare Pearl Necklace | 3 | Cockatrice |
| Rare Gold Bowl | 3 | Cockatrice |
| Epic Triple Gem Bangle | 3 | Cockatrice |
| Epic Gold Candelabra | 3 | Cockatrice |
| Epic Silver Chalice | 3 | Cockatrice |
| Epic Gold Candle Holder | 3 | Cockatrice |
| Epic Slim Bangle | 3 | Cockatrice |
| Epic Gold Candle Platter | 3 | Cockatrice |
| Legend Gold Goblet | 5 | Cockatrice |
| Legend Gold Waterpot | 5 | Cockatrice |
| Legend Gold Chalice | 5 | Cockatrice |
| Legend Ancient Scroll | 5 | Cockatrice |
| Legend Gold Crown | 6 | Cockatrice,Treasurer |
| Legend Goblet | 5 | Cockatrice |
| Mimic Tongue (any rarity) | 1 | Fortune Teller |
| Blue Eyeballs (any rarity) | 1 | Fortune Teller |
| Giant Bat Ear (any rarity) | 1 | Fortune Teller |
| Torn Bat Wing (any rarity) | 1 | Fortune Teller |
| Crystal Ball (any rarity) | 1 | Fortune Teller |
| Armillary Sphere (any rarity) | 2 | Fortune Teller |
| Primitive Bracelet (any rarity) | 4 | Fortune Teller |
| Glowing Blue Ice Eyes (any rarity) | 2 | Fortune Teller |
| Frosted Feather (any rarity) | 2 | Fortune Teller,The Collector |
| Wendigo's Hoof (any rarity) | 2 | Fortune Teller,Tailor |
| Saltvine (any rarity) | 6 | Fortune Teller |
| Seaweed Necklace (any rarity) | 3 | Fortune Teller |
| Etched Wand Fragment (any rarity) | 1 | Fortune Teller |
| White Shark Fin (any rarity) | 1 | Fortune Teller |
| White Shark Hide (any rarity) | 1 | Fortune Teller |
| White Shark Tooth (any rarity) | 1 | Fortune Teller |
| Thick Forefoot (any rarity) | 1 | Fortune Teller |
| Giant Horn (any rarity) | 1 | Fortune Teller |
| Goblin Ear (any rarity) | 4 | Goblin Merchant |
| Bug Shell (any rarity) | 1 | Goblin Merchant |
| Blazing Tail (any rarity) | 1 | Goblin Merchant |
| Lava Mushroom (any rarity) | 5 | Goblin Merchant |
| Cave Trolls Precious Rock (any rarity) | 1 | Goblin Merchant |
| Cyclops Precious Mirror (any rarity) | 1 | Goblin Merchant |
| Common Diamond | 1 | Goldsmith |
| Common Ruby | 1 | Goldsmith |
| Common Emerald | 1 | Goldsmith |
| Common Blue Sapphire | 1 | Goldsmith |
| Uncommon Diamond | 1 | Goldsmith |
| Uncommon Ruby | 1 | Goldsmith |
| Uncommon Emerald | 1 | Goldsmith |
| Uncommon Blue Sapphire | 1 | Goldsmith |
| Rare Diamond | 4 | Goldsmith,Nightmare Mummy |
| Rare Ruby | 4 | Goldsmith,Nightmare Mummy |
| Rare Emerald | 4 | Goldsmith,Nightmare Mummy |
| Rare Blue Sapphire | 4 | Goldsmith,Nightmare Mummy |
| Cobalt Ingot (any rarity) | 3 | Goldsmith |
| Lukewarm Stew (any rarity) | 2 | Goldsmith,Tavern Master |
| Red Apple (any rarity) | 2 | Goldsmith,Tavern Master |
| Silver Ingot (any rarity) | 3 | Goldsmith |
| Stone Mortar (any rarity) | 1 | Goldsmith |
| Bronze Scale (any rarity) | 1 | Goldsmith |
| Rubysilver Ingot (any rarity) | 3 | Goldsmith |
| Awl (any rarity) | 3 | Goldsmith |
| Bellows (any rarity) | 3 | Goldsmith |
| Epic Ruby | 3 | Goldsmith |
| Epic Diamond | 3 | Goldsmith |
| Epic Blue Sapphire | 3 | Goldsmith |
| Epic Emerald | 3 | Goldsmith |
| Tidestone Ingot (any rarity) | 3 | Goldsmith |
| Broken Glasses (any rarity) | 3 | Goldsmith |
| Blemished Pearl (any rarity) | 3 | Goldsmith |
| Legend Ruby | 5 | Goldsmith |
| Legend Blue Sapphire | 5 | Goldsmith |
| Gold Ingot (any rarity) | 6 | Goldsmith,Weaponsmith |
| Shining Pearl (any rarity) | 6 | Goldsmith,Navigator |
| Legend Diamond | 5 | Goldsmith |
| Legend Emerald | 5 | Goldsmith |
| Mysterious Potion (any rarity) | 5 | Goldsmith |
| Pocket Watch (any rarity) | 5 | Goldsmith |
| Obsidian Ingot (any rarity) | 5 | Goldsmith |
| Epic Accessory | 5 | Huntress |
| Huntress' Gold Emblem (any rarity) | 30 | Huntress |
| Huntress' Silver Emblem (any rarity) | 7 | Huntress |
| Krampus' Silver Bell (any rarity) | 10 | Krampus |
| Krampus' Golden Bell (any rarity) | 21 | Krampus,Krampus,Krampus |
| Leather Cap (any rarity) | 1 | Leathersmith |
| Kobold's Ear (any rarity) | 27 | Leathersmith,Tailor |
| Bone (any rarity) | 34 | Leathersmith,Skeleton,The Collector |
| Sturdy Cloth (any rarity) | 8 | Leathersmith,Navigator,Tailor |
| Spider Silk (any rarity) | 4 | Leathersmith,Tailor |
| Rare Warden Outfit | 1 | Leathersmith |
| Rare Troubadour Outfit | 1 | Leathersmith |
| Rare Marauder Outfit | 1 | Leathersmith |
| Human Remains (any rarity) | 1 | Leathersmith |
| Cyclops Eye (any rarity) | 1 | Leathersmith |
| Troll's Club (any rarity) | 1 | Leathersmith |
| Cracked Tusk (any rarity) | 3 | Miner |
| Billet (any rarity) | 3 | Navigator |
| Bavin (any rarity) | 6 | Navigator,Woodsman |
| Pincushion (any rarity) | 1 | Navigator |
| Old Rope (any rarity) | 3 | Navigator |
| Sturdy Rope (any rarity) | 1 | Navigator |
| Old Nautical Chart Fragment (any rarity) | 4 | Navigator |
| Sailor's Journal (any rarity) | 1 | Navigator |
| Coral Fragment (any rarity) | 3 | Navigator |
| Crocodilian Eyeball (any rarity) | 1 | Navigator |
| Epic Scroll of Forgotten Knowledge | 1 | Nightmare Mummy |
| Intact Skull (any rarity) | 11 | Skeleton,Tavern Master |
| Common Armor | 1 | Squire |
| Common Weapon | 1 | Squire |
| Uncommon Weapon | 4 | Squire,Weaponsmith |
| Rare Armor | 2 | Squire |
| Rare Weapon | 17 | Squire,Weaponsmith,Weaponsmith |
| Uncommon Accessory | 2 | Squire |
| Bandage (any rarity) | 1 | Surgeon |
| Surgical Kit (any rarity) | 1 | Surgeon |
| Giant Toe (any rarity) | 1 | Surgeon |
| Moldy Bread (any rarity) | 7 | Surgeon,The Collector |
| Old Cloth (any rarity) | 10 | Surgeon |
| Enchanted Dark Fabric (any rarity) | 10 | Surgeon,Tailor |
| Spectral Fabric (any rarity) | 1 | Surgeon |
| Rotten Fluids (any rarity) | 11 | Tailor,Weaponsmith |
| Torn Sail (any rarity) | 3 | Tailor |
| Tar (any rarity) | 3 | Tailor |
| Cuttlefish Ink Sac (any rarity) | 1 | Tailor |
| Jellyfish Glow Essence (any rarity) | 1 | Tailor |
| Wendigo's Sharp Claws (any rarity) | 2 | Tailor,Tailor |
| Bowstring (any rarity) | 1 | Tailor |
| Wendigo's Entrails (any rarity) | 2 | Tailor,Woodsman |
| Frozen Heart (any rarity) | 1 | Tailor |
| Wendigo's Antler Fragment (any rarity) | 1 | Tailor |
| Ale (any rarity) | 4 | Tavern Master,The Collector |
| Rusty Broken Sword (any rarity) | 1 | Tavern Master |
| Bone Powder (any rarity) | 1 | Tavern Master |
| Flame Gas Bag (any rarity) | 1 | Tavern Master |
| Ectoplasm (any rarity) | 3 | Tavern Master |
| Frozen Claw (any rarity) | 3 | Tavern Master |
| Ancient Scroll (any rarity) | 1 | The Collector |
| Gold Waterpot (any rarity) | 1 | The Collector |
| Wooden Mask (any rarity) | 2 | The Collector |
| Shackles (any rarity) | 1 | The Collector |
| Wolf Fang (any rarity) | 2 | The Collector |
| Wolf Claw (any rarity) | 1 | The Collector |
| Mermaid Scale (any rarity) | 3 | The Collector |
| Mermaid's Tear (any rarity) | 1 | The Collector |
| Yeti's Teeth (any rarity) | 2 | The Collector,Woodsman |
| Rare Gold Waterpot | 2 | The Collector |
| Rare Gold Candle Holder | 2 | The Collector |
| Rare Gold Candelabra | 2 | The Collector |
| Epic Gold Bowl | 1 | The Collector |
| Tear of the Volcano (any rarity) | 10 | The Collector |
| Gem Ring (any rarity) | 1 | Treasurer |
| Gem Necklace (any rarity) | 1 | Treasurer |
| Silver Coin (any rarity) | 50 | Treasurer |
| Silver Chalice (any rarity) | 1 | Treasurer |
| Gold Goblet (any rarity) | 1 | Treasurer |
| Epic Ceremonial Dagger | 1 | Treasurer |
| Epic Simple Gold Bangle | 1 | Treasurer |
| Epic Patterned Gold Bangle | 1 | Treasurer |
| Epic Dotted Gold Bangle | 1 | Treasurer |
| Epic Turquoise Gem Bangle | 1 | Treasurer |
| Black Rose (any rarity) | 14 | Valentine,Valentine,Valentine |
| Obsidian Ore (any rarity) | 3 | Weaponsmith |
| Melted Pickaxe Head (any rarity) | 7 | Weaponsmith |
| Armor Scrap (any rarity) | 10 | Weaponsmith |
| Broken Bone Spike (any rarity) | 1 | Weaponsmith |
| Spectral Hilt (any rarity) | 1 | Weaponsmith |
| Warlord's Broken Sword Blade (any rarity) | 1 | Weaponsmith |
| Epic Weapon | 10 | Weaponsmith,Weaponsmith |
| Smoky Poison Powder (any rarity) | 1 | Weaponsmith |
| Legend Weapon | 5 | Weaponsmith |
| Campfire Kit (any rarity) | 3 | Woodsman,Woodsman |
| Cracked Log (any rarity) | 1 | Woodsman |
| Diary of the Toz (any rarity) | 1 | Woodsman |
| Chronicles of the Cursed Crown (any rarity) | 1 | Woodsman |
| Manuscripts of the Warlord (any rarity) | 1 | Woodsman |