summaryrefslogtreecommitdiff
path: root/node_controllers.lua
diff options
context:
space:
mode:
authorFaceDeer <derksenmobile@gmail.com>2017-01-03 19:43:32 -0700
committerFaceDeer <derksenmobile@gmail.com>2017-01-03 19:43:32 -0700
commit3600a745be423d60cea19bd8ac887a5f069a15bf (patch)
treeb38b1295143703eff838446e1014861046bcb4fe /node_controllers.lua
parentc1a090137c0f8c35d984c3ca0bafc3dde8d1b872 (diff)
Add intermittent and non-intermittent versions of the diggers.
Diffstat (limited to 'node_controllers.lua')
-rw-r--r--node_controllers.lua10
1 files changed, 5 insertions, 5 deletions
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",