From 17ef45423a66f532ba3131cf04a15fcf6fe96886 Mon Sep 17 00:00:00 2001 From: Thomas Rudin Date: Mon, 31 Dec 2018 14:27:30 +0100 Subject: [PATCH] remove effects completely --- init.lua | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/init.lua b/init.lua index d2a3f2a..66a0eba 100644 --- a/init.lua +++ b/init.lua @@ -11,7 +11,7 @@ beacon.colors = {'blue','red','green','purple'} dofile(minetest.get_modpath("beacon").."/config.lua") dofile(minetest.get_modpath("beacon").."/beaminit.lua") dofile(minetest.get_modpath("beacon").."/beamgen.lua") -dofile(minetest.get_modpath("beacon").."/effects.lua") +--dofile(minetest.get_modpath("beacon").."/effects.lua") dofile(minetest.get_modpath("beacon").."/crafts.lua") --code for "unactivated beacon" @@ -32,7 +32,8 @@ minetest.register_node("beacon:blue", { drop = "beacon:blue", -- on_place = beacon.on_place, on_construct = beacon.on_construct.blue, - on_destruct = beacon.effects.blue.on_destruct, + on_destruct = beacon.on_destruct, +-- on_destruct = beacon.effects.blue.on_destruct, -- after_place_node = beacon.effects.blue.after_place_node, }) @@ -46,7 +47,7 @@ minetest.register_node("beacon:red", { -- on_place = beacon.on_place, on_construct = beacon.on_construct.red, on_destruct = beacon.on_destruct, - on_timer = beacon.effects.red.on_timer, +-- on_timer = beacon.effects.red.on_timer, }) --code for "Main green source cube" @@ -59,8 +60,8 @@ minetest.register_node("beacon:green", { -- on_place = beacon.on_place, on_construct = beacon.on_construct.green, on_destruct = beacon.on_destruct, - after_place_node = beacon.effects.green.after_place_node, - on_timer = beacon.effects.green.on_timer, +-- after_place_node = beacon.effects.green.after_place_node, +-- on_timer = beacon.effects.green.on_timer, }) --code for "Main purple source cube"