View Single Post
  #3  
Old 01-15-2016, 08:14 AM
Abronsyth's Avatar
Abronsyth Abronsyth is offline
A Headache Embodied
 
Join Date: Aug 2011
Location: NY
Posts: 1,011
Gender: Male
Credits: 111,680
Abronsyth is on a distinguished road
Default

Ooh, this is brilliant! My users have been asking about something like this! Thank you for sharing <3

I'm going to play around and see if I can incorporate this in the ACP :)
Edit:
That was actually way easier than I thought it'd be!

Only need to add some minor things;
.../admincp/adopt.php
Around line 52 you should see something starting with $mysidia->db->insert, the first of 3 that are right there. Add this into that string somewhere;
PHP Code:
"rarity" => $mysidia->input->post("rarity"
Now go to .../admincp/view/adoptview.php
Now find where you see a bunch of strings starting with $basicInfo and insert this chunk somewhere (I added mine right under the class section):
PHP Code:
        $basicInfo->add(new Comment("Adoptable Rarity: "FALSE));
        
$basicInfo->add(new TextField("rarity"));
        
$basicInfo->add(new Comment("The rarity level for this adoptable (Common, Uncommon, or Rare)")); 
__________________
My Mods Site (1.3.4, 2020 Mods)

Last edited by Abronsyth; 01-15-2016 at 05:00 PM.
Reply With Quote