Fix Persiko and Grand Library
This commit is contained in:
@@ -808,6 +808,14 @@ public partial class Game : Node3D, IGame
|
||||
var identifiedItem = _player.IdentifyItem(itemToIdentify);
|
||||
InventoryEventNotification.Invoke($"{itemToIdentify} identified to be {identifiedItem.ItemName}.");
|
||||
break;
|
||||
case UsableItemTag.IdentifyAllItemsCostHP:
|
||||
var unidentifiedItemsAll = _player.Inventory.Items.Where(x => x.ItemTag == ItemTag.MysteryItem).ToList();
|
||||
if (!unidentifiedItemsAll.Any())
|
||||
return;
|
||||
foreach (var item in unidentifiedItemsAll)
|
||||
_player.IdentifyItem(item);
|
||||
InventoryEventNotification.Invoke($"All items identified.");
|
||||
break;
|
||||
}
|
||||
_player.EquipmentComponent.UpdateEquipment(_player.EquipmentComponent.EquippedWeapon.Value);
|
||||
_player.EquipmentComponent.UpdateEquipment(_player.EquipmentComponent.EquippedArmor.Value);
|
||||
|
||||
Reference in New Issue
Block a user