1
0
mirror of https://github.com/Sokomine/cottages.git synced 2024-11-14 22:40:31 +01:00
cottages/compat/adventuretest.lua

11 lines
355 B
Lua
Raw Normal View History

2022-10-09 23:13:47 +02:00
-- 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", {
2023-01-23 04:36:23 +01:00
tiles = { workbench.tiles[1], cottages_table_def.tiles[1] },
on_rightclick = workbench.on_rightclick,
2022-10-09 23:13:47 +02:00
})
end