- name - Name of the object
- category - Monster, Prop, Loose Loot
The Dark and Darker Wiki is made by and for the players. Do you want to contribute?
From Dark and Darker Wiki
Raw Salad (talk | contribs) Bureaucrats, commentadmin, csmoderator, editor, Interface administrators, moderator, Suppressors, Administrators, Widget editors 30,940 edits Fixing this case. |
Raw Salad (talk | contribs) Bureaucrats, commentadmin, csmoderator, editor, Interface administrators, moderator, Suppressors, Administrators, Widget editors 30,940 edits Cleaned up the page a bit |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{#invoke:Droprate|loot_tables| | =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> | |||
Functions for making loot table. Data comes from Loot:Monster.json, Loot:Prop.json, Loot:Loose Loot.json, and the Loot: namespace.
Creates a table of drops
{{#invoke:Droprate|loot_tables|name=Lich|category=Monster}}
Lua error in Module:Droprate at line 438: attempt to concatenate field 'loot' (a table value).