public void BurlapWall() { if (Inv.sand_resource >= 1 && Inv.rope_resource >= 1) { CanCraft_BurlapWall = true; } else if (Inv.sand_resource <= 0 && Inv.rope_resource <= 0) { CanCraft_BurlapWall = false; } if (CanCraft_BurlapWall == true) { Inv.sand_resource--; Inv.rope_resource--; Inv.craftedBurlapWall++; belt.AddItem(item_BurlapWall); } }
protected override void ImmediateReaction() { belt.AddItem(item); }