From 2d68498dc10bc74a35a5cc0ff4e81b6640807511 Mon Sep 17 00:00:00 2001
From: kpoppel <poulsen.kim@gmail.com>
Date: Wed, 08 May 2013 01:42:22 +0200
Subject: [PATCH] Massive change to the way CNC programs are registered. Now the API is open for adding new nodes and inhibiting some nodes for some materials. No more recipes outside of the CNC machine.

---
 technic/generator.lua |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/technic/generator.lua b/technic/generator.lua
index c8ac802..ae899a6 100644
--- a/technic/generator.lua
+++ b/technic/generator.lua
@@ -137,12 +137,13 @@
 						(percent)..":default_furnace_fire_fg.png]"..
 				"list[current_player;main;0,5;8,4;]"
 				)
-				
+
 	if burn_time==0 then
 		hacky_swap_node (pos,"technic:generator")
 	end
-		
 
 	end
 }) 
 
+register_LV_machine ("technic:generator","PR")
+register_LV_machine ("technic:generator_active","PR")

--
Gitblit v1.8.0