CORP: Move Sale after Export in Corp States

This commit is contained in:
T.J. Eckman 2023-01-30 19:15:56 -05:00
parent d5707931c6
commit a141431e08
2 changed files with 3 additions and 3 deletions

@ -15,7 +15,7 @@ import { IndustryType, EmployeePositions } from "./Enums";
// This structure + import * as corpConstants allows easier type definitions for individual properties.
/** Names of all corporation game states */
export const stateNames: CorpStateName[] = ["START", "PURCHASE", "PRODUCTION", "SALE", "EXPORT"],
export const stateNames: CorpStateName[] = ["START", "PURCHASE", "PRODUCTION", "EXPORT", "SALE"],
// TODO: remove IndustryType and EmployeePositions enums and just use the typed strings.
/** Names of all corporation employee positions */
employeePositions: CorpEmployeePosition[] = Object.values(EmployeePositions),

@ -7604,7 +7604,7 @@ interface CorporationInfo {
dividendTax: number;
/** Your earnings as a shareholder per second this cycle */
dividendEarnings: number;
/** State of the corporation. Possible states are START, PURCHASE, PRODUCTION, SALE, EXPORT. */
/** State of the corporation. Possible states are START, PURCHASE, PRODUCTION, EXPORT, SALE. */
state: string;
/** Array of all division names */
divisions: string[];
@ -7662,7 +7662,7 @@ interface CorpConstants {
minEmployeeDecay: number;
}
/** @public */
type CorpStateName = "START" | "PURCHASE" | "PRODUCTION" | "SALE" | "EXPORT";
type CorpStateName = "START" | "PURCHASE" | "PRODUCTION" | "EXPORT" | "SALE";
/** @public */
type CorpMaterialName =