📦Installation

1. Add Grave Items to Core

Add all grave-robbing items to:

core > shared.gta5.lua

These items and their definitions come from the included coreitemconfig.txt

Example entries:

['gravebook'] = {
    ['label'] = 'Old Book',
    ['weight'] = 100,
    ['type'] = 'item',
    ['image'] = 'gravebook.webp',
    ['unique'] = false,
    ['stackable'] = true,
    ['useable'] = false,
    ['shouldClose'] = true,
    ['description'] = 'An old book..',
},

['gravebowl'] = {
    ['label'] = 'Cracked Bowl',
    ['weight'] = 50,
    ['type'] = 'item',
    ['image'] = 'gravebowl.webp',
    ['unique'] = false,
    ['stackable'] = true,
    ['useable'] = false,
    ['shouldClose'] = true,
    ['description'] = "Won't be eating cereal out of this..",
},

['gravebrokenpot'] = {
    ['label'] = 'Broken Pot Fragment',
    ['weight'] = 5,
    ['type'] = 'item',
    ['image'] = 'gravebrokenpot.webp',
    ['unique'] = false,
    ['stackable'] = true,
    ['useable'] = false,
    ['shouldClose'] = true,
    ['description'] = 'Not much I can do with this..',
},

Be sure to add all items shown in the file, along with their images.


2. Add Included Item Images

Each item requires a matching .webp file in your inventory images directory. Ensure filenames match the "image" field exactly.


3. Add Grave Robbing Resource

Place the included folder:

into your server’s resources directory.

Add to your resources.cfg or server.cfg:


4. (Optional) Add a Sell Shop

If you want players to sell grave items, add this entry in:

inventory > config.lua > Config.Shops


5. Add Sell Shop Products

Add the following entry into:

Config.ShopProducts (You may adjust prices as preferred.) README

These entries align with the item definitions in the core item config.


🎉 Installation Complete

Once all steps are completed:

  • Grave items can be looted and stored

  • The optional buyer shop will purchase grave finds

  • All items display correctly with icons and descriptions

  • The graverobbing resource will run when the server starts

Last updated