Difference between revisions of "NPCLoot data"
m |
m (Add "_" between spaces in item names.) |
||
Line 34: | Line 34: | ||
|Buys = Beverages;Armor;Books;Drugs;Food;Jewelry;Medicine;Potions;Tools;Weapons;Valuables | |Buys = Beverages;Armor;Books;Drugs;Food;Jewelry;Medicine;Potions;Tools;Weapons;Valuables | ||
|Sells = Weapons;Armor;Jewelry;Medicine;Valuables;Food;Junk | |Sells = Weapons;Armor;Jewelry;Medicine;Valuables;Food;Junk | ||
|Weapons = | |Weapons = Training_Crossbow | ||
|Armor = | |Armor = Travelling_Shoes | ||
|Beverages = | |Beverages = Mannshire_Fortified | ||
|Food = Bread;Cheese;Morel | |Food = Bread;Cheese;Morel | ||
|Medicine = Bandage;Healing Salve;Herbal Extract | |Medicine = Bandage;Healing Salve;Herbal Extract | ||
Line 46: | Line 46: | ||
|Buys = Beverages;Armor;Books;Drugs;Food;Jewelry;Medicine;Potions;Tools;Weapons;Valuables | |Buys = Beverages;Armor;Books;Drugs;Food;Jewelry;Medicine;Potions;Tools;Weapons;Valuables | ||
|Sells = Weapons;Armor;Jewelry;Medicine;Valuables;Food;Junk | |Sells = Weapons;Armor;Jewelry;Medicine;Valuables;Food;Junk | ||
|Weapons = | |Weapons = Training_Crossbow | ||
|Armor = | |Armor = Travelling_Shoes | ||
|Jewelry = | |Jewelry = | ||
|Beverages = | |Beverages = Mannshire_Fortified | ||
|Food = Bread;Cheese;Morel | |Food = Bread;Cheese;Morel | ||
|Medicine = Bandage;Healing Salve;Herbal Extract | |Medicine = Bandage;Healing Salve;Herbal Extract | ||
Line 60: | Line 60: | ||
* {{tl|NPCLootTable/end}} template. | * {{tl|NPCLootTable/end}} template. | ||
<!-- | <!-- New model: | ||
New model: | |||
{{#switch:{{{1}}} | {{#switch:{{{1}}} | ||
Line 83: | Line 66: | ||
|Buys = Weapons;Armor | |Buys = Weapons;Armor | ||
|Sells = Potions;Tools | |Sells = Potions;Tools | ||
|Weapons = Sword;Axe;Bow | |Weapons = Sword;Axe;Bow;Training_Crossbow | ||
|Armor = Helmet;Shield | |Armor = Helmet;Shield | ||
|Potions = HealthPotion;ManaPotion | |Potions = HealthPotion;ManaPotion | ||
Line 89: | Line 72: | ||
|#default = }} | |#default = }} | ||
}} | }} | ||
--> | --> | ||
</noinclude><includeonly>{{#switch: {{{1}}} | </noinclude><includeonly>{{#switch: {{{1}}} | ||
Line 141: | Line 123: | ||
|Sells = Weapons;Armor;Jewelry;Medicine;Valuables;Food;Junk | |Sells = Weapons;Armor;Jewelry;Medicine;Valuables;Food;Junk | ||
|Weapons = Training_Crossbow; | |Weapons = Training_Crossbow; | ||
|Armor = | |Armor = Travelling_Shoes; | ||
|Jewelry = <!--TODO--> | |Jewelry = <!--TODO--> | ||
|Books & Notes = <!--TODO--> | |Books & Notes = <!--TODO--> | ||
|Beverages = | |Beverages = Mannshire_Fortified | ||
|Food = Bread;Cheese;Morel | |Food = Bread;Cheese;Morel | ||
|Medicine = Bandage;Healing Salve; | |Medicine = Bandage;Healing Salve;Herbal_Extract | ||
|Valuables = <!--TODO--> | |Valuables = <!--TODO--> | ||
|Scrolls = <!--TODO--> | |Scrolls = <!--TODO--> |
Revision as of 05:53, 27 January 2025
Page for all Stoneshard NPC Loot data. [TEST]
---
NPCLoot data is maintained manually (for now).
Usage
The idea is to define this simple template and later on update it to a more complex one, with more parameters and options, if needed.
The parameters are as follows:
Category;Weapons;Armor;Jewelry;Artifacts;Treatises;Loot;Food;Beverages;Potions;Ingredients;Drugs;Medicine;Scrools;Ammunition;Tools;Traps
Possible updates could include:
Weapons(Swords;Axes;Maces;Daggers;THSwords;THAxes;THMaces;Spears;Ranged Weapons;Shields;Staves);Armor;Jewelry;Artifaccts;Treatises;Loot;Food;Beverages;Potions;Ingredients;Drugs;Medicine;Scrools;Ammunition;Tools;Traps
This template "integrates" with Friendly data template, which will be used to gather the data needed for each NPC.
Update Data
The idea here, is to centralize only what the NPCs trade. Buying and selling prices are not needed, as they are already in the determined data pages.
You can base it on the old NPC page, and list the types of items he sells like:
If a parameter is empty (for example;Bert does not Sell any Jewelry);it can be left empty or omitted completely.
Here are two examples of NPCLoot data syntax;these two would produce the same result:
|Bert = {{#switch:{{{2}}} |Buys = Beverages;Armor;Books;Drugs;Food;Jewelry;Medicine;Potions;Tools;Weapons;Valuables |Sells = Weapons;Armor;Jewelry;Medicine;Valuables;Food;Junk |Weapons = Training_Crossbow |Armor = Travelling_Shoes |Beverages = Mannshire_Fortified |Food = Bread;Cheese;Morel |Medicine = Bandage;Healing Salve;Herbal Extract |Tools = Hammer;Pickaxe;Bedroll |#default = }}
|Bert = {{#switch:{{{2}}} |Buys = Beverages;Armor;Books;Drugs;Food;Jewelry;Medicine;Potions;Tools;Weapons;Valuables |Sells = Weapons;Armor;Jewelry;Medicine;Valuables;Food;Junk |Weapons = Training_Crossbow |Armor = Travelling_Shoes |Jewelry = |Beverages = Mannshire_Fortified |Food = Bread;Cheese;Morel |Medicine = Bandage;Healing Salve;Herbal Extract |Tools = Hammer;Pickaxe;Bedroll |#default = }}
Used by:
{{NPCLootTable/head}}
template.{{NPCLootTable/row}}
template.{{NPCLootTable/end}}
template.