Closed Alys closed 5 years ago
Hello, I want to help, can I take care of this issue?
Hello @Alys , I already fixed this on my local installation of the website, I'll wait ulterior instructions from you! Meanwhile I'll commit on my local repository.
@Scanace oh sweet! Thanks! Please do a PR for it. :)
Had some conversation with @saraolson about this at random this week--should we be showing pawprints at all, for special pets? It's not actionable information, and can be very sadness-inducing to see a slot for a pet it isn't and will never be possible to get (as in my case, where I have a lone gray pixel paw for Cerberus, reminding me that I missed the Kickstarter...).
Ah, that's #9498. Never mind, already recorded!
When you do not own a Special Pet, the only indicator that you see in the Stable should be the grey pawprint, not the black pawprint or the greyed-out image of the pet.
For example, for the Royal Purple Gryphon, you should see only this light grey pawprint for the Pet when you don't own it:
Currently, you see the black pawprint if you don't own the pet but do own a Gryphon egg and Royal Purple potion (you shouldn't see the black pawprint because you can never hatch that pet). You see the greyed-out image of the pet if you own the mount but not the pet. I.e., both of these are wrong:
In summary, the code that decides what kind of icon to show for a Pet should have different handling for Special Pets so that it shows only the grey pawprint regardless of what other items the user owns.
NB we do have https://github.com/HabitRPG/habitica/issues/9498 to completely hide the pawprints for some pets and mounts but even after that issue has been fixed, this new one would still be a problem for the pets that should show pawprints (e.g., if you buy a special mount with an Hourglass without buying the pet).