libram
    Preparing search index...

    Function drive

    • Attempt to drive with a particular style for a particular number of turns.

      Parameters

      • style: Effect

        The driving style to use.

      • turns: number = 1

        The number of turns to attempt to get.

      • preferInventory: boolean = false

        Whether we should preferentially value items currently in our inventory.

      Returns boolean

      Whether we have at least as many turns as requested of said driving style.