2023-04-29 21:23:36 -03:00
|
|
|
--
|
|
|
|
-- constants
|
|
|
|
--
|
|
|
|
trans_am={}
|
|
|
|
trans_am.gravity = automobiles_lib.gravity
|
|
|
|
|
2024-01-27 00:10:42 +01:00
|
|
|
trans_am.S = nil
|
|
|
|
|
|
|
|
if(minetest.get_translator ~= nil) then
|
|
|
|
trans_am.S = minetest.get_translator(minetest.get_current_modname())
|
|
|
|
|
|
|
|
else
|
|
|
|
trans_am.S = function ( s ) return s end
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
local S = trans_am.S
|
|
|
|
|
2023-04-29 21:23:36 -03:00
|
|
|
dofile(minetest.get_modpath("automobiles_lib") .. DIR_DELIM .. "custom_physics.lua")
|
|
|
|
dofile(minetest.get_modpath("automobiles_lib") .. DIR_DELIM .. "fuel_management.lua")
|
|
|
|
dofile(minetest.get_modpath("automobiles_lib") .. DIR_DELIM .. "ground_detection.lua")
|
|
|
|
dofile(minetest.get_modpath("automobiles_lib") .. DIR_DELIM .. "control.lua")
|
|
|
|
dofile(minetest.get_modpath("automobiles_trans_am") .. DIR_DELIM .. "entities.lua")
|
|
|
|
dofile(minetest.get_modpath("automobiles_trans_am") .. DIR_DELIM .. "crafts.lua")
|
|
|
|
|
|
|
|
|