aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororwell96 <mono96.mml@gmail.com>2016-12-03 23:53:12 +0100
committerorwell96 <mono96.mml@gmail.com>2016-12-03 23:53:12 +0100
commitf155011e1a407e163f8547101973bdbd11439365 (patch)
tree5932a19a99b236cd085391d37afb41ab2209b9f3
parente9eacee7df742916572b2f23a1091aea3fcb4ac4 (diff)
downloadadvtrains-f155011e1a407e163f8547101973bdbd11439365.tar.gz
advtrains-f155011e1a407e163f8547101973bdbd11439365.tar.bz2
advtrains-f155011e1a407e163f8547101973bdbd11439365.zip
remove the legacy replacement lbms/abms
Until now, everyone should have updated at least once...
-rw-r--r--advtrains.zipbin1484909 -> 1484903 bytes
-rw-r--r--tracks.lua4
2 files changed, 2 insertions, 2 deletions
diff --git a/advtrains.zip b/advtrains.zip
index 714bb35..c5777f8 100644
--- a/advtrains.zip
+++ b/advtrains.zip
Binary files differ
diff --git a/tracks.lua b/tracks.lua
index 811cf16..546216a 100644
--- a/tracks.lua
+++ b/tracks.lua
@@ -5,7 +5,7 @@
--If the old non-model rails on straight tracks should be replaced by the new...
--false: no
--true: yes
-advtrains.register_straight_rep_lbm=true
+advtrains.register_replacement_lbms=false
--[[TracksDefinition
nodename_prefix
@@ -538,6 +538,7 @@ for name,rep in pairs({swl_st="swlst", swr_st="swrst", swl_cr="swlcr", swr_cr="s
})
end
+if advtrains.register_replacement_lbms then
minetest.register_lbm({
name = "advtrains:ramp_replacement_1",
-- In the following two fields, also group:groupname will work.
@@ -550,7 +551,6 @@ minetest.register_lbm({
nodenames = {"advtrains:track_vert2"},
action = function(pos, node, active_object_count, active_object_count_wider) minetest.set_node(pos, {name="advtrains:dtrack_vst2", param2=(node.param2+2)%4}) end,
})
-if advtrains.register_straight_rep_lbm then
minetest.register_abm({
name = "advtrains:st_rep_1",
-- In the following two fields, also group:groupname will work.