Just started so it doesn't do too much yet, I've started with the easiest thing first. Get the menu choices to work and be able to navigate between them all. Then for testing to be sure the functions would work I stuck in the code on a menu option to feed all Miller's Cakes to the pet of my choosing (from a menu of course). The good news? It works. The bad? Now I have to figure out the rest.
Quick question. I'd like to have one of the menu options give a choice to enter a custom amount of food to feed. How would I change the following code to accept the value a user inputs?
Code: Select all
mypet:feed(204791, "all")