Configuration
The config.lua file allows full control over the behavior, visuals, reward logic, item values, and world interactions in the script.
🔧 Core Settings
Config.Debug = true -- Enables debug prints and visual zones
Config.Framework = "auto" -- "qb", "esx", or "auto"
Config.Inventory = "auto" -- "qb", "ox", "qs", or "auto"
Config.InventoryLink = 'qb-inventory/html/images/' -- Path to item images (used in NUI)
Config.Target = "auto" -- "qb-target", "ox_target", or "auto"🔁 Trade Behavior
Config.MaxConsecutiveLowTrades = 3 -- After this many low trades, the wizard will temporarily refuse trade (fatigue mechanic)🎯 Tier Requirements
Control how many items and how much value is needed for each reward tier.
Config.TierRequirements = {
common = { minItems = 2, minValue = 0 },
uncommon = { minItems = 3, minValue = 60 },
rare = { minItems = 4, minValue = 120 },
epic = { minItems = 5, minValue = 200 },
legendary = { minItems = 6, minValue = 300 },
}💎 Hidden Item Values
These values are secretly assigned to items and used to calculate trade value.
🧪 Rarity Thresholds
Determine the value ranges for each rarity tier.
🎁 Reward Pools
Each tier gives a random reward from its pool:
🌙 Night-Only Table Spawning
Control when the wizard appears.
🧙 Wizard Table Props
Define where the wizard table and accompanying objects spawn, along with visual effects.
Last updated