From Dark and Darker Wiki

< Template:Armor Data

m (Changed Arguments to be suggested, rather than optional.)
(Updating to use set-like notation to indicate switch branching in description.)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<templatedata>
<templatedata>
{
{
"description": "A switch data structure that contains information on armor pieces. If variables are not passed, returns an empty string.",
"description": "A switch data structure that contains information on armor items. If arguments are not passed, returns an empty string.",
"params": {
"params": {
"1": {
"1": {
"label": "Argument",
"label": "Switch Level 1",
"description": "Name of an armor piece or name of a list.",
"description": "{<ItemName>}.",
"suggested": true,
"suggested": true,
"type": "string"
"type": "string"
},
},
"2": {
"2": {
"label": "Argument",
"label": "Switch Level 2",
"description": "Armor property. Some properties are switches unto themselves, like Stats and Types.",
"description": "<ItemName>: {Rarities, Classes, Stats, FlavorText, SlotType, Ap, Xp, Types, MaxCount, MaxAmmoCount, WearingDelayTime, MovementMultiplier, InvSlots}.",
"suggested": true,
"suggested": true,
"type": "string"
"type": "string"
},
},
"3": {
"3": {
"label": "Argument",
"label": "Switch Level 3",
"description": "Terminal armor property. Usually follows Stats and Types.",
"description": "Stats: {<StatName>, AllStats}. Types: {Plate, Leather, Cloth}.",
"suggested": true,
"suggested": true,
"type": "string"
"type": "string"

Latest revision as of 05:40, 2 April 2024

A switch data structure that contains information on armor items. If arguments are not passed, returns an empty string.

Template parameters

ParameterDescriptionTypeStatus
Switch Level 11

{<ItemName>}.

Stringsuggested
Switch Level 22

<ItemName>: {Rarities, Classes, Stats, FlavorText, SlotType, Ap, Xp, Types, MaxCount, MaxAmmoCount, WearingDelayTime, MovementMultiplier, InvSlots}.

Stringsuggested
Switch Level 33

Stats: {<StatName>, AllStats}. Types: {Plate, Leather, Cloth}.

Stringsuggested