Baseless/helpers/CreateTransportBeltConnecta...

21 lines
578 B
Lua
Raw Normal View History

2020-04-22 04:35:40 +00:00
function CreateTransportBeltConnectable (type, prototype)
return CreateEntityWithHealth(
type,
MergeTables(
prototype,
{
speed = 1,
belt_horizontal = Baseless.Animation,
belt_vertical = Baseless.Animation,
ending_bottom = Baseless.Animation,
ending_side = Baseless.Animation,
ending_top = Baseless.Animation,
starting_bottom = Baseless.Animation,
starting_side = Baseless.Animation,
starting_top = Baseless.Animation,
collision_box = {{-1, -1}, {1, 1}},
}
)
)
end