aboutsummaryrefslogtreecommitdiff
path: root/advtrains_signals_ks
diff options
context:
space:
mode:
authorywang <yw05@forksworld.de>2021-05-28 21:45:38 +0200
committerywang <yw05@forksworld.de>2021-11-05 20:28:38 +0100
commitfb632f170a9ac217be888b3ad294d17557719a2a (patch)
tree4b9d99bb9b030a56e9f133bfec7c9d29e69bf9ab /advtrains_signals_ks
parent44119ecbf51715e715695e86c1d00ada284d9eda (diff)
downloadadvtrains-fb632f170a9ac217be888b3ad294d17557719a2a.tar.gz
advtrains-fb632f170a9ac217be888b3ad294d17557719a2a.tar.bz2
advtrains-fb632f170a9ac217be888b3ad294d17557719a2a.zip
Do not allow adjusting Ks signals with trackworkers
Diffstat (limited to 'advtrains_signals_ks')
-rwxr-xr-xadvtrains_signals_ks/init.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/advtrains_signals_ks/init.lua b/advtrains_signals_ks/init.lua
index 8d617e7..a1f056c 100755
--- a/advtrains_signals_ks/init.lua
+++ b/advtrains_signals_ks/init.lua
@@ -198,7 +198,7 @@ for _, rtab in ipairs({
after_dig_node = advtrains.interlocking.signal_after_dig,
})
-- rotatable by trackworker
- advtrains.trackplacer.add_worked("advtrains_signals_ks:hs", typ, "_"..rot, prts.n)
+ advtrains.trackplacer.add_worked("advtrains_signals_ks:hs", typ, "_"..rot)
end
@@ -243,7 +243,7 @@ for _, rtab in ipairs({
after_dig_node = advtrains.interlocking.signal_after_dig,
})
-- rotatable by trackworker
- advtrains.trackplacer.add_worked("advtrains_signals_ks:ra", typ, "_"..rot, prts.n)
+ advtrains.trackplacer.add_worked("advtrains_signals_ks:ra", typ, "_"..rot)
end
--Schilder:
@@ -332,7 +332,7 @@ for _, rtab in ipairs({
t.drop = "advtrains_signals_ks:zs3_off_0"
t.selection_box.fixed[1][5] = 0
minetest.register_node("advtrains_signals_ks:zs3_"..typ.."_"..rot, t)
- advtrains.trackplacer.add_worked("advtrains_signals_ks:zs3", typ, "_"..rot, prts.n)
+ advtrains.trackplacer.add_worked("advtrains_signals_ks:zs3", typ, "_"..rot)
-- Zs 3v
local t = table.copy(def)
@@ -341,7 +341,7 @@ for _, rtab in ipairs({
t.drop = "advtrains_signals_ks:zs3v_off_0"
t.tiles[3] = t.tiles[3] .. "^[multiply:yellow"
minetest.register_node("advtrains_signals_ks:zs3v_"..typ.."_"..rot, t)
- advtrains.trackplacer.add_worked("advtrains_signals_ks:zs3v", typ, "_"..rot, prts.n)
+ advtrains.trackplacer.add_worked("advtrains_signals_ks:zs3v", typ, "_"..rot)
end
minetest.register_node("advtrains_signals_ks:mast_mast_"..rot, {