๐Ÿ’Šqb-drugs

Got any of that good stuff?

Introduction

  • Create dealers that players can interact with and purchase items or accept delivery jobs to earn rewards. Also included is "corner-selling" which allows players to sell drugs to NPC's for configured prices

Configuration

General

Config = {}
Config.Dealers = {} -- auto-populates on resource start
Config.MinimumDrugSalePolice = 2 -- minimum police allowed to corner sell

Products

Config.Products = { -- products availabe to buy from a dealer
    [1] = {
        name = "weed_white-widow", -- item name
        price = 15, -- how much it costs
        amount = 150, -- amount available in stock
        info = {}, -- item info (none)
        type = "item", -- item type
        slot = 1, -- inventory slot item will show in
        minrep = 0, -- how much rep needed to buy this item
    },
}

Corner selling item list

Corner selling pricing

Delivery locations

Delivery rewards

Commands

  • /newdealer - Create a new dealer at your coordinates

  • /deletedealer - Delete a dealer from the database

  • /dealers - Get a list of current dealers

  • /dealergoto - Teleport to a dealer

Last updated

Was this helpful?