From Dark and Darker Wiki

Revision as of 06:30, 2 March 2026 by Raw Salad (talk | contribs) (Testing)

Overview

Functions for making Armor table. Data comes from Data:Armor.json.

Functions

draw_table

Creates a table of armors

Parameters

  • 1 - <Slot Type>
  • 2 - Craftable or Uncraftable


draw_table examples

Back


{{#invoke:Armor|draw_table|Back|Craftable}}


Script error: The function "draw_table" does not exist.

Head


{{#invoke:Armor|draw_table|Head|Uncraftable}}


Script error: The function "draw_table" does not exist.


local p = {}
local AD = mw.loadJsonData("Data:Armor.json")

return p