Baseless/helpers/CreateFlyingRobot.lua

12 lines
171 B
Lua

function CreateFlyingRobot (type, prototype)
return CreateEntityWithHealth(
type,
MergeTables(
prototype,
{
speed = 1,
}
)
)
end