From Dark and Darker Wiki

< Template:Merchant Data

(Creating document page using <templatedata>.)
 
(Changed to set notation, like we have for the Data templates.)
Line 5: Line 5:
"1": {
"1": {
"label": "Argument",
"label": "Argument",
"description": "Name of a Merchant.",
"description": "{<MerchantName>}",
"suggested": true,
"suggested": true,
"type": "string"
"type": "string"
Line 11: Line 11:
"2": {
"2": {
"label": "Argument",
"label": "Argument",
"description": "{GreetingText,ServiceTypes}",
"description": "{GreetingText, ServiceTypes, SquireOffers, Crafts, QuestChapters}",
"suggested": true,
"suggested": true,
"type": "string"
"type": "string"
Line 17: Line 17:
"3": {
"3": {
"label": "Argument",
"label": "Argument",
"description": "Belongs to SquireOffers or Crafts or QuestChapters branch. SquireOffers: {0,25,40,100,all}. Crafts: various <Item> branches. QuestChapters: various <ChapterName> branches.",
"description": "SquireOffers: {0,25,40,100,all}. Crafts:{<ItemName>}. QuestChapters: {<ChapterName>}.",
"suggested": true,
"suggested": true,
"type": "string"
"type": "string"
Line 23: Line 23:
"4": {
"4": {
"label": "Argument",
"label": "Argument",
"description": "Belongs to Crafts or QuestChapters branch. Crafts/<Item>: {rarity,quantity,ingredients,conversationtext,craftcompletetext}. QuestChapters/<ChapterName>: various <QuestName> branches.",
"description": "<ItemName>: {Rarity, Quantity, Ingredients, Conversationtext, Craftcompletetext}. <ChapterName>: {<QuestName>}.",
"suggested": true,
"suggested": true,
"type": "string"
"type": "string"
Line 29: Line 29:
"5": {
"5": {
"label": "Argument",
"label": "Argument",
"description": "Belongs to QuestChapters branch. QuestChapters/<ChapterName>/<QuestName>: {GreetingText,CompleteText,Objectives,Rewards}.",
"description": "<QuestName>: {GreetingText,CompleteText,Objectives,Rewards}.",
"suggested": true,
"suggested": true,
"type": "string"
"type": "string"

Revision as of 00:12, 4 April 2024

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

Template parameters

ParameterDescriptionTypeStatus
Argument1

{<MerchantName>}

Stringsuggested
Argument2

{GreetingText, ServiceTypes, SquireOffers, Crafts, QuestChapters}

Stringsuggested
Argument3

SquireOffers: {0,25,40,100,all}. Crafts:{<ItemName>}. QuestChapters: {<ChapterName>}.

Stringsuggested
Argument4

<ItemName>: {Rarity, Quantity, Ingredients, Conversationtext, Craftcompletetext}. <ChapterName>: {<QuestName>}.

Stringsuggested
Argument5

<QuestName>: {GreetingText,CompleteText,Objectives,Rewards}.

Stringsuggested