Quote:
Originally Posted by RoconzaArt
How many babies are created just one? Can it be set to give a random number of babies like MWC?
|
I think it's possible to do that if you generate a random number and do a while loop
PHP Code:
$babies = rand(1,5); // Breed between 1 to 5 babies at once!
$loop=0;
while($loop < $babies)
{
// Put The Insert Query HERE
$loop++;
}
Yeah, I think the above code should work. Can't confirm though, because I don't have the breeding script