#On Inventory Full
1 messages · Page 1 of 1 (latest)
Yeah it sure is
max stack size of x > 1: ?
I tried that and amount
Here's a example of it
on break:
loop all items in player's inventory:
set {_amount} to amount of loop-item
if loop-item is a block:
if {_amount} = 64:
if {_amount} is not less than 64:
add 1 to {_fullcheck}
if {_amount} = 1:
add 1 to {_fullcheck}
if {_fullcheck} = 36:
message "&cYou don't have enough space."
..?
I was hoping that would allow stackable items to still stack up
Oh I see what you mean
on break:
loop all items in player's inventory:
set {_amount} to amount of loop-item
if {_amount} = 64:
add 1 to {_fullcheck}
if {_amount} = 1:
add 1 to {_fullcheck}
if {_fullcheck} = 36:
message "&cYou don't have enough space."
I guess I forgot how nested if statements work