diff options
author | orwell96 <orwell@bleipb.de> | 2018-07-04 17:48:33 +0200 |
---|---|---|
committer | orwell96 <orwell@bleipb.de> | 2018-07-04 17:48:33 +0200 |
commit | 031aab4633f6f140a2ffda4f00b6e0d743cf681a (patch) | |
tree | d43a3e7fac033676969a34ad45e81b7db105448b /advtrains_interlocking/demosignals.lua | |
parent | 9586a4d70922e24ba45ef018fc48455f31c4cfbb (diff) | |
download | advtrains-031aab4633f6f140a2ffda4f00b6e0d743cf681a.tar.gz advtrains-031aab4633f6f140a2ffda4f00b6e0d743cf681a.tar.bz2 advtrains-031aab4633f6f140a2ffda4f00b6e0d743cf681a.zip |
Signal assignment and route programming procedure
Diffstat (limited to 'advtrains_interlocking/demosignals.lua')
-rw-r--r-- | advtrains_interlocking/demosignals.lua | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/advtrains_interlocking/demosignals.lua b/advtrains_interlocking/demosignals.lua index 8320afb..d5d5c4f 100644 --- a/advtrains_interlocking/demosignals.lua +++ b/advtrains_interlocking/demosignals.lua @@ -1,13 +1,16 @@ -- Demonstration signals -- Those can display the 3 main aspects of Ks signals +-- Note that the group value of advtrains_signal is 2, which means "step 2 of signal capabilities" +-- advtrains_signal=1 is meant for signals that do not implement set_aspect. + minetest.register_node("advtrains_interlocking:ds_danger", { description = "Demo signal at Danger", tiles = {"at_il_signal_asp_danger.png"}, groups = { cracky = 3, - advtrains_signal = 1, + advtrains_signal = 2, save_in_at_nodedb = 1, }, sounds = default.node_sound_stone_defaults(), @@ -35,7 +38,7 @@ minetest.register_node("advtrains_interlocking:ds_free", { tiles = {"at_il_signal_asp_free.png"}, groups = { cracky = 3, - advtrains_signal = 1, + advtrains_signal = 2, save_in_at_nodedb = 1, }, sounds = default.node_sound_stone_defaults(), @@ -63,7 +66,7 @@ minetest.register_node("advtrains_interlocking:ds_slow", { tiles = {"at_il_signal_asp_slow.png"}, groups = { cracky = 3, - advtrains_signal = 1, + advtrains_signal = 2, save_in_at_nodedb = 1, }, sounds = default.node_sound_stone_defaults(), |