public RemoveBlockAbility() : base("Remove Block", "Textures\\UI\\TestIcon") { _isStackable = false;; _maxStackSize = 1; _stock = 1; _abilityUsageMode = AbilityUsageMode.Sustained; AllowedTools.Add(Tools.ToolType.Hammer); }
public BlockInventoryItem(MaterialType blockType, string description, int quantity) : base(blockType + " Block", "Textures\\UI\\TestIconBlock") { _description = description; _maxStackSize = 250; _isStackable = true; _stock = quantity; _numUses = _stock;//Any time quantity changes, _numUses must change _abilityUsageMode = AbilityUsageMode.Multi; AllowedTools.Add(Tools.ToolType.Hammer); CustomerBuyPrice = 1; CustomerSellPrice = 1; BaseValue = 1; }