vehicle_mash-cd2025/road_master.lua

32 lines
785 B
Lua
Raw Normal View History

2015-05-21 19:56:20 -04:00
local name = "car_road_master"
local definition = {
2015-05-01 00:34:04 -04:00
description = "Road Master car",
2015-05-21 19:56:20 -04:00
collisionbox = {-1.6, -0.05, -1.3, 1.0, 1, 0.5},
onplace_position_adj = -0.45,
2015-05-01 00:34:04 -04:00
is_boat = false,
2015-05-06 00:13:25 -04:00
player_rotation = {x=0,y=90,z=0},
2015-05-21 19:56:20 -04:00
driver_attach_at = {x=0,y=12,z=0},
number_of_passengers = 1,
passenger_attach_at = {x=0,y=12,z=-8},
passenger_eye_offset = {x=8, y=0, z=0},
2015-04-24 21:59:10 -04:00
inventory_image = "inv_car_brown.png",
wield_image = "inv_car_brown.png",
wield_scale = {x=1, y=1, z=1},
visual = "mesh",
mesh = "car.x",
textures = {"road_master.png"},
2015-05-21 19:56:20 -04:00
visual_size = {x=1, y=1},
stepheight = 1.1,
2015-04-24 21:59:10 -04:00
max_speed_forward = 20,
max_speed_reverse = 10,
accel = 2,
braking = 4,
turn_speed = 2,
2015-05-21 19:56:20 -04:00
drop_on_destroy = "",
recipe = {}
}
vehicle_mash:register_vehicle("vehicle_mash:"..name, definition)