33 lines
806 B
Lua
Raw Normal View History

2015-05-21 19:56:20 -04:00
local name = "boat"
local definition = {
2015-05-01 00:34:04 -04:00
description = "Boat",
2015-05-21 19:56:20 -04:00
collisionbox = {-0.5, -0.4, -0.5, 0.5, 0.3, 0.5},
onplace_position_adj = 0,
2015-05-01 00:34:04 -04:00
is_boat = true,
2015-05-21 19:56:20 -04:00
player_rotation = {x=0,y=0,z=0},
driver_attach_at = {x=0,y=11,z=-3},
2016-08-11 01:05:49 -04:00
driver_eye_offset = {x=0, y=0, z=0},
2015-05-21 19:56:20 -04:00
number_of_passengers = 0,
passenger_attach_at = {x=0,y=0,z=0},
passenger_eye_offset = {x=0, y=0, z=0},
2015-05-01 00:34:04 -04:00
inventory_image = "boat_inventory.png",
wield_image = "boat_wield.png",
2015-05-21 19:56:20 -04:00
wield_scale = {x=1, y=1, z=1},
2015-05-01 00:34:04 -04:00
visual = "mesh",
mesh = "boat.x",
textures = {"default_wood.png"},
2015-05-21 19:56:20 -04:00
visual_size = {x=1, y=1},
stepheight = 0,
2015-05-01 00:34:04 -04:00
max_speed_forward = 10,
max_speed_reverse = 5,
accel = 1,
braking = 1,
turn_speed = 2,
2015-05-21 19:56:20 -04:00
drop_on_destroy = "default:wood 3",
recipe = {}
}
vehicle_mash.register_vehicle("vehicle_mash:"..name, definition)