From Dark and Darker Wiki
Example tooltip for rare healing potions
15 HP healed over 20 seconds
Potion used to recover a bit of health
Creates an Iconbox with an Infobox Tooltip
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name 1 | Name of the character/item/weapon | String | required |
Rarity | rarity | Options: -1, 1, 2, 3, 4, 5, 6, 7 | Number | suggested |
Icon Size | iconsize | Size with px to set width, eg. "30px" Size with xpx to set height, eg. "x30px" | String | suggested |
Amount | amount | Shows a number in the bottom right corner
| Number | optional |
Image Override | image | If not set, uses the image that matches the name | String | optional |
Caption Override | caption | If not set, uses the name. Always links to the name. Use "no" to hide the caption | String | suggested |
Top Text | top | Shown above the caption | String | optional |
Prevent Line Breaks | nobr | If enabled, removes the line break, putting the icon and text on a single line. Use 1 to enable. | Boolean | optional |
Max Width | maxwidth | If set, constrains the box to the specified width. Accepts any valid CSS width (60px, 60%). If not set, uses max-width:initial.
| String | optional |
Stats | stats | Stats of the item
| String | suggested |
Enchantments | enchantments | enchantments of the item if there is any | String | optional |
Special | special | Special power of the item if there is any | String | optional |
Effect | effect | effect of the item if there is any | Unknown | optional |
Classes | classes | Classes of item | String | suggested |
Slot Type | slottype | Slot type of item | String | suggested |
Armor Type | armortype | Armor type of item | String | optional |
Hand Type | handtype | handtype of item | String | optional |
Weapon Type | weapontype | weapontype of item | String | optional |
Utility Type | utilitytype | Utility type of item | String | optional |
Action Time | actiontime | Action Time of item if there is any | String | optional |
Attack Speed | attackspeed | attackspeed of item | String | optional |
Reload Speed | reloadspeed | reloadspeed of item | String | optional |
Quiver Size | quiversize | quiversize of item | String | optional |
Combo | combo | combo of item | String | optional |
Combo Damage | combodamage | combodamage of item | String | optional |
Spot Damage | spotdamage | spotdamage of item | String | optional |
Hitbox | hitbox | hitbox of item | String | optional |
Action Movement Speed | actionmovementspeed | actionmovementspeed of item | String | optional |
Description | description | Description of item if there is any | String | optional |
nofloat | nofloat | Whether the infobox floats right or not
| String | optional |
Infobox Image Size | size | Size of the picture, default = 100x200px , 100x for width, 200px for height
| String | optional |