I have tried
farmercount = 1, every 2 seconds, add 1 to food
farmercount = 2, every 2 seconds, add 3 to food
farmercount = 3, every 3 seconds, add 12 to food
works fine up until the second event
farmercount = 3, every 2 seconds, add 5 to food
but ignores the following "farmercount = 3" event for some reason and only adds 3 food every 2 seconds even when the farm is full (3 farmers). I've tried with else in-between the statements, still not working...
I don't know much about the "while" loop. any thoughts if that would do the trick? Maybe something like:
while farm has less than 2 farmers
farmercount = 1, every 2 seconds, add 1 to food
farmercount = 2, every 2 seconds, add 5 to food
while farm has 3 farmers
farmercount = 3, every 3 seconds, add 12 to food
I am not sure how to implement this yet, however. would I have to use an "else" between the "while" events? Do I have to check boolean of farm "isFull" instead of checking farmercount? I will try some ideas now, but if any of you guys have an answer, please let me know
thanks a lot!