Merge pull request #347 from jeek/corp-states

CORP: Move Sale after Export in Corp States
This commit is contained in:
Mughur 2023-01-31 15:21:27 +02:00 committed by GitHub
commit 35d590b25d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 =