Labs
By default, all laboratories process items from the Ingredients stash and convert them directly into another product, which is added to the Products stash.
If you want to replace this process, you can use the customProcess
function located in av_gangs\server\editable\labs.lua
.
This is an example of processing money laundering laboratories where the item in the Ingredients stash is markedbills
, which contains metadata. We will use that metadata to calculate the output using the worth
value and multiplying it by the quantity of markedbills
. The output is the item cash
.
Last updated