Difference between revisions of "NPCLoot data"
Jump to navigation
Jump to search
(Test.) |
|||
Line 67: | Line 67: | ||
|Weapon = Bows;Crossbows;Staves;Maces;Two-Handed Maces;Ammo;Shields | |Weapon = Bows;Crossbows;Staves;Maces;Two-Handed Maces;Ammo;Shields | ||
|Armor = Shields | |Armor = Shields | ||
|#default = }} | |#default = }} | ||
|Margyt = {{#switch: {{{2}}} | |Margyt = {{#switch: {{{2}}} | ||
| | |Buy = | ||
| | |Food = Food | ||
|#default = }} | |#default = }} | ||
|Gina = {{#switch: {{{2}}} | |Gina = {{#switch: {{{2}}} | ||
| | |Buy= | ||
| | |Food=Food | ||
|#default = }} | |#default = }} | ||
|Frid = {{#switch: {{{2}}} | |Frid = {{#switch: {{{2}}} | ||
| | |Buy= | ||
|Sells=Herbs, Medicine, Scrolls | |Sells=Herbs, Medicine, Scrolls | ||
|#default = }} | |#default = }} | ||
Line 128: | Line 107: | ||
|Trader=1 | |Trader=1 | ||
|Sells=Food | |Sells=Food | ||
|#default = }} | |#default = }} | ||
Line 155: | Line 116: | ||
|#default = }} | |#default = }} | ||
|Hold = {{#switch: {{{2}}} | |Hold = {{#switch: {{{2}}} | ||
Line 178: | Line 136: | ||
|Repair=1 | |Repair=1 | ||
|Sells=Maces, Staves, Shields, Bows, Xbows, Ammunition | |Sells=Maces, Staves, Shields, Bows, Xbows, Ammunition | ||
|#default = }} | |#default = }} | ||
Line 210: | Line 160: | ||
|Trader=1 | |Trader=1 | ||
|Sells=Maps, Tools | |Sells=Maps, Tools | ||
|#default = }} | |#default = }} | ||
Revision as of 02:58, 26 January 2025
Page for all Stoneshard NPC Loot data.
---
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 will integrate 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:
Logic to implement:
If Trader=1, show template, else "This NPC is not a trader.". If Sells exists, show it, else "This NPC does not sell anything.".
Used by:
{{NPCLootTable/head}}
template.{{NPCLootTable/row}}
template.{{NPCLootTable/end}}
template.