An advanced recycling script for RP servers.
Trying to find a way to utilise all the materials/random junk items you’ve added to your servers loot pool? Look no further, With our recycling script, you can give all of those items some worth, adding more depth to your servers economy. This is not your typical go to location, stand there while items process then get a reward. Our recycler allows your players to drop off items and leave the area or even log off of the server while there items are processing, this is fully persistent between server restarts etc.
- Custom prop.
- Custom Audio
- Drop items at the recycler and go do other things while the items are processing (allows for more time to RP)
- Chance based rewards. (specify the rewards you can get from each item. how much of that reward and the chance that you will even get it)
- Persistence between restarts. (Uses KVP to store data.)
- Configure multiple locations
- Support for targeting systems (Pre-configured for Qtarget)
- Will work with any framework/inventory if setup correctly. all framework/inventory related functions are open-source. (Pre-configured to support ESX and QB)
Config Example
Config = {}
Config.Target = false
Config.Sound = true
Config.maxVolume = 0.2
Config.Framework = 'QBCORE' -- ESX | QBCORE
Config.inventory = 'QBCORE' -- ESX | QBCORE | OX
-- Please ensure any items in the config exist in your inventories item list, if it isn't. the script will have issues.
Config.Items = {
['phone'] = {
rewards = {
plastic = {durationPerItem = 1000, max = 2, chance = 100}
},
},
['laptop'] = {
rewards = {
plastic = {durationPerItem = 1000, max = 4, chance = 100},
metalscrap = {durationPerItem = 3000, max = 1, chance = 100}
},
},
}
Config.Recyclers = {
{
coords = vector3(2410.07, 3030.69, 47.15),
heading = 270.0
}
}
Code is accessible | Mix |
Subscription-based | No |
Lines (approximately) | 500 + |
Requirements | ox_lib |
Support | Yes |
Other scripts:
Hide In Trunk
Lumberjack