#Golden Apple/Item Cap
1 messages · Page 1 of 1 (latest)
What if they take an item from a chest
try with this
item pick up
on pick up: if event-item is golden apple: if player has 16 golden apple: cancel event
take item from a chest
on inventory click: if clicked slot is golden apple: if player has 16 golden apple: cancel event
then they cant move gaps in their own inv
@void skiff
yeah
or just loop all players every 1 second and if they have more than 16 apples delete some
i dont wanna delete their gapples
so you will just give them the ingredients
meh
thats actually not a bad idea
@thick hawk do you know if there is a way to set a variable to the slot number of the 16 golden apples?
i would try looping the amount of aviable slots in invcentory
if slot loop-value is gapple
do stuff
idk thats what i would start from
Dont spoon feed. Suggest on pick up, but dont give full code.
Proper code blocks look like this: ```code here```
You can specify the item in the event, and the conditions could be inline