You need if potion:
or if key:
4 Likes
and you must do potion=pet.findNearestByType"potion"
4 Likes
def onSpawn (event):
potion=pet.findNearestByType("potion")
if potion
pet.fetch(potion)
key=pet.findNearestByType("gold-key")
if key:
pet.fetch(key)
skeleton = pet.findNearestByType("skeleton")
pet.on("spawn", onSpawn)
6 Likes
oops forgot to indent
3 Likes
Should that be if potion:
with a colon?
3 Likes
yes, sorry ā¦
2 Likes
THANK YOU so much for your help.
4 Likes
your welcomeā¦
3 Likes
For some reason, pets canāt pick up coins
gg to the people who made the art. this thing is adorable
2 Likes
this is just too cute for me
2 Likes
maybe something with anya with the griffinā¦
1 Like
AAAAAAAGH I just canāt resist
It is so cute .I guess if we think this is unbearably cute we will have trouble with the pets that actually charm people.
1 Like
Woah that is what I call a great image of pets.
2 Likes
AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH!
Senick with the chest really suits him
2 Likes