Peuren
  • 🏠Home
  • Store
  • Discord
  • 🛠️PEUREN_LIB
    • 📩Installation
    • ⚙️Configuration
  • 🔏PEUREN_BURGLARY
    • 📩Installation
    • ⚙️Configuration
      • Basic Configuration
      • Dealers
      • Skills
      • Pawnshop
      • Shells
      • Rewards
  • 🎣PEUREN_FISHING
    • 📩Installation
    • ⚙️Configuration
      • Fishing Rods
      • Baits
      • Skills
      • Shops
  • 🚘PEUREN_CHOPSHOP
    • 📩Installation
    • ⚙️Configuration
      • Basic Configuration
      • Dealers
      • Skills
      • Pawnshops
      • Locations
      • Rewards
  • 💰 PEUREN_GRUPPE6
    • 📩Installation
    • ⚙️Configuration
      • Locations
      • Job ranks
      • Job center
      • Basic Configuration
    • 💻Exports and Events
      • UI
      • Job rank
  • 📫 PEUREN_DELIVERIES
    • 📩Installation
    • ⚙️Configuration
      • Locations
      • Job ranks
      • Job center
      • Basic Configuration
    • 💻Exports and Events
      • UI
      • Job rank
  • 🚜 PEUREN_FARMERJOB
    • 📩Installation
    • ⚙️Configuration
      • Job center
      • Basic Configuration
      • Job ranks
    • 💻Exports and Events
      • UI
      • Job rank
  • ⛏️ PEUREN_MINERJOB
    • 📩Installation
    • ⚙️Configuration
      • Job center
      • Basic Configuration
      • Job ranks
    • 💻Exports and Events
      • UI
      • Job rank
  • 💀PEUREN_GANGS
    • 📩Installation
    • ⚙️Configuration
      • Config
      • Dealers
      • Contracts
      • Graffities
      • Upgrades
      • Zones
    • 💻Exports
  • PEUREN_GARBAGEJOB
    • 📩Installation
    • ⚙️Configuration
      • Job center
      • Basic Configuration
      • Recycling job
      • Collection job
  • 🥦PEUREN_DRUGS
    • 📩Installation
    • ⚙️Configuration
      • Config
      • Cocaine & Crack
      • Meth
      • Weed
      • Oxy
      • Drug labs
      • Effects
      • Burner phone contacts
      • Money laundering
      • Burner phone
      • Selling
      • Props
      • Reputation
      • Skills
Powered by GitBook
On this page
  1. PEUREN_CHOPSHOP
  2. Configuration

Pawnshops

Guide for editing the pawnshops functionality.

This file can be located in peuren_chopshop\shared\sh_main.lua.

You can edit the pre-configured items and options or add new items by following the example.

All current market rates and data can be found in peuren_chopshop/pawnshop.json file.

Config.PawnShop = {
    ["basic"] = {--Basic dealer pawnshop
        Currency = {--Currency that is used to pay/purchase things at the dealers pawnshop
            account = 'cash',-- Supported types: black_money, bank, cash
            accountItem = {
                enabled = false,--Is currency to pay/purchase an item?
                itemName = 'markedbills'--The currency item that is used to pay/purchase things in the pawnshop
            }
        },

        Reputation = { --How much to lower the price for the items that they're buying or increase the price for the items that they're selling. Use false to disable
            minRep = 3, --Minimum reputation required.
            multiplier = 1 --How much to change the price in percentage. Final Price = actual price +- actual price * ((reputation - minimumReputation) * multiplier / 100) 
        },

        Market = {
            SaleAge = 86400, --In seconds. How long sales affect the item prices.
            MarketCycle = 600,--In seconds. How frequently item prices are updated.
            PriceChangeFactor = 0.5, --Intesnity of the price fluctuations.
        },

        Buy = {
            -- {name = "item spawn name", price = item price },
            { name = "WEAPON_DIGISCANNER", price = 1000 },
            { name = "toolbox", price = 200 },
        },

        Sell = {
            -- {name = "item spawn name", min = item min price, max = item max price },

            { name = "boot", min = 800, max = 1000 },
            { name = "bonnet", min = 800, max = 1500 },
            { name = "door", min = 800, max = 3000 },
            { name = "wheel", min = 800, max = 2500 },
            { name = "engine", min = 800, max = 4000 },
        }
    },
}
PreviousSkillsNextLocations

Last updated 1 year ago

🚘
⚙️