mirror of
https://github.com/mt-mods/signs_lib.git
synced 2024-11-05 09:30:19 +01:00
treat cottages:table and prefab_redo:concrete_railing as vertical posts
This commit is contained in:
parent
de5926233a
commit
42091db05e
22
compat.lua
22
compat.lua
|
@ -13,6 +13,28 @@ for _, n in ipairs(default_fences) do
|
|||
})
|
||||
end
|
||||
|
||||
if minetest.get_modpath("cottages") then
|
||||
local cbox = table.copy(minetest.registered_items["cottages:table"].node_box)
|
||||
minetest.override_item("cottages:table", {
|
||||
check_for_pole = true,
|
||||
selection_box = cbox
|
||||
})
|
||||
end
|
||||
|
||||
if minetest.get_modpath("prefab_redo") then
|
||||
minetest.override_item("prefab_redo:concrete_railing", {
|
||||
check_for_pole = true,
|
||||
selection_box = {
|
||||
type = "connected",
|
||||
connect_right = { -0.125, -0.5, -0.125, 0.5, 0.375, 0.125 },
|
||||
connect_left = { -0.5, -0.5, -0.125, 0.125, 0.375, 0.125 },
|
||||
connect_back = { -0.125, -0.5, -0.125, 0.125, 0.375, 0.5 },
|
||||
connect_front = { -0.125, -0.5, -0.5, 0.125, 0.375, 0.125 },
|
||||
fixed = {}
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
if minetest.get_modpath("streetspoles") then
|
||||
|
||||
local htj_north = {
|
||||
|
|
|
@ -3,3 +3,4 @@ intllib?
|
|||
screwdriver?
|
||||
streetspoles?
|
||||
streetlamps?
|
||||
cottages?
|
||||
|
|
Loading…
Reference in New Issue
Block a user