From Dark and Darker Wiki

(Adjusted Gem and Herb tables to match the new widths of the rows.)
(Adjusted Gem table to handle unique gem columns properly.)
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><!--
<includeonly><!--
Manual filter list
-->{{#arraydefine:Filter|Silver Ore}}<!--
-->{{#arraydefine:Filter|Silver Ore}}<!--
-->{{#arraydefine:Miscs|{{Misc Data|Alllists|Types|Misc|{{#if:{{{craftable|}}}|Craftable|Uncraftable}}|{{{1}}}}} }}{{#arraydiff:Miscs|Miscs|Filter}}<!--
 
--><table class="wikitable sortable jquery-tablesorter stripedtable" cellspacing="0" style="color:#eee; background:transparent; text-align:center; vertical-align:middle;">
Get the list of items for which to generate rows
-->{{#arraydefine:Miscs|{{Misc Data|Alllists|Types|Misc|Both|{{{1}}}}} }}{{#arraydiff:Miscs|Miscs|Filter}}<!--
 
Create table header row -->
<table class="wikitable sortable jquery-tablesorter stripedtable" cellspacing="0" style="color:#eee; background:transparent; text-align:center; vertical-align:middle;">
<tr>
<tr>
{{#switch:{{{1|}}}
{{#switch:{{{1|}}}
<!-- Must manually set colspan and col titles according to drop existence of Gems -->
<!-- Must manually set colspan and col titles according to drop existence of Gems -->
|Gem=<th style="font-weight:bold; width:200px;" rowspan="2">Name</th>
|Gem=
<th style="font-weight:bold;" colspan="6">Price</th>
<th style="font-weight:bold; width:200px;" rowspan="2">Name</th>
<th style="font-weight:bold;" colspan="6">Price / Slot Size</th>
<th style="font-weight:bold;" colspan="7">Price</th>
<th style="font-weight:bold;" colspan="7">Price / Slot Size</th>
<th style="font-weight:bold; width:200px;" rowspan="2">Inventory Size</th>
<th style="font-weight:bold; width:200px;" rowspan="2">Inventory Size</th>
<th style="font-weight:bold; width:200px;" rowspan="2">Max Stack Size</th></tr><tr>
<th style="font-weight:bold; width:200px;" rowspan="2">Max Stack Size</th></tr><tr>
Line 17: Line 23:
<th style="font-weight:bold; background-color:rgb(var(--rarity-5),0.7); width:5.5%;">VI</th>
<th style="font-weight:bold; background-color:rgb(var(--rarity-5),0.7); width:5.5%;">VI</th>
<th style="font-weight:bold; background-color:rgb(var(--rarity-6),0.7); width:5.5%;">VII</th>
<th style="font-weight:bold; background-color:rgb(var(--rarity-6),0.7); width:5.5%;">VII</th>
<th style="font-weight:bold; background-color:rgb(var(--rarity-7),0.7); width:5.5%;">VIII</th>
<th style="font-weight:bold; background-color:rgb(var(--rarity-1),0.7); width:5.5%;">II</th>
<th style="font-weight:bold; background-color:rgb(var(--rarity-1),0.7); width:5.5%;">II</th>
<th style="font-weight:bold; background-color:rgb(var(--rarity-2),0.7); width:5.5%;">III</th>
<th style="font-weight:bold; background-color:rgb(var(--rarity-2),0.7); width:5.5%;">III</th>
Line 23: Line 30:
<th style="font-weight:bold; background-color:rgb(var(--rarity-5),0.7); width:5.5%;">VI</th>
<th style="font-weight:bold; background-color:rgb(var(--rarity-5),0.7); width:5.5%;">VI</th>
<th style="font-weight:bold; background-color:rgb(var(--rarity-6),0.7); width:5.5%;">VII</th>
<th style="font-weight:bold; background-color:rgb(var(--rarity-6),0.7); width:5.5%;">VII</th>
<th style="font-weight:bold; background-color:rgb(var(--rarity-7),0.7); width:5.5%;">VIII</th>


<!-- Must manually set colspan and col titles according to drop existence of Herbs -->
<!-- Must manually set colspan and col titles according to drop existence of Herbs -->
|Herb=<th style="font-weight:bold; width:200px;" rowspan="2">Name</th>
|Herb=
<th style="font-weight:bold; width:200px;" rowspan="2">Name</th>
<th style="font-weight:bold;" colspan="4">Price</th>
<th style="font-weight:bold;" colspan="4">Price</th>
<th style="font-weight:bold;" colspan="4">Price / Slot Size</th>
<th style="font-weight:bold;" colspan="4">Price / Slot Size</th>
<th style="font-weight:bold; width:200px;" rowspan="2">Inventory Size</th>
<th style="font-weight:bold; width:200px;" rowspan="2">Inventory Size</th>
<th style="font-weight:bold; width:200px;" rowspan="2">Max Stack Size</th></tr><tr>
<th style="font-weight:bold; width:200px;" rowspan="2">Max Stack Size</th></tr><tr>
<th style="font-weight:bold; background-color:rgb(var(--rarity-2),0.7); width:5.5%;">III</th>
<th style="font-weight:bold; background-color:rgb(var(--rarity-2),0.7); width:7%;">III</th>
<th style="font-weight:bold; background-color:rgb(var(--rarity-3),0.7); width:5.5%;">IV</th>
<th style="font-weight:bold; background-color:rgb(var(--rarity-3),0.7); width:7%;">IV</th>
<th style="font-weight:bold; background-color:rgb(var(--rarity-4),0.7); width:5.5%;">V</th>
<th style="font-weight:bold; background-color:rgb(var(--rarity-4),0.7); width:7%;">V</th>
<th style="font-weight:bold; background-color:rgb(var(--rarity-5),0.7); width:5.5%;">VI</th>
<th style="font-weight:bold; background-color:rgb(var(--rarity-5),0.7); width:7%;">VI</th>
<th style="font-weight:bold; background-color:rgb(var(--rarity-2),0.7); width:5.5%;">III</th>
<th style="font-weight:bold; background-color:rgb(var(--rarity-2),0.7); width:7%;">III</th>
<th style="font-weight:bold; background-color:rgb(var(--rarity-3),0.7); width:5.5%;">IV</th>
<th style="font-weight:bold; background-color:rgb(var(--rarity-3),0.7); width:7%;">IV</th>
<th style="font-weight:bold; background-color:rgb(var(--rarity-4),0.7); width:5.5%;">V</th>
<th style="font-weight:bold; background-color:rgb(var(--rarity-4),0.7); width:7%;">V</th>
<th style="font-weight:bold; background-color:rgb(var(--rarity-5),0.7); width:5.5%;">VI</th>
<th style="font-weight:bold; background-color:rgb(var(--rarity-5),0.7); width:7%;">VI</th>
 
|HuntingLoot
|#default=
|Ore
<th style="font-weight:bold; background-color:rgb(220,220,220,0.2); width:200px;">Name</th>
|Container
|Currency=<th style="font-weight:bold; background-color:rgb(220,220,220,0.2); width:200px;">Name</th>
<th style="font-weight:bold; background-color: rgb(220,220,220,0.2); width:200px;">Price</th>
<th style="font-weight:bold; background-color: rgb(220,220,220,0.2); width:200px;">Price</th>
<th style="font-weight:bold; background-color: rgb(220,220,220,0.2); width:200px;">Price / Slot Size</th>
<th style="font-weight:bold; background-color: rgb(220,220,220,0.2); width:200px;">Price / Slot Size</th>
<th style="font-weight:bold; background-color: rgb(220,220,220,0.2); width:200px;">Item Achieve</th>
<th style="font-weight:bold; background-color: rgb(220,220,220,0.2); width:200px;">Item Achieve</th>
<th style="font-weight:bold; background-color: rgb(220,220,220,0.2); width:200px;">Total AP / Slot Size</th>
<th style="font-weight:bold; background-color: rgb(220,220,220,0.2); width:200px;">Inventory Size</th>
<th style="font-weight:bold; background-color: rgb(220,220,220,0.2); width:200px;">Inventory Size</th>
<th style="font-weight:bold; background-color: rgb(220,220,220,0.2); width:200px;">Max Stack Size</th>
<th style="font-weight:bold; background-color: rgb(220,220,220,0.2); width:200px;">Max Stack Size</th>}}</tr><!--


|Ammo=<th style="font-weight:bold; background-color:rgb(220,220,220,0.2); width:200px;">Name</th>
Loop over each item
<th style="font-weight:bold; background-color: rgb(220,220,220,0.2); width:200px;">I Price</th>
<th style="font-weight:bold; background-color: rgb(220,220,220,0.2); width:200px;">III Price</th>
<th style="font-weight:bold; background-color: rgb(220,220,220,0.2); width:200px;">I Price / Slot Size</th>
<th style="font-weight:bold; background-color: rgb(220,220,220,0.2); width:200px;">III Price / Slot Size</th>
<th style="font-weight:bold; background-color: rgb(220,220,220,0.2); width:200px;">Inventory Size</th>
<th style="font-weight:bold; background-color: rgb(220,220,220,0.2); width:200px;">Max Stack Size</th>
|#default=<th style="font-weight:bold; background-color:rgb(220,220,220,0.2); width:200px;">Name</th>
<th style="font-weight:bold; background-color: rgb(220,220,220,0.2); width:200px;">Price</th>
<th style="font-weight:bold; background-color: rgb(220,220,220,0.2); width:200px;">Price / Slot Size</th>
<th style="font-weight:bold; background-color: rgb(220,220,220,0.2); width:200px;">Inventory Size</th>
<th style="font-weight:bold; background-color: rgb(220,220,220,0.2); width:200px;">Max Stack Size</th>}}<!--
-->{{#loop:i|0|{{#arraysize:Miscs}}<!--
-->{{#loop:i|0|{{#arraysize:Miscs}}<!--
-->|{{#vardefine:current|{{#arrayindex:Miscs|{{#var:i}} }} }}<!--
-->|{{#vardefine:current|{{#arrayindex:Miscs|{{#var:i}} }} }}<!--
If the current item is Silver Ore, do not generate a row for it
 
-->{{GenerateMiscRow|{{#var:current}}}} }}<!--
Format a table row for the current item
Preprocessing: Collect booleans, slot information, and rarity information.
-->{{#vardefine:types|{{Misc Data|{{#var:current}}|Types|All}} }}<!--
-->{{#vardefine:is_gem|{{#pos:{{#var:types}}|Gem}} }}<!--
-->{{#vardefine:is_herb|{{#pos:{{#var:types}}|Herb}} }}<!--
-->{{#vardefine:is_ammo|{{#pos:{{#var:types}}|Ammo}} }}<!--
{{#vardefine:is_hunting_loot|{{#pos:{{#var:types}}|HuntingLoot}} }}
{{#vardefine:is_ore|{{#pos:{{#var:types}}|Ore}} }}
{{#vardefine:is_container|{{#pos:{{#var:types}}|Container}} }}
{{#vardefine:is_currency|{{#pos:{{#var:types}}|Currency}} }}
{{#vardefine:is_powder|{{#pos:{{#var:types}}|Currency}} }}
{{#vardefine:is_ingot|{{#pos:{{#var:types}}|Currency}} }}
 
Define the width and height of the item's inventory slot.
-->{{#vardefine:slot_width|{{Misc Data|{{#var:current}}|invwidth}} }}<!--
-->{{#vardefine:slot_height|{{Misc Data|{{#var:current}}|invheight}} }}<!--
-->{{#vardefine:slot_size|{{#expr:{{#var:slot_width}}*{{#var:slot_height}} }} }}<!--
 
Determine rarities for the item
-->{{#vardefine:is_first|1}}<!--
-->{{#switch:1|<!--
For Gem, Herb, and Ammo items determine rarities by whether they drop or not
-->|{{#if:{{#var:is_gem}}|1}}=<!--
-->{{#vardefine:rarities|<!--
-->{{#loop:i|0|8<!--
-->|{{#ifexist:DropTable:Diamond {{#var:i}}<!--
-->|{{#if:{{#var:is_first}}|{{#vardefine:is_first|}}|,}}<!--
-->{{#var:i}} }} }} }}<!--
-->|{{#if:{{#var:is_herb}}|1}}=<!--
-->{{#vardefine:rarities|<!--
-->{{#loop:i|0|8<!--
-->|{{#ifexist:DropTable:Lifeleaf {{#var:i}}<!--
-->|{{#if:{{#var:is_first}}|{{#vardefine:is_first|}}|,}}<!--
-->{{#var:i}} }} }} }}<!--
-->|{{#if:{{#var:is_ammo}}|1}}=<!--
-->{{#vardefine:rarities|<!--
-->{{#loop:i|0|3<!--
-->|{{#ifexist:DropTable:Arrow {{#var:i}}<!--
-->|{{#if:{{#var:is_first}}|{{#vardefine:is_first|}}|,}}<!--
-->{{#var:i}} }} }} }}<!--
-->|#default={{#vardefine:rarities|{{Misc Data|{{#var:current}}|Rarities}} }} }}<!--
 
Define boolean flag for multiple rarities
-->{{#vardefine:multiple_rarities|{{#pos:{{#var:rarities}}|,}} }}<!--
 
Define rarities array for loops
-->{{#arraydefine:rarities|{{#var:rarities}} }}<!--
 
Generate Table Row
--><tr style="height:150px;"><!--
Item Iconbox
--><td>{{Iconbox<!--
-->|{{#var:current}}<!--
-->|rarity=<!--
-->{{#if:{{#var:multiple_rarities}}<!--
-->|2<!--
-->|{{#var:rarities}} }}<!--
-->|size={{IconboxInventorySize|Misc Data|{{#var:current}}}}<!--
-->|caption=<!--
-->{{#if:{{#var:multiple_rarities}}<!--
-->||<span class="colorrarity{{#var:rarities}}">{{#var:current}}</span>}} }}</td><!--
 
Sell Price Value of One Item
-->{{#loop:i|{{#arrayindex:rarities|0}}|{{#arraysize:rarities}}<!--
-->|<td>{{Misc Data|{{#var:current}}|SellPrices|{{#var:i}} }}</td>}}<!--
 
Sell Price Value per Slot of One Item
-->{{#loop:i|{{#arrayindex:rarities|0}}|{{#arraysize:rarities}}<!--
-->|<td>{{#iferror:{{#expr:{{Misc Data|{{#var:current}}|SellPrices|{{#var:i}} }}/{{#var:slot_size}} round 2}}|}}</td>}}<!--
 
Item Achieve Value
-->{{#if:{{#var:is_gem}}{{#var:is_herb}}<!--
-->||<td>{{Misc Data|{{#var:current}}|AP|{{#var:rarities}} }}</td><!--
 
Total AP  / Slot Size
--><td><!--
-->{{#iferror:{{#expr:{{Misc Data|{{#var:current}}|AP|{{#var:rarities}} }}/{{#var:slot_size}} round 2}}<!--
-->{{#ifeq:{{Misc Data|{{#var:current}}|MaxCount}}|1|<!--
-->|-{{#expr:{{Misc Data|{{#var:current}}|AP|{{#var:rarities}} }}/{{#var:slot_size}}*{{Misc Data|{{#var:current}}|MaxCount}} round 2}} }}|}}</td>}}<!--
 
Inventory Size
--><td>{{#var:slot_width}}x{{#var:slot_height}}</td><!--
 
Stack Size
--><td>{{Misc Data|{{#var:current}}|MaxCount}}</td></tr>}}</table><!--


--></includeonly><noinclude>
--></includeonly><noinclude>
List Miscs and generate rows with them
List Miscs and generate rows with them
== Example ==
==Example 1==
<pre>{{GenerateMiscRows|Gem}}</pre>
<pre>{{GenerateMiscTable|Gem}}</pre>
{{GenerateMiscRows|Gem}}
{{:Misc}}
<pre>{{GenerateMiscRows|Ore}}</pre>
{{GenerateMiscRows|Ore}}
<pre>{{GenerateMiscRows|Herb}}</pre>
{{GenerateMiscRows|Herb}}
</noinclude>
</noinclude>

Latest revision as of 22:53, 28 October 2024

List Miscs and generate rows with them

Example 1

{{GenerateMiscTable|Gem}}

Information is up to date! Hover for more details.Misc Data last updated on: Patch:6.6#Hotfix 69-2.
Dark and Darker is currently on update: Patch:6.6#Hotfix 70.

AP and Exp

For AP, see Adventure_Rank#Item_Achieve. For Exp, see Experience#Sources_of_XP.

Items

Gem

This table contains the Gem price when selling to The Collector.
Gems have different rarity names: Cracked, Flawed, Normal, Fine, Exquisite, Perfect, Royal, and Ultimate.

Name Price Price / Slot Size Inventory Size Max Stack Size
II III IV V VI VII VIII II III IV V VI VII VIII
142448721442163362.3348122436562x31
581322386310558132238631051x11
58162448721122.548122436562x11
591424416811359142441681131x11
24921355897249213558971x11
581322386310558132238631051x11
23919325489239193254891x11
23919325489239193254891x11
24921355897249213558971x11
58162448721122.548122436561x21
23818304981238183049811x11
10163248961442242.548122436562x21
10163248961442242.548122436562x21
10163248961442242.548122436562x21
251124416811325112441681131x11
58162448721122.548122436561x21
10163248961442242.548122436562x21
58162448721122.548122436561x21
10163248961442242.548122436562x21
251124416811325112441681131x11
241022386310524102238631051x11
23919325489239193254891x11
241022386310524102238631051x11
581322386310558132238631051x11
24921355897249213558971x11
58162448721122.548122436561x21
1x130
23919325489239193254891x11
241022386310524102238631051x11
251124416811325112441681131x11
241022386310524102238631051x11

Hunting Loot

Hunting Loot items are found from Monster drops. You can use these items to craft various Armors and Weapons

Name Price Price / Slot Size Item Achieve Total AP / Slot Size Inventory Size Max Stack Size
102.5822x21
2512.51261x21
5511-31x13
20.541-32x23
196.33621x31
151544-121x13
20.6731-31x33
2211-31x13
20.520.5-12x22
256.251642x21
323266-181x13
48122462x21
40102462x21
289.331241x31
100010003003001x11
2501251261x21
2222441x11
6616.52462x21
72182462x21
64161642x21
80104862x41
404066-181x13
404066-181x13
2171241x31
2501251261x21
389.52462x21
1010221x11
12382-62x23
225.5164-122x23
484866-181x13
12513.895463x31
8521.252462x21
1642x21
1010441x11
60152462x21
6262661x11
4422-61x13
215.25412x21
199.542-61x23
303044-121x13
101022-61x13
121244-121x13
5522-61x13
5005002002001x11
94.521-31x23
4182-42x22
111111-31x13
2211-31x13
2501251261x21
164822x21
105211x21
2110.5-1.51x23
44221x11
4141-32x23
121222-61x13
121244-121x13
4242-61x23
256.252462x21
2512.51261x21
101044-121x13
4848661x11
12382-62x23
64161642x21
80104862x41
484866-181x13
1642x21
7712.833662x31
2462x21
44111642x21
4511.25822x21
3517.5422x11
2211-31x13
6321-31x23
102.541-32x23
343444-121x13

Ore

In order to obtain Ores you need to interact with Ore nodes using a Pickaxe. Ores can be crafted into Ingot and Powder.

Name Price Price / Slot Size Item Achieve Total AP / Slot Size Inventory Size Max Stack Size
20.520.5-2.52x25
10.2510.25-1.252x25
20.541-52x25
20.530.75-3.752x25
10.2510.25-1.252x25
20.530.75-3.752x25

Ingot

Ingots are crafted from Ore and Silver Coins at various Merchants. You can use these ingots to craft various Armors and Weapons

Name Price Price / Slot Size Item Achieve Total AP / Slot Size Inventory Size Max Stack Size
20.520.5-2.52x25
10.2510.25-1.252x25
20.541-52x25
20.530.75-3.752x25
10.2510.25-1.252x25
20.530.75-3.752x25
20.530.75-3.752x25

Powder

Powders are crafted from Ore and Silver Coins at various Merchants. You can use these powders to craft various Armors and Weapons

Name Price Price / Slot Size Item Achieve Total AP / Slot Size Inventory Size Max Stack Size
2211-51x15
1111-51x15
2222-101x15
2211-51x15
1111-51x15
2211-51x15
2211-51x15

Currency

Name Price Price / Slot Size Item Achieve Total AP / Slot Size Inventory Size Max Stack Size
7711-101x110
11-101x110
505011-101x110
1x110
212111-101x110
7711-101x110
7711-101x110

Container

Name Price Price / Slot Size Item Achieve Total AP / Slot Size Inventory Size Max Stack Size
10.252x21
3x21
111x11
10.252x21

Herb

Herbs can be harvested on various maps. They are used at the Alchemist to craft potions.

Name Price Price / Slot Size Inventory Size Max Stack Size
III IV V VI III IV V VI
5712202.53.56101x25
5712202.53.56101x25
9712204.53.56101x25

Ammo

Name Price Price / Slot Size Item Achieve Total AP / Slot Size Inventory Size Max Stack Size
001x320
001x215

Trivia

Before playtest #4, all treasure had the same value as the current 2 slot items.