You need if potion:
or if key:
and you must do potion=pet.findNearestByType"potion"
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)
oops forgot to indent
Should that be if potion:
with a colon?
yes, sorry ā¦
THANK YOU so much for your help.
your welcomeā¦
For some reason, pets canāt pick up coins
Wait - does this mean we can play as the ogres, or will we have to combat pets AND ogres? @Serg
gg to the people who made the art. this thing is adorable
this is just too cute for me
@maka can you make one for the baby griffin?
maybe something with anya with the griffinā¦
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.
Woah that is what I call a great image of pets.
AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH!
Senick with the chest really suits him