From Dark and Darker Wiki
m (Fixed example) |
No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
=Overview= | =Overview= | ||
Functions for making [[ | Functions for making [[Misc]] table. Data comes from [[Data:Misc.json]]. | ||
=Functions= | =Functions= | ||
==draw_table== | ==draw_table== | ||
Creates a table of | Creates a table of misc items | ||
===Parameters=== | ===Parameters=== | ||
* ''1'' - < | * ''1'' - <Type> | ||
==draw_table examples== | ==draw_table examples== | ||
=== | ===Gems=== | ||
---- | ---- | ||
<pre>{{#invoke: | <pre>{{#invoke:Misc|draw_table|Gem}}</pre> | ||
{{#invoke: | {{#invoke:Misc|draw_table|Gem}} | ||
<br> | <br> | ||
=== | ===Contianer=== | ||
---- | ---- | ||
<pre>{{#invoke: | <pre>{{#invoke:Misc|draw_table|Container}}</pre> | ||
{{#invoke: | {{#invoke:Misc|draw_table|Container}} | ||
Revision as of 23:18, 7 March 2026
Overview
Functions for making Misc table. Data comes from Data:Misc.json.
Functions
draw_table
Creates a table of misc items
Parameters
- 1 - <Type>
draw_table examples
Gems
{{#invoke:Misc|draw_table|Gem}}
| Name | Single Item | Maximum Item Stack | ||
|---|---|---|---|---|
| Sell Price | Item Achieve | Sell Price / Slot Size | Item Achieve / Slot Size | |
| 3 5 12 25 50 100 175 | 1 1 2 4 6 10 20 | 9 15 36 75 150 300 525 | 3 3 6 12 18 30 60 | |
| 3 5 12 25 50 100 175 | 1 1 2 4 6 10 20 | 9 15 36 75 150 300 525 | 3 3 6 12 18 30 60 | |
| 3 5 12 25 50 100 175 | 1 1 2 4 6 10 20 | 9 15 36 75 150 300 525 | 3 3 6 12 18 30 60 | |
| 3 5 12 25 50 100 175 | 1 1 2 4 6 10 20 | 9 15 36 75 150 300 525 | 3 3 6 12 18 30 60 | |
Contianer
{{#invoke:Misc|draw_table|Container}}
| Name | Sell Price | Capacity |
|---|---|---|
| 3 | 2500 | |
| 25000 | ||
| 1 | 500 | |
| 1 | 100 | |
| 5 | 100 | |
| 5 | 5000 |