#Multiple Requirements

1 messages · Page 1 of 1 (latest)

jade steppe
#

Heyo! How could I make it so the player needs a stick to successfuly craft an item, but needs any kind of planks as well? Right now it works sort of, but if you don't have planks and just have the stick it gets rid of the players stick and just does the deny commands.
https://paste.helpch.at/wiwexuwave.lua

daring plover
#

oh i see now

jade steppe
daring plover
#

i get what u r trying to do tbh

daring plover
#

for the stick success commands

#

you can give meta to the user

#

and return that meta in deny commands as the amount to give them their sticks back

#

💀

carmine plover
#

i like the thought process

#

I was thinking put the remove command in the click_commands, and you could use the same idea with meta for which type of plank to remove

#

since stick will always be stick, but the plank name will change

jade steppe
#

Ahhh that’s a good idea

#

Both are

carmine plover
#

it is kinda weird the success commands get fired, but also I kind of understand

daring plover
jade steppe
#

Pretty sure your idea worked Prestley, will have to test more but thanks both of you! I appreciate ya's 💜