mirror of
https://github.com/Sokomine/cottages.git
synced 2024-11-10 20:30:46 +01:00
11 lines
352 B
Lua
11 lines
352 B
Lua
|
-- search for the workbench in AdventureTest
|
||
|
local workbench = minetest.registered_nodes["workbench:3x3"]
|
||
|
if workbench then
|
||
|
local cottages_table_def = minetest.registered_nodes["cottages:table"]
|
||
|
|
||
|
minetest.override_item("cottages:table", {
|
||
|
tiles = {workbench.tiles[1], cottages_table_def.tiles[1]},
|
||
|
on_rightclick = workbench.on_rightclick
|
||
|
})
|
||
|
end
|