766b6d0358
- Move files to a folder of its own. - Add GitHub workflow and LuaCheck. - Add `settingtypes.txt` to select enabled cars. - Improve `README.md`. - Short a bit the code.
17 lines
435 B
Lua
17 lines
435 B
Lua
|
|
local name = "boat"
|
|
local definition = ...
|
|
|
|
definition.description = "BoatA"
|
|
definition.inventory_image = "boat_inventory.png"
|
|
definition.wield_image = "boat_wield.png"
|
|
definition.mesh = "boats_boat.obj"
|
|
definition.drop_on_destroy = "default:wood 3"
|
|
definition.recipe = {
|
|
{"", "", ""},
|
|
{"", "", "group:wood"},
|
|
{"group:wood", "group:wood", "group:wood"}
|
|
}
|
|
|
|
vehicle_mash.register_vehicle("vehicle_mash:"..name, definition)
|