Even More Modifiers  1.0.0.0
A mod for rolling various bonus stats on items
CubeCraftButton.cs
Go to the documentation of this file.
2 using Microsoft.Xna.Framework.Graphics;
3 using Terraria;
4 
5 namespace Loot.UI.Tabs.Soulforging
6 {
7  class CubeCraftButton : GuiInteractableItemButton
8  {
9  internal CubeCraftButton(ButtonType buttonType, int netId = 0, int stack = 0, Texture2D hintTexture = null, string hintText = null, string hintOnHover = null) : base(buttonType, netId, stack, hintTexture, hintText, hintOnHover)
10  {
11  PerformRegularClickInteraction = false;
12  ShowStackFrom = 1;
13  }
14 
15  public override bool CanTakeItem(Item givenItem) => false;
16  }
17 }