From Dark and Darker Wiki
m (Added example. Added comments.) |
(Removing lute and torch since those are available to everyone, and people get confused about our musical instrument classification.) |
||
Line 1: | Line 1: | ||
<includeonly>{{#arraydefine:all_gear|{{{1}}}}}<!-- | <includeonly>{{#arraydefine:all_gear|{{{1}}}}}{{#arraydefine:filter|Lute,Torch}}{{#arraydiff:all_gear|all_gear|filter}}<!-- | ||
-->{{#vardefine:first_element|1}}{{ | -->{{#vardefine:first_element|1}}{{ | ||
#loop: i | #loop: i | ||
Line 20: | Line 20: | ||
-->{{#var:current_gear}} }}<!-- | -->{{#var:current_gear}} }}<!-- | ||
-->|{{#if:{{#var:first_element}}|{{#vardefine:first_element|}}|,}}<!-- | -->|{{#if:{{#var:first_element}}|{{#vardefine:first_element|}}|,}}<!-- | ||
-->{{#var:current_gear}} }} }} }} | -->{{#var:current_gear}} }} }} }} }}<!-- | ||
--></includeonly><noinclude> | |||
List gear for specific class, variables: | List gear for specific class, variables: | ||
*1=List | *1=List | ||
Line 33: | Line 33: | ||
<tr> | <tr> | ||
<th>Code</th> | <th>Code</th> | ||
<th>Preview</th> | <th>Preview</th></tr> | ||
<tr> | |||
<td style="padding: 20px 30px;"> | <td style="padding: 20px 30px;"><pre>{{FilterListForClass|{{Weapon Data|All}}|Weapon Data|class=Bard|handtype=Two Handed|not_artifact=1}}</pre></td> | ||
<pre> | <td style="padding: 20px 30px;">{{FilterListForClass|{{Weapon Data|All}}|Weapon Data|class=Bard|handtype=Two Handed|not_artifact =1}}</td></tr> | ||
{{FilterListForClass | <tr> | ||
|{{Weapon Data|All}} | <td style="padding: 20px 30px;"><pre>{{FilterListForClass|{{Weapon Data|All}}|Weapon Data|class=Bard|handtype=One Handed|not_artifact=1}}</pre></td> | ||
|Weapon Data | <td style="padding: 20px 30px;">{{FilterListForClass|{{Weapon Data|All}}|Weapon Data|class=Bard|handtype=One Handed|not_artifact=1}}</td></tr></table> | ||
|class =Bard | |||
|handtype=Two Handed | |||
|not_artifact =1 | |||
}}</pre></td> | |||
<td style="padding: 20px 30px;"> | |||
{{FilterListForClass | |||
|{{Weapon Data|All}} | |||
|Weapon Data | |||
|class =Bard | |||
|handtype=Two Handed | |||
|not_artifact =1 | |||
}} | |||
<td style="padding: 20px 30px;"> | |||
<pre> | |||
{{FilterListForClass | |||
|{{Weapon Data|All}} | |||
|Weapon Data | |||
|class =Bard | |||
|handtype=One Handed | |||
|not_artifact =1 | |||
}}</pre></td> | |||
<td style="padding: 20px 30px;"> | |||
{{FilterListForClass | |||
|{{Weapon Data|All}} | |||
|Weapon Data | |||
|class =Bard | |||
|handtype=One Handed | |||
|not_artifact =1 | |||
}} | |||
</table> | |||
</noinclude> | </noinclude> |
Latest revision as of 20:15, 30 April 2024
List gear for specific class, variables:
- 1=List
- 2=Weapon Data/Armor Data
- handtype=Two Handed/One Handed
- class=Fighter/Barbarian/Rogue/Ranger/Wizard/Cleric/Bard/Warlock
- artifact=1 to exclude artifacts
Example
Code | Preview |
---|---|
{{FilterListForClass|{{Weapon Data|All}}|Weapon Data|class=Bard|handtype=Two Handed|not_artifact=1}} |
Bare Hand Two Handed,Crossbow,Francisca Axe,Survival Bow,Throwing Knife |
{{FilterListForClass|{{Weapon Data|All}}|Weapon Data|class=Bard|handtype=One Handed|not_artifact=1}} |
Arming Sword,Bare Hand One Handed,Buckler,Castillon Dagger,Dagger of Righteousness,Demon's Glee,Divine Dagger,Divine Short Sword,Falchion of Honor,Falchion,Hand Crossbow,Rapier,Rondel Dagger,Short Sword of Righteousness,Short Sword,Sterling Dagger,Sterling Short Sword |