bitburner-src/src/Gang/GangMemberUpgrades.ts

13 lines
365 B
TypeScript
Raw Normal View History

2021-06-14 21:42:38 +02:00
import { gangMemberUpgradesMetadata } from "./data/upgrades";
import { GangMemberUpgrade } from "./GangMemberUpgrade";
export const GangMemberUpgrades: {
2021-09-05 01:09:30 +02:00
[key: string]: GangMemberUpgrade;
2021-06-14 21:42:38 +02:00
} = {};
2021-09-05 01:09:30 +02:00
(function () {
gangMemberUpgradesMetadata.forEach((e) => {
2021-09-09 05:47:34 +02:00
GangMemberUpgrades[e.name] = new GangMemberUpgrade(e.name, e.cost, e.upgType, e.mults);
2021-09-05 01:09:30 +02:00
});
2021-06-14 21:42:38 +02:00
})();