From Dark and Darker Wiki
 (Creating document page using <templatedata>.)  | 
				 (Updating to use set-like notation to indicate switch branching in description.)  | 
				||
| Line 4: | Line 4: | ||
	"params": {  | 	"params": {  | ||
		"1": {  | 		"1": {  | ||
			"label": "  | 			"label": "Switch Level 1",  | ||
			"description": "  | 			"description": "{<ItemName>}",  | ||
			"suggested": true,  | 			"suggested": true,  | ||
			"type": "string"  | 			"type": "string"  | ||
		},  | 		},  | ||
		"2": {  | 		"2": {  | ||
			"label": "  | 			"label": "Switch Level 2",  | ||
			"description": "  | 			"description": "<ItemName>: {Rarities, FlavorText, Ap, Xp, Types, MaxCount, MaxAmmoCount, WearingDelayTime, MovementMultiplier, InvSlots, IsCraftable}.",  | ||
			"suggested": true,  | 			"suggested": true,  | ||
			"type": "string"  | 			"type": "string"  | ||
		},  | 		},  | ||
		"3": {  | 		"3": {  | ||
			"label": "  | 			"label": "Switch Level 3",  | ||
			"description": "  | 			"description": "Types: {HuntingLoot, Gem, Ammo, Currency, Ore, Powder, Ingot}. ",  | ||
			"suggested": true,  | 			"suggested": true,  | ||
			"type": "string"  | 			"type": "string"  | ||
Latest revision as of 04:47, 2 April 2024
A switch data structure that contains information on misc items. If proper arguments are not passed, returns an empty string.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Switch Level 1 | 1 | {<ItemName>}  | String | suggested | 
| Switch Level 2 | 2 | <ItemName>: {Rarities, FlavorText, Ap, Xp, Types, MaxCount, MaxAmmoCount, WearingDelayTime, MovementMultiplier, InvSlots, IsCraftable}.  | String | suggested | 
| Switch Level 3 | 3 | Types: {HuntingLoot, Gem, Ammo, Currency, Ore, Powder, Ingot}.  | String | suggested |