From Dark and Darker Wiki

< Module:Droprate

Revision as of 09:13, 7 May 2026 by Raw Salad (talk | contribs) (Cleaned up the page a bit)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:Droprate

Overview

Functions for making loot table. Data comes from Loot:Monster.json, Loot:Prop.json, Loot:Loose Loot.json, and the Loot: namespace.

Functions

loot_tables

Creates a table of drops

  • name - Name of the object
  • category - Monster, Prop, Loose Loot

{{#invoke:Droprate|loot_tables|name=Lich|category=Monster}}

Lua error in Module:Droprate at line 438: attempt to concatenate field 'loot' (a table value).