CORPORATION: add issueNewSharesCooldown and makesMaterial (#774)

This commit is contained in:
Caldwell
2023-09-12 07:23:36 +02:00
committed by GitHub
parent 25dae7ec8b
commit bba2ccd83a
12 changed files with 88 additions and 6 deletions

View File

@@ -7490,7 +7490,12 @@ interface CorpIndustryData {
aiCoreFactor?: number;
/** Advertising factor (affects sales) */
advertisingFactor?: number;
/** Array of Materials produced */
producedMaterials?: CorpMaterialName[];
/** Whether the industry of this division is capable of producing materials */
makesMaterials: boolean;
/** Whether the industry of this division is capable of developing and producing products */
makesProducts: boolean;
}
/**
@@ -7516,6 +7521,8 @@ interface CorporationInfo {
shareSaleCooldown: number;
/** Amount of acquirable shares. */
issuedShares: number;
/** Cooldown until new shares can be issued */
issueNewSharesCooldown: number;
/** Price of the shares */
sharePrice: number;
/** Fraction of profits issued as dividends */
@@ -7852,7 +7859,7 @@ interface Division {
cities: CityName[];
/** Names of Products developed by this division */
products: string[];
/** Whether the industry this division is in is capable of making products */
/** Whether the industry of this division is capable of developing and producing products */
makesProducts: boolean;
/** How many products this division can support */
maxProducts: number;