Item editor: items of a mod in a searchable list, name/description in every language, price, icon, types, use action; GUI suite items_editor_edit
This commit is contained in:
commit
138b0f689d
11 files changed
+423
No files matched your search
@@ -0,0 +1,20 @@
|
||||
using Cthangover.Core.UI.Tool;
|
||||
|
||||
namespace Cthangover.Tools.ItemsEditor
|
||||
{
|
||||
/// <summary>In-game toolbar button of the item editor, so an item can be fixed while playing.</summary>
|
||||
public class ItemEditorToolBoxButton : IToolBoxButton
|
||||
{
|
||||
/// <summary>Matches <see cref="ItemEditorToolProvider.Id"/>.</summary>
|
||||
public string ToolId => "items_editor";
|
||||
|
||||
/// <summary>No icon: the button shows its label.</summary>
|
||||
public string IconPath => "";
|
||||
|
||||
/// <summary>Button label key.</summary>
|
||||
public string LocaleKey => "tools/items_editor/title";
|
||||
|
||||
/// <summary>Always shown.</summary>
|
||||
public bool IsVisible() => true;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user