Weapon tags, change

This commit is contained in:
2024-09-07 19:55:13 -07:00
parent c308fadb87
commit c6eaf19eb0
11 changed files with 94 additions and 15 deletions

View File

@@ -75,6 +75,12 @@ public partial class Game : Node3D, IGame
var currentFloor = Floors.ElementAt(_currentFloor);
currentFloor.CallDeferred(MethodName.QueueFree, []);
if (GameRepo.EquippedWeapon.WeaponInfo.Name == "Palm of Heaven")
{
GameRepo.InventoryItems.Value.Remove(GameRepo.EquippedWeapon);
GameRepo.OnWeaponEquipped(new Weapon());
}
})
.Handle((in GameLogic.Output.SetPauseMode output) =>
{