From Dark and Darker Wiki

Revision as of 23:32, 2 March 2026 by Raw Salad (talk | contribs) (Created page with "=Overview= Functions for making Accessory table. Data comes from Data:Accessory.json. =Functions= ==draw_table== Creates a table of accessories ===Parameters=== * ''1'' - <Slot Type> * ''2'' - Craftable or Uncraftable ==draw_table examples== ===Back=== ---- <pre>{{#invoke:Accessory|draw_table|Necklace}}</pre> {{#invoke:Accessory|draw_table|Necklace}} <br> ===Head=== ---- <pre>{{#invoke:Accessory|draw_table|Ring}}</pre> {{#invoke:Accessory|draw_table|Ring}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:Accessory

Overview

Functions for making Accessory table. Data comes from Data:Accessory.json.

Functions

draw_table

Creates a table of accessories

Parameters

  • 1 - <Slot Type>
  • 2 - Craftable or Uncraftable


draw_table examples

Back


{{#invoke:Accessory|draw_table|Necklace}}


NameStats
Will
1~2
2~3
3~4
4~5
5~6
Vigor
1~2
2~3
3~4
4~5
5~6
Luck
100~120
Headshot Damage Modifier
12~15%
Agility
1~2
2~3
3~4
4~5
5~6
True Physical Damage
1
2
3
4
5
Dexterity
1~2
2~3
3~4
4~5
5~6
Max Health Add
1~2
3~4
5~6
7~8
9~10
Knowledge
1~2
2~3
3~4
4~5
5~6
Strength
1~2
2~3
3~4
4~5
5~6
True Magical Damage
1
2
3
4
5
Resourcefulness
1~2
2~3
3~4
4~5
5~6
Outgoing Magical Healing Add
3
Magical Resistance
12~14
16~20
22~26
28~32
34~38
Armor Rating Add
2~4
6~8
10~12
14~16
18~20


Head


{{#invoke:Accessory|draw_table|Ring}}


NameStats
Vigor
2
Will
2
Strength
2
Vigor
2
Luck
6~12
Strength
1
2
3
4
5
Dexterity
1
2
3
4
5
Agility
1
2
3
4
5
Will
1
2
3
4
5
Resourcefulness
1
2
3
4
5
Vigor
1
2
3
4
5
Knowledge
1
2
3
4
5