⚰️ Grave Robber
An atmospheric grave robbing system with ghosts, loot, and police alerts.
📖 Description
Players can sneak into graveyards at night to dig for valuable treasures - but be careful! Not only is the law watching, but the restless souls of the dead may also rise to defend their resting places.
✨ Features
- 🌙 Night Only - Grave robbing only possible between 10 PM - 5 AM
- ⛏️ Interactive Digging - Shovel required + NUI minigame
- 💰 Loot System - Configurable loot: Rings, gold teeth, pocket watches, or worthless bones
- 👻 Ghosts & Horror
- Ghosts can spawn and attack!
- Particle effects (fire/smoke)
- Spooky sounds and screen distortions
- 👮 Police Alert System - Configurable chance to alert lawmen
- ⚙️ Highly Configurable
📥 Installation
- Copy
mulderdev_graverobberto yourresourcesfolder - Add
ensure mulderdev_graverobberto yourserver.cfg - Execute the SQL commands (see below)
SQL Items
INSERT INTO `items` (`item`, `label`, `limit`, `can_remove`, `type`, `usable`) VALUES
('shovel', 'Shovel', 1, 1, 'item_standard', 1),
('ring', 'Silver Ring', 10, 1, 'item_standard', 0),
('gold_tooth', 'Gold Tooth', 20, 1, 'item_standard', 0),
('bone', 'Bone', 20, 1, 'item_standard', 0),
('gold_ring', 'Gold Ring', 10, 1, 'item_standard', 0),
('pocket_watch', 'Pocket Watch', 5, 1, 'item_standard', 0);
⚙️ Configuration
In config.lua you can adjust:
- Start/End hours for nighttime
- Loot table and chances
- Ghost and police alert chances
- Grave models to detect
🚔 Police Script Integration
1. Configure Event Name
-- In config.lua
Config.PoliceAlertEvent = 'vorp_police:alert'
-- Or disable:
Config.PoliceAlertEvent = nil
2. Add Event Handler
Add this code to the server side of your police script:
-- In your police script (server/main.lua)
RegisterServerEvent('vorp_police:alert')
AddEventHandler('vorp_police:alert', function(coords, message, suspectSource)
-- Trigger your specific alert here
-- Example 1: Standard VORP Police
-- TriggerClientEvent("vorp:NotifyLeft", -1, "CRIME", message, "generic_textures", "tick", 4000)
-- Example 2: Custom Dispatch
-- exports['my_dispatch']:addCall("10-90", "Grave Robbing", coords, suspectSource)
-- Example 3: Blip to all officers
-- local officers = GetPlayersWithJob("police")
-- for _, officer in ipairs(officers) do
-- TriggerClientEvent("police:setBlip", officer, coords)
-- end
end)
📋 Requirements
- VORP Core
- VORP Inventory