1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-12-23 00:20:17 +01:00

Remove dead code.

This commit is contained in:
Diego Martínez 2017-02-22 22:49:03 -03:00
parent 8d9ea61b13
commit f6173b036c

View File

@ -1,32 +1,6 @@
local S = homedecor_i18n.gettext 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_back", "lrfurn:coffeetable")
minetest.register_alias("lrfurn:coffeetable_front", "air") minetest.register_alias("lrfurn:coffeetable_front", "air")