From 3600a745be423d60cea19bd8ac887a5f069a15bf Mon Sep 17 00:00:00 2001 From: FaceDeer Date: Tue, 3 Jan 2017 19:43:32 -0700 Subject: Add intermittent and non-intermittent versions of the diggers. --- node_controllers.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'node_controllers.lua') diff --git a/node_controllers.lua b/node_controllers.lua index 0ac65ac..8c06607 100644 --- a/node_controllers.lua +++ b/node_controllers.lua @@ -246,9 +246,9 @@ local controller_nodebox ={ minetest.register_node("digtron:controller", { description = "Digtron Control Unit", groups = {cracky = 3, oddly_breakable_by_hand = 3, digtron = 1}, - drop = 'digtron:controller', + drop = "digtron:controller", sounds = default.node_sound_metal_defaults(), - paramtype2= 'facedir', + paramtype2= "facedir", -- Aims in the +Z direction by default tiles = { "digtron_plate.png^[transformR90", @@ -267,7 +267,7 @@ minetest.register_node("digtron:controller", { }, on_construct = function(pos) - local meta = minetest.env:get_meta(pos) + local meta = minetest.get_meta(pos) meta:set_float("fuel_burning", 0.0) meta:set_string("infotext", "Heat remaining in controller furnace: 0") end, @@ -286,9 +286,9 @@ minetest.register_node("digtron:controller", { minetest.register_node("digtron:pusher", { description = "Digtron Pusher Unit", groups = {cracky = 3, oddly_breakable_by_hand=3, digtron = 1}, - drop = 'digtron:pusher', + drop = "digtron:pusher", sounds = default.node_sound_metal_defaults(), - paramtype2= 'facedir', + paramtype2= "facedir", -- Aims in the +Z direction by default tiles = { "digtron_plate.png^[transformR90^[colorize:#00880030", -- cgit v1.2.3