feat: purchase ship decorations #299

Merged
Sainan merged 1 commits from deco-purchase into main 2024-06-15 06:12:08 -07:00
Owner

Previously, you could already "purchase" most of them, but because they were added to MiscItems instead of ShipDecorations, they weren't actually usable.

Closes #207

Previously, you could already "purchase" most of them, but because they were added to MiscItems instead of ShipDecorations, they weren't actually usable. Closes #207
OrdisPrime (Migrated from github.com) reviewed 2024-06-15 06:06:49 -07:00
OrdisPrime (Migrated from github.com) commented 2024-06-15 06:06:32 -07:00
Author
Owner

why do we save default items as miscItems? is everything that is a default item a misc item?

why do we save default items as miscItems? is everything that is a default item a misc item?
OrdisPrime (Migrated from github.com) commented 2024-06-15 06:05:06 -07:00
Author
Owner

markModified is only needed for Schema.Mixed.
It should not be used. Mongoose tracks changes automatically, if there is a schema for the path.

markModified is only needed for Schema.Mixed. It should not be used. Mongoose tracks changes automatically, if there is a schema for the path.
Sainan reviewed 2024-06-15 06:08:43 -07:00
Author
Owner

I just copied the existing code for addMiscItems etc.

I just copied the existing code for addMiscItems etc.
Sainan reviewed 2024-06-15 06:09:28 -07:00
Author
Owner

I don't know, but I just wanted to keep the same behaviour for everything that is not a ship decoration.

I don't know, but I just wanted to keep the same behaviour for everything that is not a ship decoration.
Sign in to join this conversation.
No description provided.