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