From Dark and Darker Wiki

< Module:Utility

This is the documentation page for Module:Utility

Overview

Functions for making Utility tables. Data comes from Data:Utility.json.

Functions

draw_table

Creates a table of utilities

Parameters

  • 1 - <Type>


draw_table examples

Drink


{{#invoke:Utility|draw_table|Drink}}


NameMovement SpeedEffect
-10While active, gain 4 | 5 | 6 | 7 | 8 | 9 | 10 Strength and become drunk for 15 seconds.
-10Drink this to gain 5 to All Attributes for 10 seconds. In return, you also gain an unhealing debuff.
-10Recover 20 Magical Base Healing (50% Scaling) over 15 seconds.
-10Instantly restores 3 health and applies a festive effect.
-10Gain between 50 | 100 | 200 to 150 | 200 | 300 Luck.
-10Gain a shield that blocks 10 | 15 | 20 | 25 | 30 | 35 | 40 magical Damage for 24 seconds.
-10Gain 2 spell recovery every second for 20 | 40 | 60 | 80 | 100 | 120 | 140 seconds.
-10Recover 20 Magical Base Healing (50% Scaling) over 20 | 17.5 | 15 | 12.5 | 10 | 7.5 | 5 seconds.
-10Gain invisibility for 11 | 14 | 17 | 20 | 23 | 26 | 29 seconds. When you move, perform an action or take damage, the effect is removed.
-10Gain between 20 to 80 Luck.
-10Gain a shield that blocks 10 | 15 | 20 | 25 | 30 | 35 | 40 physical damage for 24 seconds.
-10Recover 20 | 30 | 40 | 50 | 60 | 70 | 80 Oxygen.
-10Recover 100 Magical Base Healing (50% Scaling) over 100 seconds.

Code