for those that have this mod running, this mod don't affect the adopts in the adopts shop so if you want to have it working on the adoptshops too, you must find in the /classes/class_stockadopt.php this:
PHP Code:
$genders = array('f', 'm');
$rand = rand(0,1);
and replace it with this:
PHP Code:
$genderNumber = rand(0, 99);
if($genderNumber < $this->genderratio) $gender = "f";
else $gender = "m";
in the $mysidia->db->insert change this:
PHP Code:
"gender" => $genders[$rand],
for this:
PHP Code:
"gender" => $gender,
Dont know if this is the correct way of doing it, but i have test it in my site and is working.
just in case... probably wont make to much of a change but add
PHP Code:
Protected $genderratio;
down of
in the same class_stockadopt.php