Project Sloth Inventory
Improve compatibility between our Weed Growing & ps-inventory
Last updated
Improve compatibility between our Weed Growing & ps-inventory
Last updated
Are you using metadata?
This guide is only necessary if you have metadata enabled (set to true) in the Config.Setup part of the Weed Growing config! If you have metadata disabled (false) you do not need to follow any of the steps found here.
Navigate to ps-inventory/html/js/app.js & open this file in Visual Studio Code or a similar editor. Search for "FormatItemInfo" (at the time of this writing it is found on line 449). Then, create new, empty space beneath the function title, as seen below:
Then paste the following code:
Once done, it should look like the screenshot below:
In the same file & location scroll down to line 491 (at the time of this writing and after adding the above lines) and place your cursor at the end of the code block, as seen below:
Hit enter to create a new, empty line and paste the following code:
Save, restart your server & you'll now see the necessary information when you hover over these items in your inventory!
Are you stuck?
No worries! If you need any help or experience any issues after following these instructions feel free to reach out to us via Discord or email at support@lationscripts.com.