CGF Knowledge Base Tactical Operations
Actions Predicates Libraries Behavior Trees Export
Home / Atomic Predicates / RefuelingComplete

RefuelingComplete

Check if refueling is complete

Usage: Used in 7 task(s)

Lua Implementation

-- Refueling Complete
function evaluate(params)
    local fuelLevel = this:getFuel()
    local targetLevel = params.target_level or 95

    return fuelLevel >= targetLevel
end

Tasks Using This Predicate (7)

Transportation Hub Destruction

Strategic Bombing (AIR DOMAIN)

Supply Line Interdiction

Deep Strike/Interdiction (AIR DOMAIN)

Railway Yard Destruction

Deep Strike/Interdiction (AIR DOMAIN)

Forward Arming and Refueling Point (FARP) Targeting

Airfield Attack (AIR DOMAIN)

Forward Resupply Operations

Logistics and Sustainment (LAND DOMAIN)

Supply Route Security

Logistics and Sustainment (LAND DOMAIN)

Interdiction Fires

Artillery and Fires Operations (LAND DOMAIN)