impress/app
Emi Matchu 71f0aa4908 Oops, fix modeling logic
Oh huh, I guess most of the new items we had when I rewrote this were
Maraquan, and I didn't test enough on standard species-specific items.

Before this change, partially-modeled items for standard pets would
appear as fully modeled, because the presence of the "nonstandard"
color Orange (because of the Orange Chia) meant that the "standard" key
didn't actually have any unique bodies (it was all `["standard", 47]`).

Here, I take my own comments' advice and move away from the standard
label as part of the logic. Instead, we look first for nonstandard
colors with unique bodies, which we'll call out as modelable; and then
check whether there are any basic bodies *not* covered by those special
colors.

That way, compatibility with the Maraquan Acara (a unique body) means
we'll treat Maraquan as a modelable color; and then we'll ignore the
basic bodies, even though it *does* fit the basic Mynci, because there
aren't any compatible basic bodies that aren't *also* Maraquan bodies.

This also means that compatibility with both the Blue Acara and Orange
Acara does *not* preclude a normal item from needing basic pets for
models: because, while Orange is a slightly nonstandard color in the
case of Chia, it doesn't have its own unique body for this item, so we
ignore it when predicting compatibility with basic colors.
2024-10-08 22:46:11 -07:00
..
assets Improve top nav support on mobile for responsive design pages 2024-10-05 17:52:38 -07:00
controllers Add /rainbow-pool.json for all species, colors, and poses 2024-10-07 17:38:53 -07:00
helpers Add extra support info to Rainbow Pool pet types 2024-10-04 19:24:40 -07:00
javascript Oops, fix locale form with Turbo pageloads 2024-09-20 18:55:08 -07:00
mailers/fundraising Move most fundraising files into a Fundraising module 2024-02-18 20:12:14 -08:00
models Oops, fix modeling logic 2024-10-08 22:46:11 -07:00
services Oops, don't show not-directly-for-sale items as being "0 NC" 2024-09-27 18:27:12 -07:00
views Improve top nav support on mobile for responsive design pages 2024-10-05 17:52:38 -07:00