UNPKG

@kitten-science/kitten-engineers

Version:
16 lines 584 B
import { TreeNode } from "@oliversalzburg/js-utils/data/tree.js"; import { cdebug } from "../tools/Log.js"; export class TradeNagas extends TreeNode { name = "trade with nagas"; requires = ["ivory"]; solves = ["concrate", "megalith", "minerals", "slab"]; ancestors = new Set(); calculateCost() { return 0; } execute(_game, state, snapshots) { cdebug("Solar Revolution is currently at value:", snapshots.buildings.find(b => b.name === "solarRevolution")?.value); return state; } } //# sourceMappingURL=trade-nagas-operator.js.map