CORPORATION: Prevent duplicate processing of boost materials (#2695)

This commit is contained in:
catloversg
2026-04-28 14:06:12 +07:00
committed by GitHub
parent 750f79adf3
commit 99afa3cd50
3 changed files with 21 additions and 28 deletions
+3 -1
View File
@@ -19,7 +19,7 @@ import {
CorpBaseResearchName,
CorpProductResearchName,
} from "@enums";
import { PositiveInteger } from "../../types";
import type { PositiveInteger } from "../../types";
/** Names of all corporation game states */
export const stateNames: CorpStateName[] = ["START", "PURCHASE", "PRODUCTION", "EXPORT", "SALE"],
@@ -30,6 +30,8 @@ export const stateNames: CorpStateName[] = ["START", "PURCHASE", "PRODUCTION", "
industryNames: CorpIndustryName[] = Object.values(IndustryType),
/** Names of all materials */
materialNames: APIMaterialName[] = Object.values(CorpMaterialName),
/** Names of all boost materials */
boostMaterials: CorpMaterialName[] = ["Hardware", "Robots", "AI Cores", "Real Estate"],
/** Names of all one-time corporation-wide unlocks */
unlockNames: APIUnlockName[] = Object.values(CorpUnlockName),
upgradeNames: APIUpgradeName[] = Object.values(CorpUpgradeName),