1234567891011121314151617 |
- local mod_name = "dlxtrains_diesel_locomotives"
- dlxtrains_diesel_locomotives = {}
- dlxtrains_diesel_locomotives.S = minetest.get_translator(mod_name)
- dlxtrains_diesel_locomotives.max_wagon_length = 100 -- A large number to represent "unlimited"
- if minetest.get_modpath( "dlxtrains" ) and dlxtrains then
- dlxtrains_diesel_locomotives.max_wagon_length = dlxtrains.max_wagon_length
- end
- local mod_path = minetest.get_modpath(mod_name)
- dofile(mod_path.."/items.lua")
- dofile(mod_path.."/locomotives.lua")
- dofile(mod_path.."/locomotive_recipes.lua")
|