Skip to content

Commit 847bbb4

Browse files
KOSMOGORZamiell
andauthored
feat: new value for PickupPrice enum
* update: changed signature of functions in CustomPickups for more functionality fix: getAdjustedPrice() now uses Math.ceil() instead of Math.floor() fix: changed version using "npm audit fix" * fix: linting revert: package-lock.json * fix: comment linting * revert: added this to function signatures * update: simplified CustomPickups Co-authored-by: James <5511220+Zamiell@users.noreply.github.com> * add: new DEVIL_SACRIFICE_SPIKES value to PickupPrice * Update PickupPrice.ts * fix spelling * fix comment * better spelling --------- Co-authored-by: James <5511220+Zamiell@users.noreply.github.com>
1 parent 1dc5e01 commit 847bbb4

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

packages/isaac-typescript-definitions/src/enums/PickupPrice.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ export enum PickupPrice {
2020
TWO_SOUL_HEARTS = -8,
2121
ONE_HEART_AND_ONE_SOUL_HEART = -9,
2222

23+
/**
24+
* The official in-game enum does not have this value, but it is the correct value used by game.
25+
* It corresponds to the Devil Room mechanic with the `devilsacrifice` collectible tag.
26+
*/
27+
DEVIL_SACRIFICE_SPIKES = -10,
28+
2329
/** The Store Credit trinket causes items in the shop to cost 0 cents. */
2430
FREE = -1000,
2531
}

packages/isaacscript-spell/dictionaries/isaac/files.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ craftquality # items_metadata.xml
2626
deathanm # items.xml
2727
devilprice # items.xml
2828
devilroomdoor # door_07_devilroomdoor.png
29+
devilsacrifice # items_metadata.xml
2930
endstage # challenges.xml
3031
fadecolor # cutscenes.xml
3132
firedelay # items.xml

0 commit comments

Comments
 (0)