mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-21 16:52:55 +02:00
add corp get functions, fix coffee hover text
This commit is contained in:
@@ -871,6 +871,31 @@ export function NetscriptCorporation(player: IPlayer): InternalAPI<NSCorporation
|
||||
return {
|
||||
...warehouseAPI,
|
||||
...officeAPI,
|
||||
getMaterialNames:
|
||||
(ctx: NetscriptContext) =>
|
||||
(): string[] =>{
|
||||
return CorporationConstants.AllMaterials;
|
||||
},
|
||||
getIndustryTypes:
|
||||
(ctx: NetscriptContext) =>
|
||||
(): string[] =>{
|
||||
return CorporationConstants.AllIndustryTypes;
|
||||
},
|
||||
getUnlockables:
|
||||
(ctx: NetscriptContext) =>
|
||||
(): string[] =>{
|
||||
return CorporationConstants.AllUnlocks;
|
||||
},
|
||||
getUpgradeNames:
|
||||
(ctx: NetscriptContext) =>
|
||||
(): string[] =>{
|
||||
return CorporationConstants.AllUpgrades;
|
||||
},
|
||||
getResarchNames:
|
||||
(ctx: NetscriptContext) =>
|
||||
(): string[] =>{
|
||||
return CorporationConstants.AllResearch;
|
||||
},
|
||||
expandIndustry:
|
||||
(ctx: NetscriptContext) =>
|
||||
(_industryName: unknown, _divisionName: unknown): void => {
|
||||
|
||||
Reference in New Issue
Block a user