From Dark and Darker Wiki

(Squire displays iconbox for every item now.)
(Changed # Affinity color. Added item rarity below that.)
Line 4: Line 4:
-->{{Iconbox|{{{1}}}|size=x75px}}</td>
-->{{Iconbox|{{{1}}}|size=x75px}}</td>
<td><!--
<td><!--
-->{{#explode:{{{2}}}|/|0}} affinity<!--
--><span style="color:#eee8;">{{#explode:{{{2}}}|/|0}} Affinity</span><br><!--
-->{{#vardefine:rarity|{{#explode:{{{2}}}|/|1}} }}</td>
-->{{#vardefine:rarity|{{#explode:{{{2}}}|/|1}} }}<!--
-->{{#switch:{{#var:rarity}}
|0=<span class="colorrarity0">Junk Rarity</span>
|1=<span class="colorrarity1">Poor Rarity</span>
|2=<span class="colorrarity2">Common Rarity</span>}}</td>
<td><!--
<td><!--
-->{{#loop:i|0|{{#arraysize:offers}}<!--
-->{{#loop:i|0|{{#arraysize:offers}}<!--

Revision as of 03:21, 12 April 2024

Auto creates Squire row ==Example==

	{{SquireTable|
		{{GenerateSquireRow|Armourer|0}}
		{{GenerateSquireRow|Armourer|25}}
		{{GenerateSquireRow|Armourer|50}}
		{{GenerateSquireRow|Armourer|75}}
		{{GenerateSquireRow|Armourer|125}}
	}}


Affinity Items Offered by the Squire
0 Affinity
Junk Rarity
25 Affinity
Junk Rarity
50 Affinity
Poor Rarity
75 Affinity
Poor Rarity
125 Affinity
Common Rarity