diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2016-08-11 18:39:55 -0400 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2016-08-11 18:39:55 -0400 |
commit | 92f49e3096dc37b9b802994d287c47dc7f583c24 (patch) | |
tree | 9480515a27630d8009dffb87de93124966fb1015 /fake_fire | |
parent | f9cae7314e08fbeeef509c5c6ca095822fec1747 (diff) | |
download | dreambuilder_modpack-92f49e3096dc37b9b802994d287c47dc7f583c24.tar dreambuilder_modpack-92f49e3096dc37b9b802994d287c47dc7f583c24.tar.gz dreambuilder_modpack-92f49e3096dc37b9b802994d287c47dc7f583c24.tar.bz2 dreambuilder_modpack-92f49e3096dc37b9b802994d287c47dc7f583c24.tar.xz dreambuilder_modpack-92f49e3096dc37b9b802994d287c47dc7f583c24.zip |
updated boost_cart, plantlife, castle, homedecor, fake_fire,
glooptest, quartz, unified_inventory, inbox, mesecons, and
worldedit mods
Diffstat (limited to 'fake_fire')
-rw-r--r-- | fake_fire/init.lua | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/fake_fire/init.lua b/fake_fire/init.lua index 08760de..92d04f9 100644 --- a/fake_fire/init.lua +++ b/fake_fire/init.lua @@ -84,8 +84,9 @@ for _, f in ipairs(flame_types) do {name=f.."_fire_animated.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=1.5}}, }, - on_rightclick = function (pos, node, clicker) + on_rightclick = function(pos, node, clicker, itemstack, pointed_thing) start_smoke(pos, node, clicker) + return itemstack end, on_destruct = function (pos) stop_smoke(pos) @@ -113,8 +114,9 @@ minetest.register_node("fake_fire:fancy_fire", { tiles = { {name="fake_fire_animated.png", animation={type='vertical_frames', aspect_w=16, aspect_h=16, length=1}}, {name='fake_fire_logs.png'}}, - on_rightclick = function (pos, node, clicker) + on_rightclick = function(pos, node, clicker, itemstack, pointed_thing) start_smoke(pos, node, clicker) + return itemstack end, on_destruct = function (pos) stop_smoke(pos) @@ -161,9 +163,10 @@ for _, m in ipairs(materials) do type = "fixed", fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5}, }, - on_rightclick = function (pos, node, clicker) + on_rightclick = function(pos, node, clicker, itemstack, pointed_thing) local chimney = 1 start_smoke(pos, node, clicker, chimney) + return itemstack end, on_destruct = function (pos) stop_smoke(pos) |