From Dark and Darker Wiki

mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>{{#arraydefine:squireoffers|{{Merchant Data|{{{1}}}|squireoffers|{{{3}}}}} }}
<includeonly>{{#arraydefine:squireoffers|{{Merchant Data|{{{1}}}|squireoffers}} }}
<tr>
<tr>
<td>{{Iconbox|<!--
<td>{{Iconbox|<!--
Line 5: Line 5:
-->|{{#explode:{{{2}}}| |1|2}}<!--
-->|{{#explode:{{{2}}}| |1|2}}<!--
-->|{{{2}}}}}<!--
-->|{{{2}}}}}<!--
-->|size=x100px<!--
          -->|image={{{2}}}<!--
-->|rarity={{Merchant Data|{{{1}}}|squireoffers|{{{3}}}}} }}</td>
        -->|size=x100px<!--
-->|rarity={{Common}} }}
</td>


<td>{{
<td>{{
Line 13: Line 15:
|{{#arraysize:squireoffers}}
|{{#arraysize:squireoffers}}
|<nowiki/>{{#vardefine:squireoffers|{{#arrayindex:squireoffers|{{#var:i}} }} }}
|<nowiki/>{{#vardefine:squireoffers|{{#arrayindex:squireoffers|{{#var:i}} }} }}
         | affinity = {{Merchant Data|{{1}}|squireoffers|{{{3}}}|50}}
         |{{Merchant Data|{{{1}}}|squireoffers|0}}}}
 
         </td>
         </td>
<td>[[{{{1}}}]]</td>
<td>[[{{{1}}}]]</td>
</tr>
</tr>

Revision as of 00:55, 4 April 2024


Auto creates Squire row

Example

{{SquireTable|
	{{GenerateSquireRow|Weaponsmith|Dark Cuirass}}
	{{GenerateSquireRow|Weaponsmith|Arming Sword}}
    {{GenerateSquireRow|Alchemist|Potion of Healing}}
	{{GenerateSquireRow|Armourer|Bandage}}
}}


Affinity Items Offered by the Squire
Weaponsmith
Weaponsmith
Alchemist
Armourer