gta6/prompts
crafting
Vaultbeginnercrafting

Crafting Quality Minigame

Generic-framework timing skill-check whose server-graded accuracy sets the crafted item's quality tier and metadata.

NON-TESTÉ — the reference Lua is syntax-validated, not run in a live FiveM server. Adapt and test on your own dev server before shipping.
Est. Lua
~78 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-25

Description

A timing skill-check that gates crafting outcome quality for roleplay servers: the player hits a moving marker, and how close they land determines whether the bench yields a poor, standard or pristine item. It adds skill expression to an otherwise instant craft, and a version that grades accuracy server-side outsells the client-trusting clones.

Prompt Template

You are writing a FiveM resource for a generic roleplay framework accessed via…

🔒 Eyes-only — locked prompt body

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.

Core$49one-time
  • 60 prompts + syntax-validated reference Lua
  • Lifetime access — pay once
Most Popular · Best Value
Vault$199one-time
  • All 510 prompts — the full library
  • Per-prompt profit/trend intelligence (CSV + playbook)
  • Lifetime free updates — new niches as the market moves
Get the Vault — $199

$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.

Expected Output

The reference Lua at content/expected-outputs/crafting/13-crafting-quality-minigame.lua runs the client timing minigame and craft anim, then a server handler that clamps the accuracy, maps it to a…

🔒 Eyes-only — locked prompt body

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.

Core$49one-time
  • 60 prompts + syntax-validated reference Lua
  • Lifetime access — pay once
Most Popular · Best Value
Vault$199one-time
  • All 510 prompts — the full library
  • Per-prompt profit/trend intelligence (CSV + playbook)
  • Lifetime free updates — new niches as the market moves
Get the Vault — $199

$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.

Known Failure Modes & Corrective Prompt

  • Client-graded quality — if the tier is computed client-side, a cheat always submits pristine. Derive the tier on the server from clamped accuracy.
  • Unvalidated grant — granting before checking the recipe/accuracy lets a spammed event mint items; validate then grant.
  • Unloaded animTaskPlayAnim without a RequestAnimDict + HasAnimDictLoaded wait no-ops; load the dict first.

Corrective re-prompt: "Send only the raw accuracy to the server; clamp it there, map it to the quality tier, validate the recipe and grant the item with quality metadata server-side. Load the anim dict with RequestAnimDict and a HasAnimDictLoaded wait loop before playing."

Framework Integration

ESX: swap exports['gen_core']:getObject() for exports['es_extended']:getSharedObject() and grant via xPlayer.addInventoryItem (store quality in a metadata-capable inventory). QBCore: use exports['qb-core']:GetCoreObject() and Player.Functions.AddItem(item, 1, nil, {quality=tier}). QBox: use exports.qbx_core plus exports.ox_inventory:AddItem(src, item, 1, {quality=tier}).

Profit Potential

$250–$3500/mo on Tebex (expected ~$900). [INFERRED] priced inside the $50-389 standalone-script band against the signal-scraper corpus (tebex_snapshot n=100, median seller $11.85K/mo) for a rising crafting-minigame niche.

Trend Signal

rising — inferred: [INFERRED] skill-check minigames lift craft engagement and skill expression; rising across crafting scripts.

Sales Angle

Positioned as the universal quality layer any existing bench can call into, where the free skill-checks trust the client. Recommended Tebex price: $39.

Difficulty & Ship Time

beginner · ships in 2-4h.