remove meseta when buying shop items

This commit is contained in:
Martin Michelsen
2023-08-16 09:09:05 -07:00
parent 666464dd06
commit b9912ad80f
4 changed files with 38 additions and 37 deletions
+2
View File
@@ -452,6 +452,8 @@ struct SavedPlayerDataBB { // .nsc file format
void add_item(const PlayerInventoryItem& item);
PlayerInventoryItem remove_item(
uint32_t item_id, uint32_t amount, bool allow_meseta_overdraft);
void add_meseta(uint32_t amount);
void remove_meseta(uint32_t amount, bool allow_overdraft);
void print_inventory(FILE* stream) const;
} __attribute__((packed));