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",
|
"patient",
|
||||||
"dynamic",
|
"dynamic",
|
||||||
"loyal",
|
"loyal",
|
||||||
"straightforward"
|
"straightforward",
|
||||||
];
|
];
|
||||||
|
|
||||||
const negative = [
|
const negative = [
|
||||||
|
@ -346,6 +346,11 @@ const grafting = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const corporation = {
|
const corporation = {
|
||||||
|
getMaterialNames: 0,
|
||||||
|
getIndustryTypes: 0,
|
||||||
|
getUnlockables: 0,
|
||||||
|
getUpgradeNames: 0,
|
||||||
|
getResearchNames: 0,
|
||||||
createCorporation: 0,
|
createCorporation: 0,
|
||||||
hasUnlockUpgrade: 0,
|
hasUnlockUpgrade: 0,
|
||||||
getUnlockUpgradeCost: 0,
|
getUnlockUpgradeCost: 0,
|
||||||
|
@ -873,31 +873,21 @@ export function NetscriptCorporation(): InternalAPI<NSCorporation> {
|
|||||||
return {
|
return {
|
||||||
...warehouseAPI,
|
...warehouseAPI,
|
||||||
...officeAPI,
|
...officeAPI,
|
||||||
getMaterialNames:
|
getMaterialNames: () => (): string[] => {
|
||||||
(ctx: NetscriptContext) =>
|
|
||||||
(): string[] =>{
|
|
||||||
return CorporationConstants.AllMaterials;
|
return CorporationConstants.AllMaterials;
|
||||||
},
|
},
|
||||||
getIndustryTypes:
|
getIndustryTypes: () => (): string[] => {
|
||||||
(ctx: NetscriptContext) =>
|
|
||||||
(): string[] =>{
|
|
||||||
return CorporationConstants.AllIndustryTypes;
|
return CorporationConstants.AllIndustryTypes;
|
||||||
},
|
},
|
||||||
getUnlockables:
|
getUnlockables: () => (): string[] => {
|
||||||
(ctx: NetscriptContext) =>
|
|
||||||
(): string[] =>{
|
|
||||||
return CorporationConstants.AllUnlocks;
|
return CorporationConstants.AllUnlocks;
|
||||||
},
|
},
|
||||||
getUpgradeNames:
|
getUpgradeNames: () => (): string[] => {
|
||||||
(ctx: NetscriptContext) =>
|
|
||||||
(): string[] =>{
|
|
||||||
return CorporationConstants.AllUpgrades;
|
return CorporationConstants.AllUpgrades;
|
||||||
},
|
},
|
||||||
getResarchNames:
|
getResearchNames: () => (): string[] => {
|
||||||
(ctx: NetscriptContext) =>
|
|
||||||
(): string[] =>{
|
|
||||||
return CorporationConstants.AllResearch;
|
return CorporationConstants.AllResearch;
|
||||||
},
|
},
|
||||||
expandIndustry:
|
expandIndustry:
|
||||||
(ctx: NetscriptContext) =>
|
(ctx: NetscriptContext) =>
|
||||||
(_industryName: unknown, _divisionName: unknown): void => {
|
(_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
|
* Get list of materials
|
||||||
* @returns material names
|
* @returns material names
|
||||||
*/
|
*/
|
||||||
getMaterialNames():string[];
|
getMaterialNames(): string[];
|
||||||
/**
|
/**
|
||||||
* Get list of industry types
|
* Get list of industry types
|
||||||
* @returns industry names
|
* @returns industry names
|
||||||
*/
|
*/
|
||||||
getIndustryTypes():string[];
|
getIndustryTypes(): string[];
|
||||||
/**
|
/**
|
||||||
* Get list of one-time unlockable upgrades
|
* Get list of one-time unlockable upgrades
|
||||||
* @returns unlockable upgrades names
|
* @returns unlockable upgrades names
|
||||||
*/
|
*/
|
||||||
getUnlockables():string[];
|
getUnlockables(): string[];
|
||||||
/**
|
/**
|
||||||
* Get list of upgrade names
|
* Get list of upgrade names
|
||||||
* @returns upgrade names
|
* @returns upgrade names
|
||||||
*/
|
*/
|
||||||
getUpgradeNames():string[];
|
getUpgradeNames(): string[];
|
||||||
/**
|
/**
|
||||||
* Get list of research names
|
* Get list of research names
|
||||||
* @returns research names
|
* @returns research names
|
||||||
*/
|
*/
|
||||||
getResarchNames():string[];
|
getResearchNames(): string[];
|
||||||
/**
|
/**
|
||||||
* Accept investment based on you companies current valuation
|
* Accept investment based on you companies current valuation
|
||||||
* @remarks
|
* @remarks
|
||||||
|
Loading…
Reference in New Issue
Block a user