Restructured for new direction.
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
using System.Linq;
|
||||
using BriarQueen.Data.Identifiers;
|
||||
using BriarQueen.Framework.Events.UI;
|
||||
using BriarQueen.Framework.Managers.Levels.Data;
|
||||
using BriarQueen.Framework.Managers.Player.Data;
|
||||
using Cysharp.Threading.Tasks;
|
||||
|
||||
namespace BriarQueen.Game.Items.Interactions.ChapterOne.Ashwick
|
||||
{
|
||||
public class MarketplaceSign : BaseItem
|
||||
{
|
||||
public override UniTask OnInteract(ItemDataSo item = null)
|
||||
{
|
||||
var items = PlayerManager.GetInventoryItems();
|
||||
|
||||
if (items.Any(x => x.UniqueID == ItemIDs.Get(ItemKey.DirtyTeddyBear)))
|
||||
{
|
||||
EventCoordinator.Publish(new DisplayInteractEvent("You and me, little bear. Keep your eyes open."));
|
||||
return UniTask.CompletedTask;
|
||||
}
|
||||
|
||||
EventCoordinator.Publish(new DisplayInteractEvent("A marketplace without voices… that’s somehow worse."));
|
||||
return UniTask.CompletedTask;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a165dd95a0d049bb8eb7a010f376e5e9
|
||||
timeCreated: 1778185513
|
||||
Reference in New Issue
Block a user