--[[ Copyright (c) 2017 Optera
 * Part of Loader Redux
 *
 * See LICENSE.md in the project directory for license information.
--]]

-- set loader speed to match their respective belts in case mods changed belt speeds
data.raw["loader"]["yellow-loader"].speed = data.raw["transport-belt"]["express-transport-belt"].speed*2
data.raw["loader"]["red-loader"].speed = data.raw["transport-belt"]["express-transport-belt"].speed*4
data.raw["loader"]["purple-loader"].speed = data.raw["transport-belt"]["express-transport-belt"].speed*8
data.raw["loader"]["blue-loader"].speed = data.raw["transport-belt"]["express-transport-belt"].speed*16
data.raw["loader"]["green-loader"].speed = data.raw["transport-belt"]["express-transport-belt"].speed*32
data.raw["loader"]["black-loader"].speed = data.raw["transport-belt"]["express-transport-belt"].speed*64
data.raw["loader"]["grey-loader"].speed = data.raw["transport-belt"]["express-transport-belt"].speed*128
data.raw["loader"]["white-loader"].speed = data.raw["transport-belt"]["express-transport-belt"].speed*256