I'm planning a new mod:the extra click system!The meaning:when somebody clikc on your adoptable,due to type the clicks are multiplying.
Step 1:Create a new adoptable type under the name extra.Be sure to make the adoptable with restrictions such as donator-only and artist-only or promo code,etc.
Step 2:modify the levelup.php(put this code under the Adoptable is NOT frozen...comment)
PHP Code:
mysql_query("SELECT * FROM ".$prefix." adopts_owned_adoptables WHERE type = '$type'");
if ($type = "extra"){
$newclicks = $currentclicks + 2;}
else{
$newclicks =$currentclicks + 1;}
This is my first mod.I'm going to make a level-dependent and a giving system.If you found some errors in my script,please write to this thread.