Core Inventory
⚠️
The steps below are required only if your using lation_weed
, lation_meth
or lation_coke
.
Add metadata
In core_inventory/config.lua
find the ShownMetadata
table:
core_inventory/config.lua
----------------------------
-- SHOW METADATA SETTINGS --
----------------------------
ShownMetadata = {
['firstname'] = 'Firstname',
['lastname'] = 'Lastname',
['dob'] = 'Date of birth',
['sex'] = 'Sex',
['height'] = 'Height'
},
Add the following new fields to the ShownMetadata
table:
core_inventory/config.lua
['strain'] = 'Strain',
['purity'] = 'Purity',
['quality'] = 'Remaining'
Your ShownMetadata
table should now look like this (with the new addition highlighted):
core_inventory/config.lua
----------------------------
-- SHOW METADATA SETTINGS --
----------------------------
ShownMetadata = {
['firstname'] = 'Firstname',
['lastname'] = 'Lastname',
['dob'] = 'Date of birth',
['sex'] = 'Sex',
['height'] = 'Height',
['strain'] = 'Strain',
['purity'] = 'Purity',
['quality'] = 'Remaining'
},
Restart server
Done!