@Chaboi_3000 are you able to help.
You have some keys goldKey , silverKey and bronzeKey . What will fetch your pet, some property of the keys or the real keys?
This isnât a bug, you just need to check these lines: (btw is used Diff checker as @xython recommended and it was really helpful)
if youâre using these: âgold-keyâ, âbronze-keyâ, âsilver-keyâ.
then whatâs this for?
@Deadpool198 is right, @Gamestack. You canât carry a string. Use the variables you have defined.
Woooooo hooo i am a regular now! So awsome!
Good job dude! Keep up with the activity because after the grace period, you will have to work hard. XD
Congratulations @Archion !
The above program has a logic flaw, commonly made and almost always neglected. If the code is into a while True loop you will make at least many additional iterations. See yourself the code execution
def mess(message):
if message == "Gold":
print("gold-key")
if message == "Silver":
print("silver-key")
if message == "Bronze":
print("bronze-key")
# def mess(message):
# if message == "Gold":
# print("gold-key")
# elif message == "Silver":
# print("silver-key")
# elif message == "Bronze":
# print("bronze-key")
keyMessages = ["Gold", "Silver", "Bronze"]
for message in keyMessages:
mess(message)
Thank you @Deadpool198 so I get rid of this?
paladinUnit = pet.findNearestByType("paladin")
goldKey = pet.findNearestByType("gold-key")
silverKey = pet.findNearestByType("silver-key")
bronzeKey = pet.findNearestByType("bronze-key")
Or this
pet.fetch("gold-key")
pet.fetch("silver-key")
pet.fetch("bronze-key")
Neither. Replace each string in the pet.fetch with their respective variable.
ok thanks
200000000000000000 chars
Gamestack, pls change ur profile picture. Your previous one is 2000000000x better.
Yeah it is.is what i think; but donât judge anybody elseâs opinion as better than yours because itâs your opinion that matters. basically iâm saying that you donât have to if you donât want to.
Iâm afraid Iâm going to have to agree. What even is it, young Professor X.?
I canât find my previous one but you can help me find it XD
something like thisâŚ
Is that theoddonesout ?
yes. 2000000000000000 chars