Skip to content

Commit

Permalink
Tweaks (#61)
Browse files Browse the repository at this point in the history
* papier-mâché

* no butts (need to check for upgrade)

* Butt awareness

* Update monsterParts.ts
  • Loading branch information
Rinn authored Apr 6, 2024
1 parent 6b7b2bc commit da172f3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion packages/excavator-script/src/projects/monsterParts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import {
$monsters,
$skill,
FloristFriar,
get,
have,
} from "libram";

Expand Down Expand Up @@ -259,9 +260,13 @@ function spadeMonsterParts(
// eslint-disable-next-line libram/verify-constants
haveEquipped($item`Everfull Dart Holster`)
) {
const buttAwareness = get("everfullDartPerks").includes("Butt awareness");
data.push(
...Object.keys(dartPartsToSkills())
.filter((part) => !monsterParts.includes(part))
.filter(
(part) =>
!monsterParts.includes(part) && (!buttAwareness || part !== "butt"),
)
.map((part) => ({
monster: monster,
part,
Expand Down
2 changes: 1 addition & 1 deletion packages/excavator-script/src/utils/game.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
import { $effects, $items, $locations, have } from "libram";

const ALTERING_EFFECTS = $effects`Can Has Cyborger, Dis Abled, Haiku State of Mind, Just the Best Anapests, O Hai!, Robocamo, Temporary Blindness`;
const ALTERING_EQUIPMENT = $items`makeshift turban, staph of homophones, sword behind inappropriate prepositions`;
const ALTERING_EQUIPMENT = $items`makeshift turban, papier-mâchine gun, papier-mâchéte, staph of homophones, sword behind inappropriate prepositions`;
const ALTERING_LOCATIONS = $locations`The Haiku Dungeon`;

export function isAdventureTextAltered(): boolean {
Expand Down

0 comments on commit da172f3

Please sign in to comment.