mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-19 06:03:50 +01:00
fixing other commits after rebase
This commit is contained in:
parent
648b7e84bf
commit
ea7c2c4981
@ -151,7 +151,7 @@ const positive = [
|
||||
"patient",
|
||||
"dynamic",
|
||||
"loyal",
|
||||
"straightforward"
|
||||
"straightforward",
|
||||
];
|
||||
|
||||
const negative = [
|
||||
|
@ -346,6 +346,11 @@ const grafting = {
|
||||
};
|
||||
|
||||
const corporation = {
|
||||
getMaterialNames: 0,
|
||||
getIndustryTypes: 0,
|
||||
getUnlockables: 0,
|
||||
getUpgradeNames: 0,
|
||||
getResearchNames: 0,
|
||||
createCorporation: 0,
|
||||
hasUnlockUpgrade: 0,
|
||||
getUnlockUpgradeCost: 0,
|
||||
|
@ -873,31 +873,21 @@ export function NetscriptCorporation(): InternalAPI<NSCorporation> {
|
||||
return {
|
||||
...warehouseAPI,
|
||||
...officeAPI,
|
||||
getMaterialNames:
|
||||
(ctx: NetscriptContext) =>
|
||||
(): string[] =>{
|
||||
getMaterialNames: () => (): string[] => {
|
||||
return CorporationConstants.AllMaterials;
|
||||
},
|
||||
getIndustryTypes:
|
||||
(ctx: NetscriptContext) =>
|
||||
(): string[] =>{
|
||||
},
|
||||
getIndustryTypes: () => (): string[] => {
|
||||
return CorporationConstants.AllIndustryTypes;
|
||||
},
|
||||
getUnlockables:
|
||||
(ctx: NetscriptContext) =>
|
||||
(): string[] =>{
|
||||
},
|
||||
getUnlockables: () => (): string[] => {
|
||||
return CorporationConstants.AllUnlocks;
|
||||
},
|
||||
getUpgradeNames:
|
||||
(ctx: NetscriptContext) =>
|
||||
(): string[] =>{
|
||||
},
|
||||
getUpgradeNames: () => (): string[] => {
|
||||
return CorporationConstants.AllUpgrades;
|
||||
},
|
||||
getResarchNames:
|
||||
(ctx: NetscriptContext) =>
|
||||
(): string[] =>{
|
||||
},
|
||||
getResearchNames: () => (): string[] => {
|
||||
return CorporationConstants.AllResearch;
|
||||
},
|
||||
},
|
||||
expandIndustry:
|
||||
(ctx: NetscriptContext) =>
|
||||
(_industryName: unknown, _divisionName: unknown): void => {
|
||||
|
10
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
10
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@ -6924,27 +6924,27 @@ export interface Corporation extends WarehouseAPI, OfficeAPI {
|
||||
* Get list of materials
|
||||
* @returns material names
|
||||
*/
|
||||
getMaterialNames():string[];
|
||||
getMaterialNames(): string[];
|
||||
/**
|
||||
* Get list of industry types
|
||||
* @returns industry names
|
||||
*/
|
||||
getIndustryTypes():string[];
|
||||
getIndustryTypes(): string[];
|
||||
/**
|
||||
* Get list of one-time unlockable upgrades
|
||||
* @returns unlockable upgrades names
|
||||
*/
|
||||
getUnlockables():string[];
|
||||
getUnlockables(): string[];
|
||||
/**
|
||||
* Get list of upgrade names
|
||||
* @returns upgrade names
|
||||
*/
|
||||
getUpgradeNames():string[];
|
||||
getUpgradeNames(): string[];
|
||||
/**
|
||||
* Get list of research names
|
||||
* @returns research names
|
||||
*/
|
||||
getResarchNames():string[];
|
||||
getResearchNames(): string[];
|
||||
/**
|
||||
* Accept investment based on you companies current valuation
|
||||
* @remarks
|
||||
|
Loading…
Reference in New Issue
Block a user