Successful craft
Triggered after a successful craft in a laboratory
Event
Parameters
Name
Data Type
Description
playerId
int
Player server ID
ingredientsUsed
table
Table containing the ingredients used. Key = ingredient name, Value = intedient quantity
itemsToGive
table/array
An array containing a table of the items to give. The table will have itemName
and itemQuantity
properties
laboratoryId
int
laboratory ID
Example
Last updated