From 6123493fd73a9c70210eb89274b5690caf562823 Mon Sep 17 00:00:00 2001 From: RealBadAngel <mk@realbadangel.pl> Date: Sun, 03 Feb 2013 19:28:51 +0100 Subject: [PATCH] Added API functions to register LV and MV machines --- technic/generator.lua | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/technic/technic/generator.lua b/technic/generator.lua similarity index 97% rename from technic/technic/generator.lua rename to technic/generator.lua index c8ac802..ae899a6 100644 --- a/technic/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