QBCore / Multi-Inventory Utility
SpectiveCake
Lightweight novelty script that lets players carry cake, eat it, and risk being chased by food-motivated NPCs with configurable escalation, rewards, drop recovery, and inventory support.
Version
1.0.0
Author
SpectiveScripts
Install
Installation Flow
- Place the resource in your server resources folder.
- Set the inventory mode and item names in config.lua.
- Add ensure SpectiveCake to server.cfg.
- Make sure your item definitions exist for cake and fake cake.
- Restart the resource and test the carry / eat flow in-game.
Features
Feature Overview
- Supports cake carrying, eating, and healing/stress-relief behavior.
- NPC chasers can spawn with configurable chance, speed, line-of-sight loss, and tiered escalation.
- Optional cake drop and recover flow if a chase succeeds.
- Reward loop, seasonal event mode, zone-based modifiers, and party-assist balancing are all configurable.
Configuration
Configuration Focus
config.lua is the whole setup surface for this script.
- Inventory: choose qb, ox, esx, or none and set the correct item names.
- Carry: player slowdown, stamina drain, prop choice, and whether the cake uses two-hand carrying.
- Chasers: spawn chance, chase speed, catch distance, global caps, personality profiles, and escalation tiers.
- Rewards: success timer, money reward, and optional item rewards.
General
Implementation Notes
This is the least documentation-heavy script in the project, so the site summarizes it from the shipped manifest and configuration values. As the script evolves, use the admin panel to add fuller setup examples, item definitions, or GIF-style walkthrough content.