Skip to content

Commit

Permalink
resequence getDifficulty (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
horrible-little-slime authored Apr 10, 2024
1 parent d08033c commit 4017468
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/excavator-projects/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,13 @@ export function getGamedaySeed() {
}

export function getDifficulty() {
if (myPath() !== Path.none) return "Normal";
if (!canInteract()) return "Normal (Ronin)";
// If we're in hardcore, we're in hardcore
if (inHardcore()) return "Hardcore";
// If we aren't in hardcore and we can't access the mall, we're in ronin
if (!canInteract()) return "Normal (Ronin)";
// If we're out of ronin and not in a path, we're in post-ronin softcore
if (myPath() !== Path.none) return "Normal";
// If we're out of ronin and not in a path, it's safe to assume we're casual
return "Casual";
}

Expand Down

0 comments on commit 4017468

Please sign in to comment.