From Dark and Darker Wiki

m (Testing)
Tags: Replaced Reverted
m (Testing)
Tag: Reverted
Line 1: Line 1:
local p = {}
local p = {}
local AD = mw.loadJsonData("Data:Armor.json")


return p
return p

Revision as of 06:30, 2 March 2026

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