mirror of
https://github.com/APercy/automobiles_pck
synced 2025-09-26 21:06:24 +02:00
30 lines
1.1 KiB
Lua
Executable File
30 lines
1.1 KiB
Lua
Executable File
--
|
|
-- constants
|
|
--
|
|
catrelle={}
|
|
catrelle.LONGIT_DRAG_FACTOR = 0.12*0.12
|
|
catrelle.LATER_DRAG_FACTOR = 8.0
|
|
catrelle.gravity = automobiles_lib.gravity
|
|
catrelle.max_speed = 14
|
|
catrelle.max_acc_factor = 5
|
|
catrelle.max_fuel = 10
|
|
catrelle.trunk_slots = 32
|
|
catrelle.ideal_step = 0.2
|
|
catrelle.engine_sound = "automobiles_engine"
|
|
|
|
catrelle_GAUGE_FUEL_POSITION = {x=-4.47,y=8.50,z=20.5}
|
|
|
|
catrelle.front_wheel_xpos = 7.5
|
|
catrelle.rear_wheel_xpos = 7.5
|
|
|
|
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_catrelle") .. DIR_DELIM .. "utilities.lua")
|
|
dofile(minetest.get_modpath("automobiles_catrelle") .. DIR_DELIM .. "entities.lua")
|
|
dofile(minetest.get_modpath("automobiles_catrelle") .. DIR_DELIM .. "forms.lua")
|
|
dofile(minetest.get_modpath("automobiles_catrelle") .. DIR_DELIM .. "crafts.lua")
|
|
|
|
|