mirror of
https://github.com/mt-mods/home_workshop_modpack.git
synced 2024-11-15 23:20:22 +01:00
14 lines
531 B
Lua
14 lines
531 B
Lua
local old_node = minetest.registered_nodes["computers:shefriendSOO"]
|
|
old_node.groups.not_in_creative_inventory = 1
|
|
minetest.override_item("computers:shefriendSOO", {
|
|
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
|
|
computers.load_gui(pos, node, clicker)
|
|
end,
|
|
groups = old_node.groups
|
|
})
|
|
|
|
old_node = minetest.registered_nodes["computers:shefriendSOO_off"]
|
|
old_node.groups.not_in_creative_inventory = nil
|
|
minetest.override_item("computers:shefriendSOO_off", {
|
|
groups = old_node.groups
|
|
}) |