Dress to Impress, a big fancy Neopets customization tool!
Find a file
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
.devcontainer Save last trade activity time onto User 2024-01-19 00:00:46 -08:00
.husky Set up eslint for wardrobe-2020 2023-11-02 18:11:07 -07:00
app Oops, fix modeling logic 2024-10-08 22:46:11 -07:00
bin Move some Ansible config out of scripts and into ansible.cfg 2024-09-06 12:16:26 -07:00
config Remove unused code related to no-longer-present asset downloads 2024-10-07 17:06:14 -07:00
db Add created_at/updated_at to PetState 2024-10-07 17:54:54 -07:00
deploy Upgrade to Ruby 3.3.5, and improve the mechanisms for it a bit 2024-09-20 12:47:35 -07:00
lib Use Rails serialize method to save/load cached fields in Item 2024-10-02 17:50:42 -07:00
public Rescue from ActiveRecord::ConnectionTimeoutError 2024-09-27 17:50:35 -07:00
test Save last trade activity time onto User 2024-01-19 00:00:46 -08:00
vendor Oops, finish removing record_tag_helper gem 2024-09-26 12:53:16 -07:00
.eslintrc.json Set up eslint for wardrobe-2020 2023-11-02 18:11:07 -07:00
.gitignore Create rails public_data:commit task, to share public data dumps 2024-02-29 14:30:33 -08:00
.ruby-version Upgrade to Ruby 3.3.5, and improve the mechanisms for it a bit 2024-09-20 12:47:35 -07:00
.solargraph.yml Add Solargraph autocomplete while in development 2024-07-01 15:35:39 -07:00
.yarnrc.yml Upgrade to Yarn 4.0.2 2024-01-14 23:05:53 -08:00
config.ru Upgrade to Rails 6.1.7.4 2023-10-23 19:05:07 -07:00
falcon.rb Remove supervisor from the Falcon process? 2024-01-24 00:20:23 -08:00
Gemfile Remove old record_tag_helper gem 2024-09-26 12:50:47 -07:00
Gemfile.lock Oops, finish removing record_tag_helper gem 2024-09-26 12:53:16 -07:00
LICENSE.md Update GitHub links to point to our self-hosted OpenNeo Code 2024-02-29 11:24:21 -08:00
package.json Upgrade to Yarn 4.5.0 2024-09-20 12:47:54 -07:00
Procfile.dev Use local-only HTTPS certs for the development neopass-server 2024-03-14 18:01:54 -07:00
Rakefile Uninstall resque 2023-10-23 19:05:04 -07:00
README.md Oops, needs to be a README.md file! 2023-10-25 16:31:41 -07:00
yarn.lock Upgrade typescript-eslint dependencies 2024-05-06 15:08:37 -07:00

Dress to Impress beach logo

Dress to Impress

Oh! We've been revitalizing the Rails app! Fun!

There'll be more to say about it here soon :3