@kitten-science/kitten-engineers
Version:
16 lines • 550 B
JavaScript
import { TreeNode } from "@oliversalzburg/js-utils/data/tree.js";
import { cdebug } from "../tools/Log.js";
export class RefineCatnip extends TreeNode {
name = "refine catnip";
requires = ["catnip"];
solves = ["wood"];
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=refine-catnip-operator.js.map