Implement skeletal crafting UI

Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>
This commit is contained in:
Ritchie Frodomar 2024-08-04 22:59:35 -04:00
parent 9fad87c32c
commit 03f381c027
3 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,6 @@
using SociallyDistant.Core.Core;
using SociallyDistant.Core.Core.Serialization;
using YamlDotNet.Core.Tokens;
namespace SociallyDistant.Core.WorldData;

View file

@ -259,8 +259,6 @@ public sealed class CraftingProgramController : ProgramController
interactionButton.Text = "Insufficient Resources";
interactionButton.Enabled = false;
}
}
else
{
@ -274,7 +272,7 @@ public sealed class CraftingProgramController : ProgramController
itemBannerText.Text = $"<b><size=32>{data.Title.ToUpper()}</size></b>{Environment.NewLine}{data.Category}";
itemDescription.Text = data.Description;
}
private async void OnInteract()
{
if (currentItem != null)

View file

@ -1,3 +1,4 @@
using AcidicGUI.Widgets;
using SociallyDistant.Core.Shell;
namespace SociallyDistant.UI.Tools.Crafting;