Fix really annoying bug on focus modes. i forgot what else i did but probably added armor

This commit is contained in:
2026-02-16 23:56:16 -08:00
parent 017be896f3
commit 1042b86d2b
15 changed files with 223 additions and 113 deletions

View File

@@ -395,6 +395,8 @@ public partial class Player : CharacterBody3D, IPlayer, IProvide<IPlayer>
Inventory.Remove(weapon);
break;
case JewelTags.Glue:
if (!EquipmentComponent.IsItemEquipped(weapon))
break;
weapon.Glued = true;
weapon.Augment = new Augment(JewelTags.Glue, new BasicAugment());
break;
@@ -449,6 +451,8 @@ public partial class Player : CharacterBody3D, IPlayer, IProvide<IPlayer>
Inventory.Remove(armor);
break;
case JewelTags.Glue:
if (!EquipmentComponent.IsItemEquipped(armor))
break;
armor.Glued = true;
armor.Augment = new Augment(JewelTags.Glue, new BasicAugment());
break;
@@ -503,6 +507,8 @@ public partial class Player : CharacterBody3D, IPlayer, IProvide<IPlayer>
Inventory.Remove(accessory);
break;
case JewelTags.Glue:
if (!EquipmentComponent.IsItemEquipped(accessory))
break;
accessory.Glued = true;
accessory.Augment = new Augment(JewelTags.Glue, new BasicAugment());
break;