For the complete documentation index, see llms.txt. This page is also available as Markdown.
Inventory items
Requires properly setup config for inventory from Installation!
There are two ways of setting up inventory items. You can use the integrated Asset Deployer that automatically inserts items into your database (for mf-inventory and es_extended), or you can do all necessary edits Manually.
Item definitions can be found at rcore_prison/inventory_items.lua
Item images are located in rcore_prison/assets/inventoryImages/
Asset Deployer
The Asset Deployer automatically inserts SQL items into your database.
Available deploys:
Resource: mf-inventory
items
Resource: es_extended
items
Running deploy
Execute command prisonsetup <deploy-resource> [name] in server console, where deploy-resource is needed and represents resource from Available Deploys and name is optional (if it's not filled, all deploys for resource will be deployed)_ and represents specific deploy for resource.
Manually
ox_inventory
Open ox_inventory/data/items.lua file.
Add these items:
Copy images from rcore_prison/assets/inventoryImages/ to ox_inventory/web/images/.
Restart your server. Server need to be restarted for proper registration of usable items!