Dealers

This file represents the dealer configuration (sh_dealers.lua)

Dealers

Edit or create new or existing dealers according to this structure

['DEALER ID'] = { --Dealer ID
        name = "DEALER NAME", --Dealer Name
        description = "DEALER DESCRIPTION", -- Dealer description for the UI
        shop = {},
        upgrades = {},
        tasks = {}
    },

Shop

Add new items or edit existing ones by following this structure. All of the items should be added inside the shop value of the dealer

["ITEM NAME"] = { --Item name
    price = 500, -- Item price
    item = "ITEM NAME", -- Item name
    requiredRep = 0, -- Required reputation to buy the item    
    requiredTask = "REQUIRED TASK OR FALSE TO DISABLE", -- Required task to buy the item
},

Upgrades

Add or remove possible upgrades from the dealer inside the upgrades value of each dealer. Possible upgrades can be found inside the sh_upgrades.lua file.

Tasks

Add new or edit existing tasks by following this structure. All of these should be added inside the tasks value of each dealer.

Example Configuration

Last updated