Files
HawkeyeVision/Plugins/CandyboxPlugin/Modules/CandyboxRecipeCreationTool.cs
2025-09-16 10:42:43 +02:00

13 lines
391 B
C#

using MaterialSkin.Core.Controls;
using VisionBuilder.UI.Common.ViewModel.Interfaces.UI;
namespace CandyboxPlugin.Module;
public class CandyboxRecipeCreationTool:IRecipeCreationTool
{
public bool Enabled { get; set; } = true;
public bool CreateRecipe(out string recipeName)
{
return MaterialInputBox.Prompt("Recipe name","", out recipeName)==DialogResult.OK;
}
}