Show inventory alert when equipping/unequipping/augmenting items

This commit is contained in:
2026-03-02 10:33:58 -08:00
parent bc010a7d82
commit 28f38d236e
5 changed files with 26 additions and 6 deletions

View File

@@ -13,7 +13,6 @@ using System.Threading.Tasks;
using Zennysoft.Game.Implementation;
using Zennysoft.Ma.Adapter.Entity;
using System.Linq;
using Chickensoft.Collections;
[Meta(typeof(IAutoNode))]
public partial class Game : Node3D, IGame
@@ -810,6 +809,8 @@ public partial class Game : Node3D, IGame
_player.Activate();
}
public void NotifyInventory(string message) => InventoryEventNotification?.Invoke(message);
private void OnQuit() => GameExitRequested?.Invoke();
public void OnExitTree()

View File

@@ -37,6 +37,8 @@ public interface IGame : IProvide<IGame>, IProvide<IGameRepo>, IProvide<IPlayer>
public void DoubleExp();
public void NotifyInventory(string message);
public ItemRescueMenu ItemRescueMenu { get; }
public QuestData QuestData { get; }