Implement GiveInvItem, TakeInvItem, GetInvItemCount and SetInvItemCount (names to be finalized).

This commit is contained in:
hispidence 2021-07-10 14:05:01 +01:00
parent 9823087e32
commit a00f3a23fb
2 changed files with 21 additions and 13 deletions

View file

@ -96,10 +96,10 @@ public:
void Earthquake(int strength);
// Inventory
static void InventoryAdd(int slot, int count);
static void InventoryRemove(int slot, int count);
void InventoryGetCount(int slot);
void InventorySetCount(int slot, int count);
static void InventoryAdd(int slot, sol::optional<int> count);
static void InventoryRemove(int slot, sol::optional<int> count);
static int InventoryGetCount(int slot);
static void InventorySetCount(int slot, int count);
void InventoryCombine(int slot1, int slot2);
void InventorySeparate(int slot);