From Dark and Darker Wiki

mNo edit summary
(Renamed variables.)
 
Line 1: Line 1:
<includeonly>{{#arraydefine:squireoffers_|{{Merchant Data|{{{1}}}|squireoffers|All}} }}
<includeonly><!--
{{
-->{{#arraydefine:affinities|{{Merchant Data|{{{1}}}|squireoffers|All}} }}<!--
#loop: i
-->{{#loop:i|0|{{#arraysize:affinities}}<!--
|0
-->|{{GenerateSquireRow|{{{1}}}|{{#arrayindex:affinities|{{#var:i}} }} }} }}<!--
|{{#arraysize:squireoffers_}}
 
|<nowiki/>{{#vardefine:offers|{{#arrayindex:squireoffers_|{{#var:i}} }} }}<!--
--></includeonly><noinclude>
-->|{{GenerateSquireRow|{{{1}}}|{{#var:offers}} }} }}
}}
</includeonly><noinclude>
Auto creates crafting row
Auto creates crafting row
==Example==
==Example==

Latest revision as of 04:17, 11 April 2024

Auto creates crafting row

Example

{{SquireTable|
	{{GenerateSquireRows|Alchemist}}
}}
Affinity Items Offered by the Squire

Squire offers poor items

Squire offers poor items

Squire offers common items

Squire offers common items

Example

{{SquireTable|
	{{GenerateSquireRows|Alchemist}}
}}
Affinity Items Offered by the Squire

Squire offers poor items

Squire offers poor items

Squire offers common items

Squire offers common items

Example

{{CraftingTable|
	{{GenerateSquireRows|Weaponsmith}}
}}
Affinity Items Offered by the Squire

Squire offers poor items

Squire offers poor items

Squire offers common items

Squire offers common items

Example

{{SquireTable|
	{{GenerateSquireRows|Armourer}}
}}
Affinity Items Offered by the Squire

Squire offers poor items

Squire offers poor items

Squire offers common items

Squire offers common items