This script is an extended version of my prospecting script that you can download here.
Video showcase (for ESX version): https://youtu.be/SLTT6jYeBXc
Features
- This version is compatible with the QBCore Framework.
- Seperate file with all the items used in the script to put into your shared.lua file.
- Items found come in your inventory
- Use a treasure map to generate a search area where you can find treasure
- Can't use the detector outside of search area
- Search area only shows for person that opened the treasure map
- Animation
How to use
Use the treasure map, a new area will then be marked on the map.
- Go to the marked area
- Use the detector item
- Walk around while paying attention to the scanner
- Locate and dig out treasure
You have to find a way to give players the detector item and the treasure map, it is the easiest to just add it to one of your stores but that's up to you. I don't recommend adding the treasure map to stores, maybe you can add it to home robberies or bank robberies. Keep in mind that you need to set up the items that can be dug up as well.
Configuration
This script offers a lot of customization through the configuration file.
- Change blip text, sprite and color
- Change area sprite, color and alpha (transparency)
- Change all items and their locations
- Change all locations highlighted by the treasure map
Dependencies
This script has some dependencies so make sure you install those as well.
Images have been provided to drag and drop into the images folder of the inventory plugin.