ConnectToTanker

Connect to tanker for refueling

Usage: Used in 7 task(s)

Lua Implementation

-- Connect To Tanker
function execute(params)
    local tanker = params.tanker

    if tanker and tanker:isValid() then
        this:addTask("DtRefuel", {
            supplier = tanker,
            refuelAmount = params.amount or "full"
        })
        return true
    end
    return false
end