UNPKG

@kitten-science/kitten-engineers

Version:
22 lines 1.72 kB
import type { PayloadBuildings } from "@kitten-science/kitten-analysts/KittenAnalysts.js"; import type { EngineState } from "@kitten-science/kitten-scientists/Engine.js"; import type { Game } from "@kitten-science/kitten-scientists/types/game.js"; import type { Resource } from "@kitten-science/kitten-scientists/types/index.js"; import type { Operator } from "../GraphSolver.js"; export declare const ConsumeStockResourceFactory: (resources: Iterable<Resource>) => Generator<{ new (parent?: Operator | undefined): { name: string; requires: never[]; solves: ("alloy" | "beam" | "bloodstone" | "blueprint" | "compedium" | "concrate" | "eludium" | "gear" | "kerosene" | "manuscript" | "megalith" | "parchment" | "plate" | "scaffold" | "ship" | "slab" | "steel" | "tanker" | "tMythril" | "thorium" | "wood" | "alicorn" | "antimatter" | "blackcoin" | "burnedParagon" | "catnip" | "coal" | "culture" | "elderBox" | "faith" | "furs" | "gflops" | "gold" | "hashrates" | "iron" | "ivory" | "karma" | "kittens" | "manpower" | "minerals" | "necrocorn" | "oil" | "paragon" | "relic" | "science" | "sorrow" | "spice" | "starchart" | "tears" | "temporalFlux" | "timeCrystal" | "titanium" | "unicorns" | "unobtainium" | "uranium" | "void" | "wrappingPaper" | "zebras")[]; ancestors: Set<Operator>; calculateCost(): number; execute(_game: Game, state: EngineState, _snapshots: { buildings: PayloadBuildings; }): EngineState; "__#23@#private": any; readonly parent: Operator | undefined; readonly children: Set<Operator>; child(child: Operator): Operator; }; }, void, unknown>; //# sourceMappingURL=consume-stock-resource.d.ts.map