More corporation renaming

Just renaming files / functions. Industries are the static categories that divisions can operate within, divisions are the actual branches of the company. A lot of stuff was still written as if Industries are the actual branches of the company, which is even less accurate now that a corporation is allowed to have multiple divisions operating in the same industry.

Also removed the incorrect tooltip description of what tea does (it's now just a flat +2 increase)
This commit is contained in:
omuretsu
2023-05-17 17:28:24 -04:00
parent 27a6b619eb
commit c1f842e5c7
10 changed files with 34 additions and 36 deletions
+2 -2
View File
@@ -19,7 +19,7 @@ import {
} from "@nsdefs";
import {
NewIndustry,
NewDivision,
purchaseOffice,
IssueDividends,
IssueNewShares,
@@ -712,7 +712,7 @@ export function NetscriptCorporation(): InternalAPI<NSCorporation> {
}
const divisionName = helpers.string(ctx, "divisionName", _divisionName);
const corporation = getCorporation();
NewIndustry(corporation, industryName, divisionName);
NewDivision(corporation, industryName, divisionName);
},
expandCity: (ctx) => (_divisionName, _cityName) => {
checkAccess(ctx);