From Dark and Darker Wiki

(quest data completed)
m (sectionalized content)
Line 1,732: Line 1,732:
|default=}}</includeonly><noinclude>
|default=}}</includeonly><noinclude>


Usage:
==Variables==
<pre>{{Merchant_Data|<variable1>|<variable2>|...}}</pre>
 
Variables:
*name
*name
**greetingtext
**greetingtext
Line 1,763: Line 1,760:




Example 1 - Squire offer at 50 affinity
==Usage==
<pre>{{Merchant_Data|<variable1>|<variable2>|...}}</pre>
 
 
==Examples==
===Example 1===
Squire offer at 50 affinity
<pre style="width:fit-content;">{{Merchant_Data|Alchemist|squireoffers|50}}</pre>
<pre style="width:fit-content;">{{Merchant_Data|Alchemist|squireoffers|50}}</pre>
Outputs {{Merchant_Data|Alchemist|squireoffers|50}}
Outputs {{Merchant_Data|Alchemist|squireoffers|50}}
Line 1,769: Line 1,772:




Example 2 - Ingredients of Rubysilver Powder
===Example 2===
Ingredients of Rubysilver Powder
<pre style="width:fit-content;">{{Merchant_Data|Alchemist|crafts|Rubysilver Powder|ingredients}}</pre>
<pre style="width:fit-content;">{{Merchant_Data|Alchemist|crafts|Rubysilver Powder|ingredients}}</pre>
Outputs {{Merchant_Data|Alchemist|crafts|Rubysilver Powder|ingredients}}
Outputs {{Merchant_Data|Alchemist|crafts|Rubysilver Powder|ingredients}}
Line 1,775: Line 1,779:




Example 3 - Objective 1's Summary
===Example 3===
Objective 1's Summary
<pre style="width:fit-content;">{{Merchant_Data|Alchemist|questchapters|More Important Matters|A Father's Legacy|objectives|1|summary}}</pre>
<pre style="width:fit-content;">{{Merchant_Data|Alchemist|questchapters|More Important Matters|A Father's Legacy|objectives|1|summary}}</pre>
Outputs {{Merchant_Data|Alchemist|questchapters|More Important Matters|A Father's Legacy|objectives|1|summary}}
Outputs {{Merchant_Data|Alchemist|questchapters|More Important Matters|A Father's Legacy|objectives|1|summary}}
Line 1,781: Line 1,786:




Example 4 - Objective 2's required quest
===Example 4===
Objective 2's required quest
<pre style="width:fit-content;">{{Merchant_Data|Alchemist|questchapters|More Important Matters|Golden Opportunity|requiredquest}}</pre>
<pre style="width:fit-content;">{{Merchant_Data|Alchemist|questchapters|More Important Matters|Golden Opportunity|requiredquest}}</pre>
Outputs {{Merchant_Data|Alchemist|questchapters|More Important Matters|Golden Opportunity|requiredquest}}
Outputs {{Merchant_Data|Alchemist|questchapters|More Important Matters|Golden Opportunity|requiredquest}}
Line 1,787: Line 1,793:




Example 5 - All objective summaries
===Example 5===
All objective summaries
<pre style="width:fit-content;">{{Merchant_Data|Alchemist|questchapters|More Important Matters|A Father's Legacy|objectives|objectivessummary}}</pre>
<pre style="width:fit-content;">{{Merchant_Data|Alchemist|questchapters|More Important Matters|A Father's Legacy|objectives|objectivessummary}}</pre>
Outputs {{Merchant_Data|Alchemist|questchapters|More Important Matters|A Father's Legacy|objectives|objectivessummary}}
Outputs {{Merchant_Data|Alchemist|questchapters|More Important Matters|A Father's Legacy|objectives|objectivessummary}}
</noinclude>
</noinclude>

Revision as of 01:40, 26 March 2024


Variables

  • name
    • greetingtext
    • servicetypes
    • squireoffers
      • <affinity>
    • crafts
      • <item_to_craft>
        • rarity
        • quantity
        • conversationtext
        • craftcompletetext
        • ingredients
    • questchapters
      • <quest_chapter>
        • <quest>
          • greetingtext
          • completetext
          • requiredquest
          • objectives
            • objectivessummary
            • <objective_number>
              • type
              • quantity
              • fetch
              • summary


Usage

{{Merchant_Data|<variable1>|<variable2>|...}}


Examples

Example 1

Squire offer at 50 affinity

{{Merchant_Data|Alchemist|squireoffers|50}}

Outputs Poor Crystal Sword,Poor Spellbook,Poor Magic Staff


Example 2

Ingredients of Rubysilver Powder

{{Merchant_Data|Alchemist|crafts|Rubysilver Powder|ingredients}}

Outputs 2-Rubysilver Ore-5


Example 3

Objective 1's Summary

{{Merchant_Data|Alchemist|questchapters|More Important Matters|A Father's Legacy|objectives|1|summary}}

Outputs Fetch Potion of Healing (1x)


Example 4

Objective 2's required quest

{{Merchant_Data|Alchemist|questchapters|More Important Matters|Golden Opportunity|requiredquest}}

Outputs A Father's Legacy


Example 5

All objective summaries

{{Merchant_Data|Alchemist|questchapters|More Important Matters|A Father's Legacy|objectives|objectivessummary}}

Outputs Fetch Potion of Healing (1x), Fetch Potion of Protection (1x), Fetch Potion of Invisibility (1x)