Manmadedrummer 0f986f4852 Update README.md
2024-07-07 13:38:21 -04:00
2024-07-07 13:38:21 -04:00

Black-Market-Vendor

Adds a Vendor who sells 1 Armor per class and rotates them out weekly.

The SQL table is created in your "World" folder. The Lua script for the NPC handles randomly getting the Armor sets and allows players to purchase them for 100 Araxia Tokens.

EXAMPLE OF an Armor Set Insert

INSERT INTO araxia_world.black_market_armor_sets (class, item_id, name, item_set_id, set_name) VALUES
    (11, 23294, 'Knight-Captain''s Dragonhide Chestpiece', 551, 'Lieutenant Commander''s Refuge'),
    (11, 23295, 'Knight-Captain''s Dragonhide Leggings', 551, 'Lieutenant Commander''s Refuge'),
    (11, 23280, 'Knight-Lieutenant''s Dragonhide Grips', 551, 'Lieutenant Commander''s Refuge'),
    (11, 23281, 'Knight-Lieutenant''s Dragonhide Treads', 551, 'Lieutenant Commander''s Refuge'),
    (11, 23308, 'Lieutenant Commander''s Dragonhide Headguard', 551, 'Lieutenant Commander''s Refuge'),
    (11, 23309, 'Lieutenant Commander''s Dragonhide Shoulders', 551, 'Lieutenant Commander''s Refuge');

Explanation of SQL Code

The provided SQL code inserts data into a table named black_market_armor_sets in the araxia_world schema:

INSERT INTO araxia_world.black_market_armor_sets
(class, item_id, name, item_set_id, set_name)
VALUES
(11, 23294, 'Knight-Captain''s Dragonhide Chestpiece', 551, 'Lieutenant Commander''s Refuge');

INSERT INTO araxia_world.black_market_armor_sets: Specifies the table where data will be inserted.

(class, item_id, name, item_set_id, set_name): Specifies the columns into which data will be inserted:

class: Class identifier for the armor set. (1 - Warrior, 2 - Paladin, 3 - Hunter, 4 - Rogue, 5 - Priest, 6 - Death Knight, 7 - Shaman, 9 - Mage, 9 - Warlock, 11 - Druid) item_id: Unique identifier for the armor item. (The Items listed in the "Armor Set")
name: Name of the armor item.
item_set_id: Identifier for the armor set. (Each armor set has its own unique number, 551, 250, 689, etc.)
set_name: Name of the armor set.
VALUES: Indicates that the subsequent values correspond to the columns listed above.

Description
No description provided
Readme 213 KiB
Languages
Lua 100%