NPCLoot data

From Stoneshard wiki
Revision as of 01:19, 26 January 2025 by Kaleb (talk | contribs) (Add test.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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: