14 lines
444 B
Lua
14 lines
444 B
Lua
local modpath = core.get_modpath(core.get_current_modname())
|
|
|
|
dofile(modpath .. "/api.lua")
|
|
|
|
PyuTest.create_vehicle("pyutest_vehicles:test", "Test Vehicle", {
|
|
initial_properties = {
|
|
physical = false,
|
|
collisionbox = PyuTest.NODEBOX_DEFAULT.fixed,
|
|
visual = "cube",
|
|
textures = {"pyutest-wood.png", "pyutest-wood.png", "pyutest-wood.png",
|
|
"pyutest-wood.png", "pyutest-wood.png", "pyutest-wood.png"}
|
|
}
|
|
}, "pyutest-wood.png")
|