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 /lrfurn | |
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 'lrfurn')
-rw-r--r-- | lrfurn/armchairs.lua | 5 | ||||
-rw-r--r-- | lrfurn/longsofas.lua | 5 | ||||
-rw-r--r-- | lrfurn/sofas.lua | 5 |
3 files changed, 9 insertions, 6 deletions
diff --git a/lrfurn/armchairs.lua b/lrfurn/armchairs.lua index 39999dd..f3b8225 100644 --- a/lrfurn/armchairs.lua +++ b/lrfurn/armchairs.lua @@ -24,13 +24,14 @@ for i in ipairs(lrfurn.colors) do groups = {snappy=3}, sounds = default.node_sound_wood_defaults(), node_box = armchair_cbox, - on_rightclick = function(pos, node, clicker) + on_rightclick = function(pos, node, clicker, itemstack, pointed_thing) if not clicker:is_player() then - return + return itemstack end pos.y = pos.y-0.5 clicker:setpos(pos) clicker:set_hp(20) + return itemstack end }) diff --git a/lrfurn/longsofas.lua b/lrfurn/longsofas.lua index 3bcd8ec..a1721a9 100644 --- a/lrfurn/longsofas.lua +++ b/lrfurn/longsofas.lua @@ -46,13 +46,14 @@ for i in ipairs(lrfurn.colors) do end return itemstack end, - on_rightclick = function(pos, node, clicker) + on_rightclick = function(pos, node, clicker, itemstack, pointed_thing) if not clicker:is_player() then - return + return itemstack end pos.y = pos.y-0.5 clicker:setpos(pos) clicker:set_hp(20) + return itemstack end }) diff --git a/lrfurn/sofas.lua b/lrfurn/sofas.lua index 1f7c217..bc071c2 100644 --- a/lrfurn/sofas.lua +++ b/lrfurn/sofas.lua @@ -48,13 +48,14 @@ for i in ipairs(lrfurn.colors) do end return itemstack end, - on_rightclick = function(pos, node, clicker) + on_rightclick = function(pos, node, clicker, itemstack, pointed_thing) if not clicker:is_player() then - return + return itemstack end pos.y = pos.y-0.5 clicker:setpos(pos) clicker:set_hp(20) + return itemstack end }) |