From Dark and Darker Wiki
(Created page with "<includeonly>{{#arraydefine:squireoffers_|{{Merchant Data|{{{1}}}|squireoffers|All}} }} {{ #loop: i |0 |{{#arraysize:squireoffers_}} |<nowiki/>{{#vardefine:offers|{{#arrayindex:squireoffers_|{{#var:i}} }} }}<!-- -->|{{GenerateSquireRow|{{{1}}}|{{#var:offers}} }} }} }} </includeonly><noinclude> Auto creates crafting row ==Example== <pre> {{CraftingTable| {{GenerateCraftingRows|Alchemist}} }} </pre> {{CraftingTable| {{GenerateCraftingRows|Alchemist}} }} ==Example==...") |
(Renamed variables.) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#arraydefine: | <includeonly><!-- | ||
{{ | -->{{#arraydefine:affinities|{{Merchant Data|{{{1}}}|squireoffers|All}} }}<!-- | ||
-->{{#loop:i|0|{{#arraysize:affinities}}<!-- | |||
-->|{{GenerateSquireRow|{{{1}}}|{{#arrayindex:affinities|{{#var:i}} }} }} }}<!-- | |||
--></includeonly><noinclude> | |||
-->|{{GenerateSquireRow|{{{1}}}|{{#var: | |||
}} | |||
</includeonly><noinclude> | |||
Auto creates crafting row | Auto creates crafting row | ||
==Example== | ==Example== | ||
<pre> | <pre> | ||
{{ | {{SquireTable| | ||
{{ | {{GenerateSquireRows|Alchemist}} | ||
}} | }} | ||
</pre> | </pre> | ||
{{ | {{SquireTable| | ||
{{ | {{GenerateSquireRows|Alchemist}} | ||
}} | }} | ||
==Example== | ==Example== | ||
<pre> | <pre> | ||
{{ | {{SquireTable| | ||
{{ | {{GenerateSquireRows|Alchemist}} | ||
}} | }} | ||
</pre> | </pre> | ||
{{ | {{SquireTable| | ||
{{ | {{GenerateSquireRows|Alchemist}} | ||
}} | }} | ||
==Example== | ==Example== | ||
<pre> | <pre> | ||
{{CraftingTable| | {{CraftingTable| | ||
{{ | {{GenerateSquireRows|Weaponsmith}} | ||
}} | }} | ||
</pre> | </pre> | ||
{{ | {{SquireTable| | ||
{{ | {{GenerateSquireRows|Weaponsmith|ingredient=Gold}} | ||
}} | }} | ||
==Example== | ==Example== | ||
<pre> | <pre> | ||
{{ | {{SquireTable| | ||
{{ | {{GenerateSquireRows|Armourer}} | ||
}} | }} | ||
</pre> | </pre> | ||
{{ | {{SquireTable| | ||
{{ | {{GenerateSquireRows|Armourer}} | ||
}} | }} | ||
</noinclude> | </noinclude> |
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 |