From Dark and Darker Wiki
(Created page with "=Overview= Functions for making Iconbox table. Data comes from various data jsons: Data:Weapon.json, Data:Armor.json, Data:Accessory.json, Data:Utility.json, Data:Misc.json, Data:Monster.json, Data:Prop.json. =Functions= ==draw== Creates an iconbox that floats to the right. ===Parameters=== * ''name'' - <Name> * ''is_active'' - {1,2,3,4,5,6,7,8,Common,Elite,Nightmare} * ''category'' - {Weapon,Armor,Accessory,Utility,Misc,Monster,Prop}...") |
(Fixed sections beginning too high.) |
||
| Line 13: | Line 13: | ||
==draw examples== | ==draw examples== | ||
<h3>Halberd,7,Weapon</h3> | <h3 style="width:100%; display:inline-block">Halberd,7,Weapon</h3> | ||
---- | ---- | ||
<pre>{{#invoke:Infobox|draw|name=Halberd|is_active=7|category=Weapon}}</pre> | <pre>{{#invoke:Infobox|draw|name=Halberd|is_active=7|category=Weapon}}</pre> | ||
| Line 20: | Line 20: | ||
<br> | <br> | ||
<h3>Cinder,8,Weapon</h3> | <h3 style="width:100%; display:inline-block">Cinder,8,Weapon</h3> | ||
---- | ---- | ||
<pre>{{#invoke:Infobox|draw|name=Cinder|is_active=8|category=Weapon}}</pre> | <pre>{{#invoke:Infobox|draw|name=Cinder|is_active=8|category=Weapon}}</pre> | ||
| Line 27: | Line 27: | ||
<br> | <br> | ||
<h3>Ranger Hood,5,Armor</h3> | <h3 style="width:100%; display:inline-block">Ranger Hood,5,Armor</h3> | ||
---- | ---- | ||
<pre>{{#invoke:Infobox|draw|name=Ranger Hood|is_active=5|category=Armor}}</pre> | <pre>{{#invoke:Infobox|draw|name=Ranger Hood|is_active=5|category=Armor}}</pre> | ||
| Line 34: | Line 34: | ||
<br> | <br> | ||
=Code | <h1 style="width:100%; display:inline-block">Code</h1> | ||
Revision as of 06:48, 23 March 2026
Overview
Functions for making Iconbox table. Data comes from various data jsons: Data:Weapon.json, Data:Armor.json, Data:Accessory.json, Data:Utility.json, Data:Misc.json, Data:Monster.json, Data:Prop.json.
Functions
draw
Creates an iconbox that floats to the right.
Parameters
- name - <Name>
- is_active - {1,2,3,4,5,6,7,8,Common,Elite,Nightmare}
- category - {Weapon,Armor,Accessory,Utility,Misc,Monster,Prop}
draw examples
Halberd,7,Weapon
{{#invoke:Infobox|draw|name=Halberd|is_active=7|category=Weapon}}
Cinder,8,Weapon
{{#invoke:Infobox|draw|name=Cinder|is_active=8|category=Weapon}}
-
Physical Base Weapon Damage 60~61
-
-
Move Speed -45
-
-
Up to 5 extra enchantments
-
-
Successful weapon attacks sears the target for 10
Fire Magical Base Damage (100% Scaling) and burns them for 27
Fire Magical Base Damage (50% Scaling) over 9 seconds.
-
Weapon Type:
Polearm
Slot Type:
Main-Hand
Hand Type:
Two Handed
Hitbox:
119.7x15.84x2.14
Stack Size:
1
It will be difficult to keep track of your kill count for they have all been reduced to a pile of ash.
Ranger Hood,5,Armor
{{#invoke:Infobox|draw|name=Ranger Hood|is_active=5|category=Armor}}

