20.04.2014, 15:05
When you call to caricapiante() at the start, the variable contopiante gets the value of 999, because of the contopiante++ you are doing. So after that, when you use the command to plant, id gets the value of this variable, 999.