useMph=false,-- Set to 'true' to use miles per hour instead of kilometers per hour.
rechargeTime=240000,-- The time in milliseconds it takes to recharge the drone's battery after it runs out.
pickupRange=5,-- The distance in meters from the player to pick up the drone.
damageTimeout=2000,-- The time in milliseconds before the drone can take damage again after being damaged.
showEffect=true,-- Shows a screen effect if the drone is damaged and/or losing signal.
}
Config.drones={
{
itemName='drone',-- The name of the item that be used in your inventory system.
removeItem=true,-- When set to 'true', the item will be removed from the inventory when the drone is spawned, and given back when the drone is picked up.
-- command = 'drone', -- Uncomment if you want to use a command to spawn the drone.
flightTime=240000,-- The time in milliseconds the drone can be used before it runs out of battery.
flyRange=300,-- The maximum distance the drone can fly from the player.
health=3,-- The health points of the drone. The drone will break if it reaches 0 health.
components={-- Controls HUD elements
['flightdata']=true,-- Flight data (speed, altitude, distance)
['compass']=true,-- Compass
['status']=true,-- Battery status, signal & coords