mirror of
https://gitlab.com/lunovox/e-urn.git
synced 2025-03-20 17:51:21 +00:00
This commit is contained in:
parent
91c853d2bf
commit
fc5b95fea3
1 changed files with 4 additions and 1 deletions
|
@ -37,15 +37,18 @@ minetest.register_node("eurn:eurn", {
|
||||||
meta:set_string("owner",ownername)
|
meta:set_string("owner",ownername)
|
||||||
end,
|
end,
|
||||||
on_rightclick = function(pos, node, clicker)
|
on_rightclick = function(pos, node, clicker)
|
||||||
|
--[[
|
||||||
local clickername = clicker:get_player_name()
|
local clickername = clicker:get_player_name()
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
local ownername = meta:get_string("owner")
|
local ownername = meta:get_string("owner")
|
||||||
|
modEUrn.FormSpecs.showHypertext(clickername)
|
||||||
|
--]]
|
||||||
|
|
||||||
--[[
|
--[[
|
||||||
if ownername == clickername then
|
if ownername == clickername then
|
||||||
minetest.sound_play("sfx_eurn_button", {object=clicker, max_hear_distance=5.0,})
|
minetest.sound_play("sfx_eurn_button", {object=clicker, max_hear_distance=5.0,})
|
||||||
end
|
end
|
||||||
--]]
|
--]]
|
||||||
modEUrn.FormSpecs.showHypertext(clickername)
|
|
||||||
end,
|
end,
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue