From Dark and Darker Wiki
(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}}") |
(Don't care about craftable vs not) |
||
| Line 8: | Line 8: | ||
===Parameters=== | ===Parameters=== | ||
* ''1'' - <Slot Type> | * ''1'' - <Slot Type> | ||
Latest revision as of 23:55, 2 March 2026
Overview
Functions for making Accessory table. Data comes from Data:Accessory.json.
Functions
draw_table
Creates a table of accessories
Parameters
- 1 - <Slot Type>
draw_table examples
Back
{{#invoke:Accessory|draw_table|Necklace}}
| Name | Stats |
|---|---|
Will 1 2 3 4 5 | |
Vigor 1 2 3 4 5 | |
Luck 100~120 | |
Headshot Damage Modifier 12~15% | |
Agility 1 2 3 4 5 | |
Physical Power 1 2 3 4 5 Armor Penetration 1% 1.5% 2% 2.5% 3% | |
Dexterity 1 2 3 4 5 | |
Max Health Add 1~2 3~4 5~6 7~8 9~10 | |
Knowledge 1 2 3 4 5 | |
Strength 1 2 3 4 5 | |
Magical Power 1 2 3 4 5 Magical Penetration 1% 1.5% 2% 2.5% 3% | |
Resourcefulness 1 2 3 4 5 | |
Outgoing Magical Healing Add 3 | |
Magical Resistance 25~28 29~31 32~35 36~38 39~41 | |
Armor Rating Add 10~12 13~16 17~20 21~24 25~27 |
Head
{{#invoke:Accessory|draw_table|Ring}}
| Name | Stats |
|---|---|
Vigor 2 Will 1 | |
Strength 2 Vigor 1 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 |