diff options
author | ywang <yw05@forksworld.de> | 2021-11-03 18:55:31 +0100 |
---|---|---|
committer | ywang <yw05@forksworld.de> | 2021-11-07 13:49:01 +0100 |
commit | be2f37a0678c66278d1c491b8f1250a8a3be9feb (patch) | |
tree | ff592e9890892b0d0c6c9dc9b5e8ec81f76a956c /advtrains/init.lua | |
parent | 22994705235dfcdfbdc9966a9ba037d657188b5a (diff) | |
download | advtrains-be2f37a0678c66278d1c491b8f1250a8a3be9feb.tar.gz advtrains-be2f37a0678c66278d1c491b8f1250a8a3be9feb.tar.bz2 advtrains-be2f37a0678c66278d1c491b8f1250a8a3be9feb.zip |
Support different types of speed restrictions; add documentation
Diffstat (limited to 'advtrains/init.lua')
-rw-r--r-- | advtrains/init.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/advtrains/init.lua b/advtrains/init.lua index 0882237..a7e5764 100644 --- a/advtrains/init.lua +++ b/advtrains/init.lua @@ -198,6 +198,8 @@ advtrains.meseconrules = advtrains.fpath=minetest.get_worldpath().."/advtrains" +advtrains.speed = dofile(advtrains.modpath.."/speed.lua") + dofile(advtrains.modpath.."/path.lua") dofile(advtrains.modpath.."/trainlogic.lua") dofile(advtrains.modpath.."/trainhud.lua") @@ -467,7 +469,7 @@ advtrains.avt_save = function(remove_players_from_wagons) "trainparts", "recently_collided_with_env", "atc_brake_target", "atc_wait_finish", "atc_command", "atc_delay", "door_open", "text_outside", "text_inside", "line", "routingcode", - "il_sections", "speed_restriction", "is_shunt", + "il_sections", "speed_restriction", "speed_restrictions_t", "is_shunt", "points_split", "autocouple", "atc_wait_autocouple", "ars_disable", }) --then save it |