before candybox editor update
This commit is contained in:
13
Plugins/CandyboxPlugin/Modules/CandyboxRecipeCreationTool.cs
Normal file
13
Plugins/CandyboxPlugin/Modules/CandyboxRecipeCreationTool.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user