Actually it was me, as people were looking for this mod at smf community and the only 1 available is this one.
I know nothing of php but i might start learning some.
But you need a lot of creativity creating those pets. =/
Something i would like to ask about the pet skills, they dont actually do something do they?
Its just a random skill name and description right? (so i yes that means that i can put any random skills that comes up in my imagination)
the pets skill actually does do stuff. depending on how the pets skills are setup and how much AP the pet has as well as it's current level will effect which skill the pet can use
say a pet had a MAXAP and CURAP of 6 with a current level of 2 enabling them to use the below two skills which have an cost of 2 and 4 AP respectively. to use.the first skill below would generate a random amount of shop credits for the owner of the pet and you could make up a short description of what the pet did to enact the owner receiving the store credits.
function use_skill_1() {
global $db_prefix, $ID_MEMBER;
$value = mt_rand(1,125);
$result = db_query("UPDATE {$db_prefix}members SET money = money + {$value} WHERE ID_MEMBER = {$ID_MEMBER}", __FILE__, __LINE__);
return "{$this->name} broke into grumpys store dropping loot all the way back to his den which you pick up scoring yourself ".formatMoney($value)."";
}
so the owner of the pet would receive a message like:
"pets name" broke into grumpys store dropping loot all the way back to his den which you pick up scoring yourself "random shop credit amount"
the pets CURAP is now 4 and the user has received a "random amount of credits"
now lets say the user enacted the below skill
function use_skill_2() {
global $db_prefix, $ID_MEMBER;
$value = mt_rand(1,20);
$result = db_query("UPDATE {$db_prefix}members SET karmaGood = karmaGood + {$value} WHERE ID_MEMBER = {$ID_MEMBER}", __FILE__, __LINE__);
return "you taught {$this->name} a valuable life lesson and recieved ".($value)." karma for your good deed";
}
they would recieve a message like:
you taught "pets name" a valuable life lesson and received "random amount of" karma for your good deed
now the pets CURAP would be zero and the user has received a random amount of karma
if the pet is not in training it is time to put the pet in training. with training your pets CURAP is refilled and depending on level gained may increase the pets MAXAP as well.
then the cycle begins over again once training is complete users use the skills available depending on the pets level CURAP and so on and so forth.
so basically you can set up skills that do just about anything you want they could be skills that add to the total time the user has been online or change their custom title you can make the skills not accessible until a certain level or you can make them all accessible at once with each one just requiring more AP than the previous
sorry for the long winded explanation but best to explain it all, mind you this is just as i understand it i've probably missed something or whatever but that's the basic gist of it. to my understanding.
also i'm gonna throw up a pet pack i put together later i just have to package it all up.
EDIT: also change AP over to SP as i think that was changed in SMFPets 0.2