2015-05-01 00:34:04 -04:00
|
|
|
vehicle_mash:register_car("vehicle_mash:car_green", {
|
|
|
|
description = "Green car",
|
|
|
|
is_boat = false,
|
2015-05-06 00:13:25 -04:00
|
|
|
player_attach_at = {x=0,y=12,z=0},
|
|
|
|
player_rotation = {x=0,y=90,z=0},
|
|
|
|
onplace_position_adj = -0.45,
|
2015-05-01 00:34:04 -04:00
|
|
|
drop_on_destroy = "",
|
|
|
|
recipe = {},
|
2015-04-24 21:59:10 -04:00
|
|
|
inventory_image = "inv_car_green.png",
|
|
|
|
wield_image = "inv_car_green.png",
|
|
|
|
wield_scale = {x=1, y=1, z=1},
|
|
|
|
visual = "mesh",
|
|
|
|
mesh = "car.x",
|
2015-05-06 00:13:25 -04:00
|
|
|
visual_size = {x=1, y=1},
|
2015-04-24 21:59:10 -04:00
|
|
|
textures = {"car_green.png"},
|
|
|
|
stepheight = 1.1, -- Stepheight, 0.6 = climb slabs, 1.1 = climb nodes
|
|
|
|
max_speed_forward = 20,
|
|
|
|
max_speed_reverse = 10,
|
|
|
|
accel = 2,
|
|
|
|
braking = 4,
|
|
|
|
turn_speed = 2,
|
2015-05-06 00:13:25 -04:00
|
|
|
collisionbox = {-1.6, -0.05, -1.3, 1.0, 1, 0.5},
|
|
|
|
-- back, bottom, starboard, front, top, port
|
2015-04-24 21:59:10 -04:00
|
|
|
})
|