Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#1
|
||||
|
||||
Automatic Pet Outcomes Chart?
Is there a way (I'm sure there is, but an easy way. Heh.) to make an autopopulated pet outcomes chart? And if so, is there a way to make it show in alphabetical order(easily)?
Example: Here is what we currently use. I have two players willing to keep it updated for now. ^.^ |
#2
|
||||
|
||||
It is definitely doable since the image information for every pet (and it's outcomes) is stored, therefore it is retrievable.
It's retrieved from adopts_levels, which thankfully stores the egg image, as well.You're going to want to know which level to display ("thisislevel") and the adoptable type ("adoptiename") as stored in the database. You'll also need "primaryimage" and "alternateimage". So, then you'd want to take a look at how adoptables are displayed. You'll need to tell the database to add a new set in info for each new "type" and then define "adoptiename" as the "type," and do something with all of that... I'm too tired to find this exactly right now, but eventually I'll be able to present an actual code to you, unless you figure it out before then!
__________________
My Mods Site (1.3.4, 2020 Mods) |
#3
|
||||
|
||||
Thanks so much, Abronsyth! That would be amazing!
|
#4
|
||||
|
||||
So far I've just been able to display the names of all present pets on the site, but I am having issues getting all level images to display, never mind getting them to display in a certain format.
__________________
My Mods Site (1.3.4, 2020 Mods) |
#5
|
||||
|
||||
T_T Hmm... Maybe HoF could weigh in? There's bound to be a way to make it show up, though I wouldn't know it. XD
Really appreciate you trying, Abronsyth! You guys are great! |
#6
|
||||
|
||||
Have to admit that this would be a good idea XD Especially so you don't need to worry about updating everything manually! XD
|
|
|
What's New? |
What's Hot? |
What's Popular? |