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:50%; color:#eee; background:transparent; text-align:center; vertical-align:middle;"><!--
<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:50%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Item name</th><!--
--><th style="width:40%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Item name</th><!--
--><th style="width:20%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Quantity</th></tr><!--
--><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 nameQuantityTraders
Potion of Healing (any rarity)1Alchemist
Potion of Protection (any rarity)1Alchemist
Potion of Invisibility (any rarity)1Alchemist
Phantom Flower (any rarity)1Alchemist
Wardweed (any rarity)1Alchemist
Lifeleaf (any rarity)4Alchemist,The Collector
Broken Skull (any rarity)4Alchemist,Huntress
Grave Essence (any rarity)6Alchemist,Tavern Master
Maggots (any rarity)8Alchemist,Surgeon
Cobalt Ore (any rarity)3Armourer
Uncommon Armor9Armourer,Huntress,Huntress,Squire
Rubysilver Ore (any rarity)6Armourer
Blue Eyeballs (any rarity)3Armourer,Fortune Teller
Wolf Pelt (any rarity)6Armourer,The Collector
Infected Flesh (any rarity)10Armourer
Old Bloody Bandage (any rarity)19Armourer,Surgeon,Tailor
Uncommon Ceremonial Dagger3Cockatrice
Uncommon Gem Necklace3Cockatrice
Extra Thick Pelt (any rarity)6Cockatrice,Huntress,The Collector,The Collector
Uncommon Gem Ring3Cockatrice
Uncommon Gold Band3Cockatrice
Cockatrice's Lucky Feather (any rarity)2Cockatrice,Goblin Merchant
Uncommon Simple Gold Bangle3Cockatrice
Uncommon Patterned Gold Bangle3Cockatrice
Cockatrice's Egg (any rarity)1Cockatrice
Rare Dotted Gold Bangle5Cockatrice
Rare Glimmer Bangle5Cockatrice
Rare Turquoise Gem Bangle5Cockatrice
Rare Shine Bangle5Cockatrice
Rare Pearl Necklace5Cockatrice
Rare Gold Bowl5Cockatrice
Epic Triple Gem Bangle5Cockatrice
Epic Gold Candelabra5Cockatrice
Epic Silver Chalice5Cockatrice
Epic Gold Candle Holder5Cockatrice
Epic Slim Bangle5Cockatrice
Epic Gold Candle Platter5Cockatrice
Legend Gold Goblet5Cockatrice
Legend Gold Waterpot5Cockatrice
Legend Gold Chalice5Cockatrice
Legend Ancient Scroll5Cockatrice
Legend Gold Crown6Cockatrice,Treasurer
Legend Goblet5Cockatrice
Mimic Tongue (any rarity)1Fortune Teller
Giant Bat Ear (any rarity)2Fortune Teller,Huntress
Uncommon Crystal Ball1Fortune Teller
Glowing Blue Ice Eyes (any rarity)3Fortune Teller,Fortune Teller
Primitive Bracelet (any rarity)15Fortune Teller,Tavern Master
Torn Bat Wing (any rarity)3Fortune Teller,Huntress
Frosted Feather (any rarity)4Fortune Teller,Huntress
Wendigo's Hoof (any rarity)3Fortune Teller,Huntress,Tailor
Dog Collar (any rarity)2Fortune Teller,Huntress
Demon Blood (any rarity)1Fortune Teller
Goblin Ear (any rarity)11Goblin Merchant,Huntress
Bug Shell (any rarity)3Goblin Merchant,Huntress
Cave Trolls Precious Rock (any rarity)1Goblin Merchant
Cyclops Precious Mirror (any rarity)1Goblin Merchant
Common Diamond1Goldsmith
Common Ruby1Goldsmith
Common Emerald1Goldsmith
Common Blue Sapphire1Goldsmith
Uncommon Diamond2Goldsmith
Uncommon Ruby2Goldsmith
Uncommon Emerald2Goldsmith
Uncommon Blue Sapphire2Goldsmith
Rare Diamond6Goldsmith,Nightmare Mummy
Rare Ruby6Goldsmith,Nightmare Mummy
Rare Emerald6Goldsmith,Nightmare Mummy
Rare Blue Sapphire6Goldsmith,Nightmare Mummy
Kobold's Ear (any rarity)49Huntress,Huntress,Leathersmith,Tailor,The Collector,The Collector
Bowstring (any rarity)8Huntress,Tailor,Tavern Master,Woodsman
Intact Skull (any rarity)4Huntress,Tavern Master
Bone (any rarity)7Huntress,Leathersmith
Bat Wing (any rarity)1Huntress
Beetle Wings (any rarity)1Huntress
Rare Accessory6Huntress,Squire
Captured Mana Flakes (any rarity)1Huntress
Wolf Claw (any rarity)3Huntress,The Collector
Armor Scrap (any rarity)12Huntress,Weaponsmith
Longsword (any rarity)2Huntress
Yeti's Teeth (any rarity)3Huntress,The Collector,Woodsman
Giant Toe (any rarity)3Huntress,Surgeon
Spider Silk (any rarity)5Huntress,Leathersmith,Tailor
Wendigo's Antler Fragment (any rarity)2Huntress,Tailor
Wendigo's Entrails (any rarity)3Huntress,Tailor,Woodsman
Centaur Horn (any rarity)1Huntress
Centaur Tail (any rarity)1Huntress
Cyclops Eye (any rarity)2Huntress,Leathersmith
Epic Light Gold Bangle1Huntress
Epic Leaf Gold Bangle1Huntress
Epic Pearl Necklace1Huntress
Epic Gold Band1Huntress
Banshee Sonnet (any rarity)1Huntress
Dark Matter (any rarity)1Huntress
Cursed Crown (any rarity)1Huntress
Leather Cap (any rarity)2Leathersmith
Enchanted Dark Fabric (any rarity)14Leathersmith,Surgeon,Tailor,Tailor
Rare Warden Outfit1Leathersmith
Rare Troubadour Outfit1Leathersmith
Rare Marauder Outfit1Leathersmith
Human Remains (any rarity)1Leathersmith
Troll's Club (any rarity)1Leathersmith
Common Armor1Squire
Common Weapon1Squire
Uncommon Accessory3Squire,Squire
Uncommon Weapon4Squire,Weaponsmith
Rare Armor3Squire
Rare Weapon13Squire,Weaponsmith
Bandage (any rarity)2Surgeon
Moldy Bread (any rarity)9Surgeon,The Collector
Old Cloth (any rarity)13Surgeon,Woodsman
Spectral Fabric (any rarity)1Surgeon
Rotten Fluids (any rarity)11Tailor,Weaponsmith
Wendigo's Sharp Claws (any rarity)2Tailor,Tailor
Frozen Heart (any rarity)1Tailor
Ale (any rarity)4Tavern Master,The Collector
Explosive Bottle (any rarity)4Tavern Master,Woodsman
Rusty Broken Sword (any rarity)1Tavern Master
Centaur Hoof (any rarity)1Tavern Master
Token of Honor (any rarity)1Tavern Master
Ancient Scroll (any rarity)1The Collector
Gold Waterpot (any rarity)1The Collector
Oil Lantern (any rarity)3The Collector
Wolf Fang (any rarity)2The Collector
Rare Gold Waterpot2The Collector
Rare Gold Candle Holder2The Collector
Rare Gold Candelabra2The Collector
Epic Gold Bowl1The Collector
Gem Ring (any rarity)1Treasurer
Gem Necklace (any rarity)1Treasurer
Silver Coin (any rarity)100Treasurer
Uncommon Silver Chalice1Treasurer
Uncommon Gold Goblet1Treasurer
Epic Ceremonial Dagger1Treasurer
Epic Simple Gold Bangle1Treasurer
Epic Patterned Gold Bangle1Treasurer
Epic Dotted Gold Bangle1Treasurer
Epic Turquoise Gem Bangle1Treasurer
Gold Ingot (any rarity)3Weaponsmith
Volcanic Ash (any rarity)1Weaponsmith
Spectral Hilt (any rarity)1Weaponsmith
Warlord's Broken Sword Blade (any rarity)1Weaponsmith
Epic Weapon5Weaponsmith
Campfire Kit (any rarity)3Woodsman
Diary of the Toz (any rarity)1Woodsman
Chronicles of the Cursed Crown (any rarity)1Woodsman
Manuscripts of the Warlord (any rarity)1Woodsman