homedecor_modpack/homedecor_common/sit.lua

16 lines
365 B
Lua
Raw Normal View History

2015-05-11 11:21:27 -07:00
function homedecor.sit(pos, node, clicker)
return -- delete it when the engine is stabler for the player's physics
--[[
2015-05-11 11:21:27 -07:00
local meta = minetest.get_meta(pos)
local param2 = node.param2
local name = clicker:get_player_name()
if name == meta:get_string("is_sit") then
meta:set_string("is_sit", "")
pos.y = pos.y-0.5
2017-05-21 13:14:09 -07:00
<<<<<<< HEAD
return true
2017-05-21 13:14:09 -07:00
=======
--]]
2015-05-11 11:21:27 -07:00
end