After collecting the drugs we can now move on to the next step, processing them before sale. For that we have extensive configuration in config/processes.lua.
Can I create processes for other different drugs?
No, this is not possible yet, soon perhaps we will be able to make such an improvement.
Can we add more process points?
Yes, you can do it, but the animations are very difficult to modify. You can edit them or create more in the locations value, but if it becomes complicated, do not claim this in tickets, contact your trusted developer and do it with great patience.
Basic Process configuration
This configuration is very complex and modifying all its values is not recommended, since the asset has very fragile animations and could become corrupted. We recommend having a trusted developer help you through the process.
For the configuration of the processes, we will find a large configurable full of values which, if you touch, will be under your own responsibility because they are somewhat complex.
You can make changes to the entry and exit zones using inside or outside value, or modify the locations (we do not recommend this) of each process spot, to be able to process more than one player at a time.
We will leave here a brief cut configuration to give a simple demonstration as an example of use, in this case the fragment shown will be Meth spot.
--Read slowly if you want to modify the processes, it is a somewhat tedious jobConfig.Progress = { ['Meth'] = { inside = { coords =vec3(996.81, -3200.64, -36.39) }, outside = { coords =vec3(1561.46, -1693.57, 89.21) }, ['cook_meth'] = { mainText ='[E] - Process meth', progText ='Processing methamphetamine...', requireRate =5, requireItem ='chemicals', notifyname ='Chemicals', rewardItem ='meth', rewardRate =30, locations = { [1] = { location =vector3(1005.80, -3200.40, -38.90), offset =vector3(-4.88, -1.95, 0.0), rotation =vector3(0.0, 0.0, 0.0), active =true } }, time =73000, act ='Meth', scene =1, active =true }, ['package_meth'] = { mainText ='[E] - Package meth', progText ='Packing methamphetamine...', requireRate =10, requireItem ='meth', notifyname ='Methanpheetamine', rewardItem ='meth_packaged', rewardRate =10, locations = { [1] = { location =vector3(1011.80, -3194.90, -38.99), offset =vector3(4.48, 1.7, 1.0), rotation =vector3(0.0, 0.0, 0.0), active =true }, [2] = { location =vector3(1014.19, -3195.02, -38.99), offset =vector3(4.48, 1.7, 1.0), rotation =vector3(0.0, 0.0, 0.0), active =true }, [3] = { location =vector3(1016.49, -3194.9, -38.99), offset =vector3(4.48, 1.7, 1.0), rotation =vector3(0.0, 0.0, 0.0), active =true } }, time =50000, act ='Meth', scene =2, active =true } },-- Other spots, cropped here so as not to take up the entire docs}