OK, my problem is that I'm trying to feed...say chickens. I am making it so that my game only uses switches when people talk. What I want is that when you Click() A (which I have set) that you feed the chicken. What I have done is made it so that when you talk to a man he gives you Feed which I defined as a variable and you get Feed=4. Then I made it so that if you click yes to the switch for feeding the chicken you get usr.Feed-=1. This works, but the problem is that what I want is for you to only be able to feed the chicken 1 time and then move on to the next and feed it, ONE TIME. I have tried many things for this but the main thing I tried was to make it so that when you feed the chicken the chicken becomes a new icon_state. So what I did was that if you feed it and its icon_state="chicken2" a new switch somes up saying that you can't feed it and you DON'T. But my problem is that you DO feed it a second time. Not only that but the second after you feed it, the switch saying that you cannot feed it comes up because the chickens icon_state is chicken2 the second after you feed it so it goes right into the you cannot feed it switch. Did you get all that? I want the "you cannot feed it" switch to only some up if you click it a second time. and I want it to not be able to be fed a second time. I hope you got all that and can help me!
Thanks in advance!