From 42a9002f9986cadc2eb95448334f74f99c0f661a Mon Sep 17 00:00:00 2001 From: Whiskers75 - Date: Sun, 17 Jun 2012 15:00:16 +0100 Subject: [PATCH] 3: Removed init.lua~ --- init.lua~ | 54 ------------------------------------------------------ 1 file changed, 54 deletions(-) delete mode 100644 init.lua~ diff --git a/init.lua~ b/init.lua~ deleted file mode 100644 index b7cab04..0000000 --- a/init.lua~ +++ /dev/null @@ -1,54 +0,0 @@ --- TIC-TAC-TOE BOARD MOD --- by whiskers75 - -minetest.register_node ("tictactoe:x_on", { - drawtype = signlike, - description = "TicTacToe X", - tile_images = {"tttx.png"}, - inventory_image = {"tttx.png"}, - sunlight_propagates = true, - paramtype = 'light', - walkable = true, - material = minetest.digprop_constanttime(1.0), - }) - -minetest.register_node ("tictactoe:o_on", { - drawtype = signlike, - description = "TicTacToe O", - tile_images = {"ttto.png"}, - inventory_image = {"ttto.png"}, - sunlight_propagates = true, - paramtype = 'light', - walkable = true, - material = minetest.digprop_constanttime(1.0), - }) - -mesecon:add_receptor_node("tictactoe:x_on") -mesecon:add_receptor_node("tictactoe:o_on") - -minetest.register_on_dignode( - function(pos, oldnode, digger) - if oldnode.name == "tictactoe:x_on" then - mesecon:receptor_off(pos) - end - end -) -minetest.register_on_dignode( - function(pos, oldnode, digger) - if oldnode.name == "tictactoe:o_on" then - mesecon:receptor_off(pos) - end - end -) - -minetest.register_on_punchnode(function(pos, node, puncher) - if node.name == "tictactoe:x_on" then - mesecon:receptor_on(pos) - end -end) - -minetest.register_on_punchnode(function(pos, node, puncher) - if node.name == "tictactoe:o_on" then - mesecon:receptor_on(pos) - end -end)