mirror of
https://github.com/mt-mods/signs_lib.git
synced 2024-12-25 00:30:18 +01:00
treat streets:streetlamp_basic_top_* as a type of post
as far as sign placement is concerned.
This commit is contained in:
parent
f944337b1c
commit
ee2dc495c3
1
api.lua
1
api.lua
@ -649,6 +649,7 @@ function signs_lib.check_for_pole(pos, pointed_thing)
|
|||||||
or string.find(pnode.name, "default:fence_")
|
or string.find(pnode.name, "default:fence_")
|
||||||
or string.find(pnode.name, "_post")
|
or string.find(pnode.name, "_post")
|
||||||
or string.find(pnode.name, "fencepost")
|
or string.find(pnode.name, "fencepost")
|
||||||
|
or string.find(pnode.name, "streets:streetlamp_basic_top")
|
||||||
or (pnode.name == "streets:bigpole" and pnode.param2 < 4)
|
or (pnode.name == "streets:bigpole" and pnode.param2 < 4)
|
||||||
or (pnode.name == "streets:bigpole" and pnode.param2 > 19 and pnode.param2 < 24)
|
or (pnode.name == "streets:bigpole" and pnode.param2 > 19 and pnode.param2 < 24)
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user