mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-21 00:32:51 +02:00
Commit1
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
import { Program } from "./Program";
|
||||
import { programsMetadata } from "./data/ProgramsMetadata";
|
||||
import { IMap } from "../types";
|
||||
|
||||
export const Programs: IMap<Program> = {};
|
||||
export const Programs: Record<string, Program> = {};
|
||||
export function initPrograms() {
|
||||
for (const params of programsMetadata) {
|
||||
Programs[params.key] = new Program(params.name, params.create, params.run);
|
||||
|
||||
Reference in New Issue
Block a user