mirror of
https://github.com/mt-mods/home_workshop_modpack.git
synced 2025-01-11 02:30:24 +01:00
parent
40b911e184
commit
1fd279435c
@ -28,6 +28,7 @@ local function reg_simple(name, def)
|
||||
end
|
||||
end,
|
||||
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
|
||||
if not itemstack then return end
|
||||
local pname = clicker:get_player_name()
|
||||
local iname = itemstack:get_name()
|
||||
local dpos = vector.add((vector.multiply(minetest.facedir_to_dir(node.param2), -1)), pos)
|
||||
|
@ -44,6 +44,7 @@ minetest.register_node("home_workshop_misc:beer_tap", {
|
||||
},
|
||||
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
|
||||
local inv = clicker:get_inventory()
|
||||
if not itemstack then return end
|
||||
|
||||
local wieldname = itemstack:get_name()
|
||||
if wieldname == "vessels:drinking_glass" then
|
||||
|
Loading…
Reference in New Issue
Block a user