UNPKG

@kitten-science/kitten-analysts

Version:
21 lines 764 B
import { ucfirst } from "@kitten-science/kitten-scientists/tools/Format.js"; import { gaugeFactory } from "./factory.js"; export const kg_tech_unlocked = (cache, remote) => gaugeFactory({ cache, extract(client_type, guid, location, element, subject) { subject.set({ client_type, guid, label: ucfirst(element.label), location, name: element.name, tab: element.tab, }, element.unlocked ? 1 : 0); }, help: "Has the given technology been unlocked?", labelNames: ["client_type", "client_type", "guid", "name", "label", "location", "tab"], name: "kg_tech_unlocked", remote, require: "getTechnologies", }); //# sourceMappingURL=kg_tech_unlocked.js.map