From Dark and Darker Wiki

< Module:Droprate

(Updated example)
(Cleaned up the page a bit)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#invoke:Droprate|loot_tables|Ghost King Elite|Monster}}
=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
 
<tabber>
|-| Parameters=
* ''name'' - Name of the object
* ''category'' - Monster, Prop, Loose Loot
 
|-| Examples=
<pre>{{#invoke:Droprate|loot_tables|name=Lich|category=Monster}}</pre>
{{#invoke:Droprate|loot_tables|name=Lich|category=Monster}}
 
</tabber>

Latest revision as of 09:13, 7 May 2026

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}}

Loot Tables

Common
Elite
Default
PvE
LR
Default
Monsters_Bosses
Key_High
Key_Med
QuestItemDefaultCommon
QuestItemDefaultCommon
EventCurrency
Rolls: 3
Drop rates 
Luck gradeProbabilityProbability per itemItem count
420%0.5%40
580%2%40

Loot Table 
NameLuck GradeRarityItem Count
4Rare1
5Epic1
4Rare1
5Epic1
4Rare1
5Epic1
4Rare1
5Epic1
4Rare1
5Epic1
4Rare1
5Epic1
4Rare1
5Epic1
4Rare1
5Epic1
4Rare1
5Epic1
4Rare1
5Epic1
4Rare1
5Epic1
4Rare1
5Epic1
4Rare1
5Epic1
4Rare1
5Epic1
4Rare1
5Epic1
4Rare1
5Epic1
4Rare1
5Epic1
4Rare1
5Epic1
4Rare1
5Epic1
4Rare1
5Epic1
4Rare1
5Epic1
4Rare1
5Epic1
4Rare1
5Epic1
4Rare1
5Epic1
4Rare1
5Epic1
4Rare1
5Epic1
4Rare1
5Epic1
4Rare1
5Epic1
4Rare1
5Epic1
4Rare1
5Epic1
4Rare1
5Epic1
4Rare1
5Epic1
4Rare1
5Epic1
4Rare1
5Epic1
4Rare1
5Epic1
4Rare1
5Epic1
4Rare1
5Epic1
4Rare1
5Epic1
4Rare1
5Epic1
4Rare1
5Epic1