private void RemoveKeysFromInventory(ITimedChestData i_data)
 {
     Inventory.RemoveUsesFromItem(i_data.GetKeyId(), i_data.GetKeysRequired());
 }
Example #2
0
        public void ConsumeGauntletKeyForIndex(int i_index)
        {
            string itemKey = GetGauntletItemKeyForIndex(i_index);

            mInventory.RemoveUsesFromItem(itemKey, 1);
        }