From f11d9bfff837506eb3d40193e9c0cd47a668d2ee Mon Sep 17 00:00:00 2001
From: Prototik <prototypegamez@gmail.com>
Date: Thu, 1 May 2014 10:34:19 +0800
Subject: [PATCH] Add work-related triggers to integration table

---
 .../silicon/TileIntegrationTable.java         | 24 ++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)

diff --git a/common/buildcraft/silicon/TileIntegrationTable.java b/common/buildcraft/silicon/TileIntegrationTable.java
index 03e77790..df7d9cdb 100644
--- a/common/buildcraft/silicon/TileIntegrationTable.java
+++ b/common/buildcraft/silicon/TileIntegrationTable.java
@@ -8,6 +8,8 @@
  */
 package buildcraft.silicon;
 
+import buildcraft.api.gates.IAction;
+import buildcraft.core.IMachine;
 import net.minecraft.inventory.IInventory;
 import net.minecraft.inventory.ISidedInventory;
 import net.minecraft.item.ItemStack;
@@ -22,7 +24,7 @@ import buildcraft.core.inventory.Transactor;
 import buildcraft.core.utils.StringUtils;
 import buildcraft.core.utils.Utils;
 
-public class TileIntegrationTable extends TileLaserTableBase implements ISidedInventory {
+public class TileIntegrationTable extends TileLaserTableBase implements ISidedInventory, IMachine {
 
 	public static final int SLOT_INPUT_A = 0;
 	public static final int SLOT_INPUT_B = 1;
@@ -232,4 +234,24 @@ public class TileIntegrationTable extends TileLaserTableBase implements ISidedIn
 	public boolean hasCustomInventoryName() {
 		return false;
 	}
+
+    @Override
+    public boolean isActive() {
+        return currentRecipe != null;
+    }
+
+    @Override
+    public boolean manageFluids() {
+        return false;
+    }
+
+    @Override
+    public boolean manageSolids() {
+        return false;
+    }
+
+    @Override
+    public boolean allowAction(IAction action) {
+        return false;
+    }
 }