feat: purchase ship decorations #299
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "deco-purchase"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
why do we save default items as miscItems? is everything that is a default item a misc item?
markModified is only needed for Schema.Mixed.
It should not be used. Mongoose tracks changes automatically, if there is a schema for the path.
I just copied the existing code for addMiscItems etc.
I don't know, but I just wanted to keep the same behaviour for everything that is not a ship decoration.