Installation
About two minutes end to end — the resource creates its own database tables on first boot, so there is no manual SQL to run for the resource itself.
Do not also start the developer’s separate equipment/assets resources. This folder already contains both the resource and the models/animations.
Copy the resource
Copy gravitas_casts into your server’s resources/[gravitas]/ folder.
Add to server.cfg
Ensure the resource after your dependencies:
ensure ox_lib
ensure oxmysql
ensure qbx_core # Or qb-core / es_extended / mythic-base; start your framework first.
ensure ox_inventory # Or qb-inventory / mythic-inventory; ESX default needs no extra resource.
ensure ox_target # Optional; /equipment works without it.
ensure gravitas_castsIf your server runs multiple framework or inventory backends at once, pick
one explicitly in config.lua (Config.Framework, Config.Inventory)
instead of relying on auto-detection.
Register the five items
Pick the matching snippet for your inventory:
ox_inventory
Copy the definitions from
install/ox_inventory_items.lua into
ox_inventory/data/items.lua.
Copy the item icons
Copy the five icons from install/icons/ into your inventory’s image
directory. If you use Gravitas’ custom inventory frontend, update its
configured image directory as well.
Restart and verify
Restart the inventory during an agreed test or maintenance window (item
registration requires it), then start gravitas_casts. The database tables
are generated automatically on first startup.
Done — grab a medic job in game, walk to a patient, and run /equipment.
Continue with the Configuration reference to tune jobs, distances, durations, and high-heel mappings.