From 2b5664c0004b2f4ed8c712b8b6f75d9d3294c829 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Sun, 26 Feb 2017 11:11:19 -0500 Subject: updated lots of mods: blox, bobblocks, homedecor, coloredwood, gloopblocks, moreblocks, plasticbox, replacer, solidcolor, stained_glass, technic, unifiedbricks, and unifieddyes (in most of these, it's to upgrade to the Unified Dyes "extended" palette) --- lrfurn/coffeetable.lua | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'lrfurn') diff --git a/lrfurn/coffeetable.lua b/lrfurn/coffeetable.lua index 399d940..d2a920a 100644 --- a/lrfurn/coffeetable.lua +++ b/lrfurn/coffeetable.lua @@ -1,32 +1,6 @@ local S = homedecor_i18n.gettext ---[[ - local node = minetest.get_node(pos) - local yaw = placer:get_look_yaw() - local dir = minetest.yaw_to_dir(yaw-1.5) - local fdir = minetest.dir_to_facedir(dir) - - print(placer:get_look_yaw(), yaw) - print(node.param2, fdir) - - if lrfurn.check_right(pos, fdir, false, placer) then - local pos2 = find_coffee_table_second_node(pos, fdir) -]]-- - -local function find_second_node(pos, param2) - if param2 == 0 then - pos.z = pos.z+1 - elseif param2 == 1 then - pos.x = pos.x+1 - elseif param2 == 2 then - pos.z = pos.z-1 - elseif param2 == 3 then - pos.x = pos.x-1 - end - return pos -end - minetest.register_alias("lrfurn:coffeetable_back", "lrfurn:coffeetable") minetest.register_alias("lrfurn:coffeetable_front", "air") -- cgit v1.2.3