Description
A pawn shop where loot sells at a fluctuating, server-quoted value, an optional haggle roll can swing the payout up or down, and each sale issues a pawn ticket the player can redeem later for a small fee. Servers buy it because the haggle gamble and reclaim mechanic add real RP texture that flat-rate sell-shops lack.
Prompt Template
You are writing a FiveM resource for qb-core.
The full prompt template and its reference Lua are part of a one-time pack. Pick your depth — both are lifetime access, no subscription, ever.
- 60 prompts + syntax-validated reference Lua
- Lifetime access — pay once
- All 510 prompts — the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates — new niches as the market moves
$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.
Expected Output
The reference Lua at content/expected-outputs/economy/18-pawn-shop-dynamic-valuation.lua quotes a random swing value, resolves the haggle roll server-side, removes the item before paying, and tracks…
The full prompt template and its reference Lua are part of a one-time pack. Pick your depth — both are lifetime access, no subscription, ever.
- 60 prompts + syntax-validated reference Lua
- Lifetime access — pay once
- All 510 prompts — the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates — new niches as the market moves
$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.
Known Failure Modes & Corrective Prompt
- Client-side haggle — a cheater always wins; roll
math.randomon the server. - Unverified sale — selling phantom loot; check
GetItemByNamebefore paying. - Infinite redeem — never clearing the ticket;
table.removeit on redeem.
Corrective re-prompt: "Roll the haggle and compute valuation entirely server-side, verify the item is held with GetItemByName before crediting, and remove the pawn ticket from the table on redemption so it cannot be reused."
Framework Integration
ESX: use ESX.GetPlayerFromId, xPlayer.getInventoryItem, removeInventoryItem, and xPlayer.addMoney.
QBCore: as written — GetPlayer, GetItemByName, RemoveItem/AddItem, AddMoney/RemoveMoney.
QBox: resolve via exports.qbx_core:GetPlayer and move item handling to the ox_inventory exports.
Profit Potential
$150–$2000/mo on Tebex (expected ~$500). [INFERRED] priced in the $50-389 script band against the signal-scraper tebex_snapshot corpus (median seller $11.85K/mo, n=100), scaled to a stable-niche unit estimate.
Trend Signal
→ stable — corpus: Pawn-shop scripts are a common Tebex economy listing (tebex_topsellers cat:economy); steady demand, quality varies widely.
Sales Angle
Stand out from flat-rate pawn clones with a haggle gamble and redeemable tickets. Recommended Tebex price: $179.
Difficulty & Ship Time
intermediate · ships in 2-4h.