From Dark and Darker Wiki

(Fixed gap between table and top of page.)
(Added Loot state to quest items)
 
(One intermediate revision by one other user not shown)
Line 33: Line 33:
--><!--
--><!--
--><!-- FETCH TASK Checking --><!--
--><!-- FETCH TASK Checking --><!--
-->{{#vardefine:current_item|{{Merchant Data|{{#arrayindex:traders_arr|{{#var:loopTr}}}}|QuestChapters|{{#arrayindex:chapters_array|{{#var:loopC}}}}|{{#arrayindex:quest_array|{{#var:loopQ}}}}|objectives|1|fetch}}<!--
-->{{#vardefine:current_item|{{Merchant Data|{{#arrayindex:traders_arr|{{#var:loopTr}}}}|QuestChapters|{{#arrayindex:chapters_array|{{#var:loopC}}}}|{{#arrayindex:quest_array|{{#var:loopQ}}}}|objectives|1|fetch}}}}<!--
-->{{#vardefine:current_lootstate|{{Merchant Data|{{#arrayindex:traders_arr|{{#var:loopTr}}}}|QuestChapters|{{#arrayindex:chapters_array|{{#var:loopC}}}}|{{#arrayindex:quest_array|{{#var:loopQ}}}}|objectives|1|lootstate}}<!--
-->}}<!--
-->}}<!--
-->{{#vardefine:current_quantity|{{Merchant Data|{{#arrayindex:traders_arr|{{#var:loopTr}}}}|QuestChapters|{{#arrayindex:chapters_array|{{#var:loopC}}}}|{{#arrayindex:quest_array|{{#var:loopQ}}}}|objectives|1|quantity}}<!--
-->{{#vardefine:current_quantity|{{Merchant Data|{{#arrayindex:traders_arr|{{#var:loopTr}}}}|QuestChapters|{{#arrayindex:chapters_array|{{#var:loopC}}}}|{{#arrayindex:quest_array|{{#var:loopQ}}}}|objectives|1|quantity}}<!--
Line 47: Line 48:
-->{{#arraydefine:quest_giver{{#var:current_item}}|{{#var:cur_trader}} (x{{#var:current_quantity}})}}<!--
-->{{#arraydefine:quest_giver{{#var:current_item}}|{{#var:cur_trader}} (x{{#var:current_quantity}})}}<!--
-->}}<!--
-->}}<!--
-->{{#vardefine:quest_lootstate{{#var:current_item}}|{{#var:current_lootstate}}}}<!--
--><!--
--><!--
-->}}<!--end is eq: fetch type --><!--
-->}}<!--end is eq: fetch type --><!--
Line 59: Line 61:
--><!--
--><!--
--><!-- FETCH TASK Checking --><!--
--><!-- FETCH TASK Checking --><!--
-->{{#vardefine:current_item|{{Merchant Data|{{#arrayindex:traders_arr|{{#var:loopTr}}}}|QuestChapters|{{#arrayindex:chapters_array|{{#var:loopC}}}}|{{#arrayindex:quest_array|{{#var:loopQ}}}}|objectives|2|fetch}}<!--
-->{{#vardefine:current_item|{{Merchant Data|{{#arrayindex:traders_arr|{{#var:loopTr}}}}|QuestChapters|{{#arrayindex:chapters_array|{{#var:loopC}}}}|{{#arrayindex:quest_array|{{#var:loopQ}}}}|objectives|2|fetch}}}}<!--
-->{{#vardefine:current_lootstate|{{Merchant Data|{{#arrayindex:traders_arr|{{#var:loopTr}}}}|QuestChapters|{{#arrayindex:chapters_array|{{#var:loopC}}}}|{{#arrayindex:quest_array|{{#var:loopQ}}}}|objectives|2|lootstate}}<!--
-->}}<!--
-->}}<!--
-->{{#vardefine:current_quantity|{{Merchant Data|{{#arrayindex:traders_arr|{{#var:loopTr}}}}|QuestChapters|{{#arrayindex:chapters_array|{{#var:loopC}}}}|{{#arrayindex:quest_array|{{#var:loopQ}}}}|objectives|2|quantity}}<!--
-->{{#vardefine:current_quantity|{{Merchant Data|{{#arrayindex:traders_arr|{{#var:loopTr}}}}|QuestChapters|{{#arrayindex:chapters_array|{{#var:loopC}}}}|{{#arrayindex:quest_array|{{#var:loopQ}}}}|objectives|2|quantity}}<!--
Line 73: Line 76:
-->{{#arraydefine:quest_giver{{#var:current_item}}|{{#var:cur_trader}} (x{{#var:current_quantity}})}}<!--
-->{{#arraydefine:quest_giver{{#var:current_item}}|{{#var:cur_trader}} (x{{#var:current_quantity}})}}<!--
-->}}<!--
-->}}<!--
-->{{#vardefine:quest_lootstate{{#var:current_item}}|{{#var:current_lootstate}}}}<!--
--><!--
--><!--
-->}}<!--end is eq: fetch type --><!--
-->}}<!--end is eq: fetch type --><!--
Line 85: Line 89:
--><!--
--><!--
--><!-- FETCH TASK Checking --><!--
--><!-- FETCH TASK Checking --><!--
-->{{#vardefine:current_item|{{Merchant Data|{{#arrayindex:traders_arr|{{#var:loopTr}}}}|QuestChapters|{{#arrayindex:chapters_array|{{#var:loopC}}}}|{{#arrayindex:quest_array|{{#var:loopQ}}}}|objectives|3|fetch}}<!--
-->{{#vardefine:current_item|{{Merchant Data|{{#arrayindex:traders_arr|{{#var:loopTr}}}}|QuestChapters|{{#arrayindex:chapters_array|{{#var:loopC}}}}|{{#arrayindex:quest_array|{{#var:loopQ}}}}|objectives|3|fetch}}}}<!--
-->{{#vardefine:current_lootstate|{{Merchant Data|{{#arrayindex:traders_arr|{{#var:loopTr}}}}|QuestChapters|{{#arrayindex:chapters_array|{{#var:loopC}}}}|{{#arrayindex:quest_array|{{#var:loopQ}}}}|objectives|3|lootstate}}<!--
-->}}<!--
-->}}<!--
-->{{#vardefine:current_quantity|{{Merchant Data|{{#arrayindex:traders_arr|{{#var:loopTr}}}}|QuestChapters|{{#arrayindex:chapters_array|{{#var:loopC}}}}|{{#arrayindex:quest_array|{{#var:loopQ}}}}|objectives|3|quantity}}<!--
-->{{#vardefine:current_quantity|{{Merchant Data|{{#arrayindex:traders_arr|{{#var:loopTr}}}}|QuestChapters|{{#arrayindex:chapters_array|{{#var:loopC}}}}|{{#arrayindex:quest_array|{{#var:loopQ}}}}|objectives|3|quantity}}<!--
Line 99: Line 104:
-->{{#arraydefine:quest_giver{{#var:current_item}}|{{#var:cur_trader}} (x{{#var:current_quantity}})}}<!--
-->{{#arraydefine:quest_giver{{#var:current_item}}|{{#var:cur_trader}} (x{{#var:current_quantity}})}}<!--
-->}}<!--
-->}}<!--
-->{{#vardefine:quest_lootstate{{#var:current_item}}|{{#var:current_lootstate}}}}<!--
--><!--
--><!--
-->}}<!--end is eq: fetch type --><!--
-->}}<!--end is eq: fetch type --><!--
Line 111: Line 117:
--><!--
--><!--
--><!-- FETCH TASK Checking --><!--
--><!-- FETCH TASK Checking --><!--
-->{{#vardefine:current_item|{{Merchant Data|{{#arrayindex:traders_arr|{{#var:loopTr}}}}|QuestChapters|{{#arrayindex:chapters_array|{{#var:loopC}}}}|{{#arrayindex:quest_array|{{#var:loopQ}}}}|objectives|4|fetch}}<!--
-->{{#vardefine:current_item|{{Merchant Data|{{#arrayindex:traders_arr|{{#var:loopTr}}}}|QuestChapters|{{#arrayindex:chapters_array|{{#var:loopC}}}}|{{#arrayindex:quest_array|{{#var:loopQ}}}}|objectives|4|fetch}}}}<!--
-->{{#vardefine:current_lootstate|{{Merchant Data|{{#arrayindex:traders_arr|{{#var:loopTr}}}}|QuestChapters|{{#arrayindex:chapters_array|{{#var:loopC}}}}|{{#arrayindex:quest_array|{{#var:loopQ}}}}|objectives|4|lootstate}}<!--
-->}}<!--
-->}}<!--
-->{{#vardefine:current_quantity|{{Merchant Data|{{#arrayindex:traders_arr|{{#var:loopTr}}}}|QuestChapters|{{#arrayindex:chapters_array|{{#var:loopC}}}}|{{#arrayindex:quest_array|{{#var:loopQ}}}}|objectives|4|quantity}}<!--
-->{{#vardefine:current_quantity|{{Merchant Data|{{#arrayindex:traders_arr|{{#var:loopTr}}}}|QuestChapters|{{#arrayindex:chapters_array|{{#var:loopC}}}}|{{#arrayindex:quest_array|{{#var:loopQ}}}}|objectives|4|quantity}}<!--
Line 125: Line 132:
-->{{#arraydefine:quest_giver{{#var:current_item}}|{{#var:cur_trader}} (x{{#var:current_quantity}})}}<!--
-->{{#arraydefine:quest_giver{{#var:current_item}}|{{#var:cur_trader}} (x{{#var:current_quantity}})}}<!--
-->}}<!--
-->}}<!--
-->{{#vardefine:quest_lootstate{{#var:current_item}}|{{#var:current_lootstate}}}}<!--
--><!--
--><!--
-->}}<!--end is eq: fetch type --><!--
-->}}<!--end is eq: fetch type --><!--
Line 137: Line 145:
--><!--
--><!--
--><!-- FETCH TASK Checking --><!--
--><!-- FETCH TASK Checking --><!--
-->{{#vardefine:current_item|{{Merchant Data|{{#arrayindex:traders_arr|{{#var:loopTr}}}}|QuestChapters|{{#arrayindex:chapters_array|{{#var:loopC}}}}|{{#arrayindex:quest_array|{{#var:loopQ}}}}|objectives|5|fetch}}<!--
-->{{#vardefine:current_item|{{Merchant Data|{{#arrayindex:traders_arr|{{#var:loopTr}}}}|QuestChapters|{{#arrayindex:chapters_array|{{#var:loopC}}}}|{{#arrayindex:quest_array|{{#var:loopQ}}}}|objectives|5|fetch}}}}<!--
-->{{#vardefine:current_lootstate|{{Merchant Data|{{#arrayindex:traders_arr|{{#var:loopTr}}}}|QuestChapters|{{#arrayindex:chapters_array|{{#var:loopC}}}}|{{#arrayindex:quest_array|{{#var:loopQ}}}}|objectives|5|lootstate}}<!--
-->}}<!--
-->}}<!--
-->{{#vardefine:current_quantity|{{Merchant Data|{{#arrayindex:traders_arr|{{#var:loopTr}}}}|QuestChapters|{{#arrayindex:chapters_array|{{#var:loopC}}}}|{{#arrayindex:quest_array|{{#var:loopQ}}}}|objectives|5|quantity}}<!--
-->{{#vardefine:current_quantity|{{Merchant Data|{{#arrayindex:traders_arr|{{#var:loopTr}}}}|QuestChapters|{{#arrayindex:chapters_array|{{#var:loopC}}}}|{{#arrayindex:quest_array|{{#var:loopQ}}}}|objectives|5|quantity}}<!--
Line 151: Line 160:
-->{{#arraydefine:quest_giver{{#var:current_item}}|{{#var:cur_trader}} (x{{#var:current_quantity}})}}<!--
-->{{#arraydefine:quest_giver{{#var:current_item}}|{{#var:cur_trader}} (x{{#var:current_quantity}})}}<!--
-->}}<!--
-->}}<!--
-->{{#vardefine:quest_lootstate{{#var:current_item}}|{{#var:current_lootstate}}}}<!--
--><!--
--><!--
-->}}<!--end is eq: fetch type --><!--
-->}}<!--end is eq: fetch type --><!--
Line 163: Line 173:
--><!--
--><!--
--><!-- FETCH TASK Checking --><!--
--><!-- FETCH TASK Checking --><!--
-->{{#vardefine:current_item|{{Merchant Data|{{#arrayindex:traders_arr|{{#var:loopTr}}}}|QuestChapters|{{#arrayindex:chapters_array|{{#var:loopC}}}}|{{#arrayindex:quest_array|{{#var:loopQ}}}}|objectives|6|fetch}}<!--
-->{{#vardefine:current_item|{{Merchant Data|{{#arrayindex:traders_arr|{{#var:loopTr}}}}|QuestChapters|{{#arrayindex:chapters_array|{{#var:loopC}}}}|{{#arrayindex:quest_array|{{#var:loopQ}}}}|objectives|6|fetch}}}}<!--
-->{{#vardefine:current_lootstate|{{Merchant Data|{{#arrayindex:traders_arr|{{#var:loopTr}}}}|QuestChapters|{{#arrayindex:chapters_array|{{#var:loopC}}}}|{{#arrayindex:quest_array|{{#var:loopQ}}}}|objectives|6|lootstate}}<!--
-->}}<!--
-->}}<!--
-->{{#vardefine:current_quantity|{{Merchant Data|{{#arrayindex:traders_arr|{{#var:loopTr}}}}|QuestChapters|{{#arrayindex:chapters_array|{{#var:loopC}}}}|{{#arrayindex:quest_array|{{#var:loopQ}}}}|objectives|6|quantity}}<!--
-->{{#vardefine:current_quantity|{{Merchant Data|{{#arrayindex:traders_arr|{{#var:loopTr}}}}|QuestChapters|{{#arrayindex:chapters_array|{{#var:loopC}}}}|{{#arrayindex:quest_array|{{#var:loopQ}}}}|objectives|6|quantity}}<!--
Line 177: Line 188:
-->{{#arraydefine:quest_giver{{#var:current_item}}|{{#var:cur_trader}} (x{{#var:current_quantity}})}}<!--
-->{{#arraydefine:quest_giver{{#var:current_item}}|{{#var:cur_trader}} (x{{#var:current_quantity}})}}<!--
-->}}<!--
-->}}<!--
-->{{#vardefine:quest_lootstate{{#var:current_item}}|{{#var:current_lootstate}}}}<!--
--><!--
--><!--
-->}}<!--end is eq: fetch type --><!--
-->}}<!--end is eq: fetch type --><!--
Line 189: Line 201:
-->{{#arrayslice:array_item_names|array_item_names|1|9999}}<!--
-->{{#arrayslice:array_item_names|array_item_names|1|9999}}<!--
<!-- Result Table --><!--
<!-- Result Table --><!--
--><table id="SumQuestItemsTable" cellspacing="0" class="wikitable sortable jquery-tablesorter" style="width:70%; color:#eee; background:transparent; text-align:center; vertical-align:middle;"><!--
--><table id="SumQuestItemsTable" cellspacing="0" class="wikitable sortable stripedtable jquery-tablesorter" style="width:70%; border-collapse:collapse; background:transparent; text-align:center"><!--
--><tr><!--
--><tr><!--
--><th style="width:40%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Item name</th><!--
--><th style="width:35%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Item name</th><!--
--><th style="width:15%" class="headerSort" tabindex="1" role="columnheader button" title="Quantity">Quantity</th><!--
--><th style="width:10%" 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><!--
--><th style="width:40%" class="headerSort" tabindex="2" role="columnheader button" title="Traders">Traders</th><!--
        --><th style="width:20%" class="headerSort" tabindex="3" role="columnheader button" title="Traders">Loot state</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><td>{{#arrayprint:quest_giver{{#var:name}}|,&#32;}}</td></tr><!--
--><tr><td>{{#var:name}}</td><td>{{#var:{{#var:name}}}}</td><td>{{#arrayprint:quest_giver{{#var:name}}|,&#32;}}</td><!--
--><td>{{#if:{{#var:quest_lootstate{{#var:name}}}}|{{#var:quest_lootstate{{#var:name}}}}|Looted}}</td></tr><!--
-->}}<!--
-->}}<!--
--></table><!--
--></table><!--

Latest revision as of 11:20, 20 September 2024

Item nameQuantityTradersLoot state
Potion of Healing (any rarity)1Alchemist (x1)Looted
Potion of Protection (any rarity)1Alchemist (x1)Looted
Potion of Invisibility (any rarity)1Alchemist (x1)Looted
Phantom Flower (any rarity)1Alchemist (x1)Looted
Wardweed (any rarity)1Alchemist (x1)Looted
Lifeleaf (any rarity)4Alchemist (x1), The Collector (x3)Looted
Broken Skull (any rarity)4Alchemist (x4)Looted
Mimic Tooth (any rarity)2Alchemist (x1), Treasurer (x1)Looted
Grave Essence (any rarity)8Alchemist (x1), Tavern Master (x3), The Collector (x4)Looted
Maggots (any rarity)3Alchemist (x3)Looted
Cobalt Ore (any rarity)6Armourer (x6)Looted
Rubysilver Ore (any rarity)6Armourer (x6)Looted
Epic Armor5Armourer (x5)Looted
Blue Eyeballs (any rarity)3Armourer (x2), Weaponsmith (x1)Looted
Wolf Pelt (any rarity)11Armourer (x5), The Collector (x2), The Collector (x4)Looted
Old Cloth (any rarity)8Fortune Teller (x1), Tailor (x4), Woodsman (x3)Looted
Bowstring (any rarity)6Fortune Teller (x2), Tavern Master (x1), Woodsman (x3)Looted
Rare Crystal Ball3Fortune Teller (x3)Looted
Rotten Fluids (any rarity)3Fortune Teller (x1), Tailor (x1), Weaponsmith (x1)Looted
Demon Dog Thorn (any rarity)1Fortune Teller (x1)Looted
Bat Claw (any rarity)2Fortune Teller (x2)Looted
Torn Bat Wing (any rarity)1Fortune Teller (x1)Looted
Goblin Ear (any rarity)10Goblin Merchant (x10)Looted
Bug Shell (any rarity)1Goblin Merchant (x1)Looted
Beetle Wings (any rarity)4Goblin Merchant (x2), Goblin Merchant (x2)Looted
Cockatrice's Lucky Feather (any rarity)1Goblin Merchant (x1)Looted
Spider Silk (any rarity)1Goblin Merchant (x1)Looted
Armor Scrap (any rarity)10Leathersmith (x5), Weaponsmith (x5)Looted
Leather Cap (any rarity)3Leathersmith (x3)Looted
Bandage (any rarity)5Surgeon (x5)Looted
Enchanted Dark Fabric (any rarity)1Tailor (x1)Looted
Old Bloody Bandage (any rarity)6Tailor (x1), Tavern Master (x5)Looted
Wendigo's Sharp Claws (any rarity)3Tailor (x2), The Collector (x1)Looted
Glowing Blue Ice Eyes (any rarity)3Tailor (x2), Tavern Master (x1)Looted
Ale (any rarity)6Tavern Master (x3), The Collector (x3)Looted
Explosive Bottle (any rarity)4Tavern Master (x1), Woodsman (x3)Looted
Golden Teeth (any rarity)6Tavern Master (x1), Tavern Master (x5)Looted
Rusty Broken Sword (any rarity)1Tavern Master (x1)Looted
Centaur Hoof (any rarity)1Tavern Master (x1)Looted
Primitive Bracelet (any rarity)12Tavern Master (x12)Looted
Wolf Fang (any rarity)7Tavern Master (x5), The Collector (x2)Looted
Ancient Scroll (any rarity)2The Collector (x2)Looted
Gold Waterpot (any rarity)2The Collector (x2)Looted
Kobold's Ear (any rarity)13The Collector (x8), Woodsman (x5)Looted
Oil Lantern (any rarity)7The Collector (x7)Looted
Moldy Bread (any rarity)4The Collector (x4)Looted
Wendigo's Hoof (any rarity)1The Collector (x1)Looted
Epic Gold Waterpot2The Collector (x2)Looted
Epic Gold Candle Holder2The Collector (x2)Looted
Epic Gold Candelabra2The Collector (x2)Looted
Epic Gold Bowl1The Collector (x1)Looted
Yeti's Teeth (any rarity)1The Collector (x1)Looted
Extra Thick Pelt (any rarity)2The Collector (x2)Looted
Frosted Feather (any rarity)1The Collector (x1)Looted
Gem Ring (any rarity)2Treasurer (x2)Looted
Gem Necklace (any rarity)2Treasurer (x2)Looted
Silver Coin (any rarity)100Treasurer (x100)Looted
Gold Coin (any rarity)50Treasurer (x50)Looted
Rare Silver Chalice1Treasurer (x1)Looted
Rare Gold Goblet1Treasurer (x1)Looted
Legend Diamond1Treasurer (x1)Looted
Legend Ruby1Treasurer (x1)Looted
Legend Emerald1Treasurer (x1)Looted
Legend Blue Sapphire1Treasurer (x1)Looted
Legend Ceremonial Dagger1Treasurer (x1)Looted
Rare Weapon5Weaponsmith (x5)Looted
Gold Ingot (any rarity)3Weaponsmith (x3)(Looted/Handled)
Firefly's Abdomen (any rarity)1Weaponsmith (x1)(Looted/Handled)
Campfire Kit (any rarity)5Woodsman (x5)Looted
Wendigo's Entrails (any rarity)1Woodsman (x1)Looted
Giant Toe (any rarity)1Woodsman (x1)Looted