1
0
Fork 0
forked from OpenNeo/impress
impress/app
Matchu 015010345a Extract Dyeworks methods into Item::Dyeworks module
There's just starting to be a lot going on, so I pulled them out into
here!

I also considered a like, `Item::DyeworksStatus` class, and then you'd
go like, `item.dyeworks.buyable?`. But idk, I think it's nice that the
current API is simple for callers, and being able to do things like
`items.filter(&:dyeworks_buyable?)` is pretty darn convenient.

This solution lets us keep the increasing number of Dyeworks methods
from polluting the main `item.rb`, while still keeping the API
identical!
2024-06-18 15:21:43 -07:00
..
assets Add NC prices to item pages 2024-06-18 13:25:29 -07:00
controllers Oops, fix crashing bug when Item Getting Guide has *no* Dyeworks 2024-06-17 13:03:12 -07:00
helpers Edge case: say "0 NC" for cost of no potions in Item Getting Guide 2024-06-16 12:26:55 -07:00
javascript Oops, fix bug in recent movie-pausing bugfix! 2024-06-12 17:14:16 -07:00
mailers/fundraising Move most fundraising files into a Fundraising module 2024-02-18 20:12:14 -08:00
models Extract Dyeworks methods into Item::Dyeworks module 2024-06-18 15:21:43 -07:00
services Load *all* NC Mall pages in nc_mall:sync 2024-05-10 17:39:40 -07:00
views Parse "Limited Dyeworks" items from Owls 2024-06-18 14:59:09 -07:00