Hello,
I am trying to make barrels/storage drawers in Skript. For those of you who don't know, storage drawers is a mod that allows for storing large amounts of a single item type in a block. I don't know how to store the item type though, this is what I've got so far:
https://pastebin.com/uEzn9RuZ
To create a barrel you need to place a sign and type in [Barrel] in the first line. Then you have to right-click it with the desired item type. I want the behavior to be the same as in normal drawers - right-click to store a stack, left-click to retrieve one item, shift+left-click to retrieve a stack. I can't figure out how to convert the stored string to an item type to take from the player's inventory.
I am trying to make barrels/storage drawers in Skript. For those of you who don't know, storage drawers is a mod that allows for storing large amounts of a single item type in a block. I don't know how to store the item type though, this is what I've got so far:
https://pastebin.com/uEzn9RuZ
To create a barrel you need to place a sign and type in [Barrel] in the first line. Then you have to right-click it with the desired item type. I want the behavior to be the same as in normal drawers - right-click to store a stack, left-click to retrieve one item, shift+left-click to retrieve a stack. I can't figure out how to convert the stored string to an item type to take from the player's inventory.