Petopia: Simplified DB Results for Families
I added a minor new feature to Petopia this evening. Now if you search in the Pet Database for qualities that are shared across an entire family and only qualities that are shared across an entire family, the results you get will be in terms of families, not in terms of the individual pets.
For example, if you search for pets that eat bread you will no longer see the 144 individual creatures that eat bread. Instead, you will see a nice simple list of the 5 pet families that do. But if you change the query to include any pet-specific terms — for instance, if you search for pets between levels 55 and 60 that eat bread — then you will see the 11 pets that meet those requirements.
It’s difficult to explain without looking at the page, but in operation I think it’s pretty intuitive. Give it a whirl and tell me what you think!
In addition, the Special Pets pages for Rare Pets and Spawned Pets are both now static pages that I generate when I update the database instead of being live DB queries. Hopefully this will knock just a little bit of wear and tear off the DB. And thanks to the illimitable Ket Shi (as well as some other very helpful readers), I added a whole bunch of untameables to the site.
2 Comments
*nicely* done. handy adaptation that is.
thanks - you give good DB
“It’s difficult to explain without looking at the page,”
I haven’t looked at it yet, but I can fully understand how it works! And nice job there!
Leave a Reply