This commit is contained in:
nickofolas 2022-05-04 15:04:01 -05:00
parent 7d75093989
commit 30d1fe29d7
2 changed files with 10 additions and 2 deletions

@ -62,7 +62,15 @@ export class Crime {
charisma_exp = 0;
intelligence_exp = 0;
constructor(name = "", type: CrimeType, time = 0, money = 0, difficulty = 0, karma = 0, params: IConstructorParams = {}) {
constructor(
name = "",
type: CrimeType,
time = 0,
money = 0,
difficulty = 0,
karma = 0,
params: IConstructorParams = {},
) {
this.name = name;
this.type = type;
this.time = time;

@ -3,7 +3,7 @@ import { Crime } from "./Crime";
import { CONSTANTS } from "../Constants";
import { IMap } from "../types";
import {CrimeType} from "../utils/WorkType"
import { CrimeType } from "../utils/WorkType";
export const Crimes: IMap<Crime> = {
Shoplift: new Crime("Shoplift", CrimeType.Shoplift, 2e3, 15e3, 1 / 20, 0.1, {