mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-24 08:33:50 +01:00
Merge pull request #2846 from zeddrak/patch-5
Make crimes detection a little more friendly
This commit is contained in:
commit
77b9787fba
@ -44,7 +44,7 @@ export function findCrime(roughName: string): Crime | null {
|
|||||||
return Crimes.DealDrugs;
|
return Crimes.DealDrugs;
|
||||||
} else if (roughName.includes("bond") && roughName.includes("forge")) {
|
} else if (roughName.includes("bond") && roughName.includes("forge")) {
|
||||||
return Crimes.BondForgery;
|
return Crimes.BondForgery;
|
||||||
} else if (roughName.includes("traffick") && roughName.includes("arms")) {
|
} else if ((roughName.includes("traffic") || (roughName.includes("illegal")) && roughName.includes("arms")) {
|
||||||
return Crimes.TraffickArms;
|
return Crimes.TraffickArms;
|
||||||
} else if (roughName.includes("homicide")) {
|
} else if (roughName.includes("homicide")) {
|
||||||
return Crimes.Homicide;
|
return Crimes.Homicide;
|
||||||
@ -52,7 +52,7 @@ export function findCrime(roughName: string): Crime | null {
|
|||||||
return Crimes.GrandTheftAuto;
|
return Crimes.GrandTheftAuto;
|
||||||
} else if (roughName.includes("kidnap")) {
|
} else if (roughName.includes("kidnap")) {
|
||||||
return Crimes.Kidnap;
|
return Crimes.Kidnap;
|
||||||
} else if (roughName.includes("assassinate") || roughName.includes("assassination")) {
|
} else if (roughName.includes("assassin")) {
|
||||||
return Crimes.Assassination;
|
return Crimes.Assassination;
|
||||||
} else if (roughName.includes("heist")) {
|
} else if (roughName.includes("heist")) {
|
||||||
return Crimes.Heist;
|
return Crimes.Heist;
|
||||||
|
Loading…
Reference in New Issue
Block a user