From Dark and Darker Wiki

< Module:Droprate

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).