diff options
author | orwell <orwell@bleipb.de> | 2024-06-03 23:38:12 +0200 |
---|---|---|
committer | orwell <orwell@bleipb.de> | 2024-06-03 23:38:12 +0200 |
commit | 44a8cef1d5f2433502f5982f1d57410f49bb3afc (patch) | |
tree | fdbec5b77b0249db1a27642750c199b840fe07b4 /advtrains_signals_muc_ubahn | |
parent | f52653209aecb2310c1fb9598391c86113296f27 (diff) | |
download | advtrains-44a8cef1d5f2433502f5982f1d57410f49bb3afc.tar.gz advtrains-44a8cef1d5f2433502f5982f1d57410f49bb3afc.tar.bz2 advtrains-44a8cef1d5f2433502f5982f1d57410f49bb3afc.zip |
set_aspect: Flexibility, set aspect either via name or allow to fully specify table (for advanced signals)
Diffstat (limited to 'advtrains_signals_muc_ubahn')
-rwxr-xr-x | advtrains_signals_muc_ubahn/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains_signals_muc_ubahn/init.lua b/advtrains_signals_muc_ubahn/init.lua index baf5d82..4088ba6 100755 --- a/advtrains_signals_muc_ubahn/init.lua +++ b/advtrains_signals_muc_ubahn/init.lua @@ -46,7 +46,7 @@ local function applyaspect_distant(loc) end for r,f in pairs(all_sigs) do - for loc, sbox in pairs({l={-1/2, -1/2, -1/4, 0, 1/2, 1/4}, r={0, -1/2, -1/4, 1/2, 1/2, 1/4}, t={-1/2, 0, -1/4, 1/2, 1/2, 1/4}}) do + for loc, sbox in pairs({l={-1/2, -1/4, -1/8, -1/4, 1/4, 1/8}, r={1/4, -1/4, -1/8, 1/2, 1/4, 1/8}, t={-1/4, 1/4, -1/8, 1/4, 1/2, 1/8}}) do minetest.register_node("advtrains_signals_muc_ubahn:signal_wall_"..loc.."_"..r, { drawtype = "mesh", paramtype="light", |