diff --git a/signs_lib/init.lua b/signs_lib/init.lua index 6a69537..3bbc033 100644 --- a/signs_lib/init.lua +++ b/signs_lib/init.lua @@ -3,6 +3,13 @@ -- PilzAdam's original text-on-signs mod and rewritten by Vanessa Ezekowitz -- and Diego Martinez +-- textpos = { +-- { delta = {entity position for 0° yaw}, exact yaw expression } +-- { delta = {entity position for 180° yaw}, exact yaw expression } +-- { delta = {entity position for 270° yaw}, exact yaw expression } +-- { delta = {entity position for 90° yaw}, exact yaw expression } +-- } + signs_lib = {} signs_lib.modpath = minetest.get_modpath("signs_lib") @@ -30,10 +37,10 @@ signs_lib.yard_sign_model = { } }, textpos = { - {delta = {x = 0, y = 0.07, z = -0.063}, yaw = 0}, - {delta = {x = -0.063, y = 0.07, z = 0 }, yaw = math.pi / -2}, - {delta = {x = 0, y = 0.07, z = 0.063}, yaw = math.pi}, - {delta = {x = 0.063, y = 0.07, z = 0 }, yaw = math.pi / 2}, + {delta = {x = 0, y = 0.07, z = -0.068}, yaw = 0}, + {delta = {x = -0.068, y = 0.07, z = 0 }, yaw = math.pi / -2}, + {delta = {x = 0, y = 0.07, z = 0.068}, yaw = math.pi}, + {delta = {x = 0.068, y = 0.07, z = 0 }, yaw = math.pi / 2}, } }