Can someone help me with item type


#1

if item.type:“poison” it seems not to work it just say null


#2

There is no item type poison. It’s really just a potion with an effect that takes health away from whoever who picks it up.


#3

so why doesn’t it work


#4

poison is not an item type, so it doesn’t work.


#5

so i write if item instead


#6

but water is a potion too so how can I distinguish which


#7

Pretty much, but you still need to make sure that you don’t pick up the harmful potions.


#9

poison and water come from potions