TOC Toolkit API - v0.1.0
    Preparing search index...

    Interface ChildBudgetOptions

    How a child budget is bounded below what its parent has left.

    interface ChildBudgetOptions {
        share?: number;
        caps?: Partial<Readonly<Record<Resource, number>>>;
    }
    Index
    share?: number

    The fraction of the fuel and of the time of the parent that the child may use, above 0 and at most 1. The default is 1. The share does not scale the other resources, because each of them is a size cap.

    caps?: Partial<Readonly<Record<Resource, number>>>

    Limits that the child may not exceed, for the resources that the parent names.