diff --git a/packages/isaac-typescript-definitions/src/enums/BackdropType.ts b/packages/isaac-typescript-definitions/src/enums/BackdropType.ts
index 6f165a532..4bc2b48c8 100644
--- a/packages/isaac-typescript-definitions/src/enums/BackdropType.ts
+++ b/packages/isaac-typescript-definitions/src/enums/BackdropType.ts
@@ -67,4 +67,10 @@ export enum BackdropType {
MINES_SHAFT = 58,
ASHPIT_SHAFT = 59,
DARK_CLOSET = 60,
+
+ /** Added in Repentance+. */
+ DEATHMATCH = 61,
+
+ /** Added in Repentance+. */
+ LIL_PORTAL = 62,
}
diff --git a/packages/isaac-typescript-definitions/src/enums/ButtonAction.ts b/packages/isaac-typescript-definitions/src/enums/ButtonAction.ts
index 6b8185ea9..1e03210c5 100644
--- a/packages/isaac-typescript-definitions/src/enums/ButtonAction.ts
+++ b/packages/isaac-typescript-definitions/src/enums/ButtonAction.ts
@@ -52,14 +52,50 @@ export enum ButtonAction {
/** This only fires on `InputHook.IS_ACTION_TRIGGERED` (1). */
MENU_BACK = 15,
- /** This only fires on `InputHook.IS_ACTION_PRESSED` (0). */
- RESTART = 16,
+ /**
+ * This only fires on `InputHook.IS_ACTION_PRESSED` (0).
+ *
+ * This enum value changed in Repentance+ from 16 to 18.
+ */
+ RESTART_REPENTANCE = 16,
- /** This only fires on `InputHook.IS_ACTION_TRIGGERED` (1). */
- FULLSCREEN = 17,
+ /**
+ * This only fires on `InputHook.IS_ACTION_TRIGGERED` (1).
+ *
+ * This enum value changed in Repentance+ from 17 to 16.
+ */
+ // eslint-disable-next-line @typescript-eslint/no-duplicate-enum-values
+ FULLSCREEN_REPENTANCE_PLUS = 16,
- /** This only fires on `InputHook.IS_ACTION_TRIGGERED` (1). */
- MUTE = 18,
+ /**
+ * This only fires on `InputHook.IS_ACTION_TRIGGERED` (1).
+ *
+ * This enum value changed in Repentance+ from 17 to 16.
+ */
+ FULLSCREEN_REPENTANCE = 17,
+
+ /**
+ * This only fires on `InputHook.IS_ACTION_TRIGGERED` (1).
+ *
+ * This enum value changed in Repentance+ from 18 to 17.
+ */
+ // eslint-disable-next-line @typescript-eslint/no-duplicate-enum-values
+ MUTE_REPENTANCE_PLUS = 17,
+
+ /**
+ * This only fires on `InputHook.IS_ACTION_TRIGGERED` (1).
+ *
+ * This enum value changed in Repentance+ from 18 to 17.
+ */
+ MUTE_REPENTANCE = 18,
+
+ /**
+ * This only fires on `InputHook.IS_ACTION_PRESSED` (0).
+ *
+ * This enum value changed in Repentance+ from 16 to 18.
+ */
+ // eslint-disable-next-line @typescript-eslint/no-duplicate-enum-values
+ RESTART_REPENTANCE_PLUS = 18,
/** Does not seem to trigger any input hooks while on keyboard. */
JOIN_MULTIPLAYER = 19,
@@ -76,15 +112,63 @@ export enum ButtonAction {
/** Does not seem to trigger any input hooks while on keyboard. */
MENU_DOWN = 23,
- /** Does not seem to trigger any input hooks while on keyboard. */
- MENU_LT = 24,
+ /** This enum value changed in Repentance+ from 24 to 26. */
+ MENU_LEFT_TRIGGER_REPENTANCE = 24,
- /** Does not seem to trigger any input hooks while on keyboard. */
- MENU_RT = 25,
+ /** Added in Repentance+. (It took the old value for "MENU_LEFT_TRIGGER".) */
+ // eslint-disable-next-line @typescript-eslint/no-duplicate-enum-values
+ MENU_LEFT_SHOULDER = 24,
- /** Does not seem to trigger any input hooks while on keyboard. */
- MENU_TAB = 26,
+ /** This enum value changed in Repentance+ from 25 to 27. */
+ MENU_RIGHT_TRIGGER_REPENTANCE = 25,
- /** This only fires on `InputHook.IS_ACTION_TRIGGERED` (1). */
- CONSOLE = 28,
+ /** Added in Repentance+. (It took the old value for "MENU_RIGHT_TRIGGER".) */
+ // eslint-disable-next-line @typescript-eslint/no-duplicate-enum-values
+ MENU_RIGHT_SHOULDER = 25,
+
+ /** This enum value changed in Repentance+ from 26 to 28. */
+ MENU_TAB_REPENTANCE = 26,
+
+ /**
+ * Does not seem to trigger any input hooks while on keyboard.
+ *
+ * This enum value changed in Repentance+ from 24 to 26.
+ */
+ // eslint-disable-next-line @typescript-eslint/no-duplicate-enum-values
+ MENU_LEFT_TRIGGER_REPENTANCE_PLUS = 26,
+
+ /**
+ * Does not seem to trigger any input hooks while on keyboard.
+ *
+ * This enum value changed in Repentance+ from 25 to 27.
+ */
+ MENU_RIGHT_TRIGGER_REPENTANCE_PLUS = 27,
+
+ /**
+ * This only fires on `InputHook.IS_ACTION_TRIGGERED` (1).
+ *
+ * This enum value changed in Repentance+ from 28 to 32.
+ */
+ CONSOLE_REPENTANCE = 28,
+
+ /**
+ * Does not seem to trigger any input hooks while on keyboard.
+ *
+ * This enum value changed in Repentance+ from 26 to 28.
+ */
+ // eslint-disable-next-line @typescript-eslint/no-duplicate-enum-values
+ MENU_TAB_REPENTANCE_PLUS = 28,
+
+ /** Added in Repentance+. */
+ MENU_EX = 29,
+
+ /** Added in Repentance+. */
+ EMOTES = 30,
+
+ /**
+ * This only fires on `InputHook.IS_ACTION_TRIGGERED` (1).
+ *
+ * This enum value changed in Repentance+ from 28 to 32.
+ */
+ CONSOLE_REPENTANCE_PLUS = 32,
}
diff --git a/packages/isaac-typescript-definitions/src/enums/DrawStringAlignment.ts b/packages/isaac-typescript-definitions/src/enums/DrawStringAlignment.ts
new file mode 100644
index 000000000..64e4eaa0d
--- /dev/null
+++ b/packages/isaac-typescript-definitions/src/enums/DrawStringAlignment.ts
@@ -0,0 +1,12 @@
+/** Added in Repentance+. */
+export enum DrawStringAlignment {
+ TOP_LEFT = 0,
+ TOP_CENTER = 1,
+ TOP_RIGHT = 2,
+ MIDDLE_LEFT = 3,
+ MIDDLE_CENTER = 4,
+ MIDDLE_RIGHT = 5,
+ BOTTOM_LEFT = 6,
+ BOTTOM_CENTER = 7,
+ BOTTOM_RIGHT = 8,
+}
diff --git a/packages/isaac-typescript-definitions/src/enums/GameStateFlag.ts b/packages/isaac-typescript-definitions/src/enums/GameStateFlag.ts
index 376dd1b38..21722277b 100644
--- a/packages/isaac-typescript-definitions/src/enums/GameStateFlag.ts
+++ b/packages/isaac-typescript-definitions/src/enums/GameStateFlag.ts
@@ -97,4 +97,16 @@ export enum GameStateFlag {
/** Set when the player takes Dad's Note. The "backwards path" refers to the Ascent. */
BACKWARDS_PATH = 48,
+
+ /** Added in Repentance+. */
+ MEGA_SATAN_DOOR_OPENED = 49,
+
+ /** Added in Repentance+. */
+ URIEL_KILLED = 50,
+
+ /** Added in Repentance+. */
+ GABRIEL_KILLED = 51,
+
+ /** Added in Repentance+. */
+ MOTHER_HEART_DOOR_OPENED = 52,
}
diff --git a/packages/isaac-typescript-definitions/src/enums/GridRoom.ts b/packages/isaac-typescript-definitions/src/enums/GridRoom.ts
index 1a97e8304..363af2420 100644
--- a/packages/isaac-typescript-definitions/src/enums/GridRoom.ts
+++ b/packages/isaac-typescript-definitions/src/enums/GridRoom.ts
@@ -61,4 +61,10 @@ export enum GridRoom {
/** The shop that you go to when you climb the ladder from The Stairway. */
ANGEL_SHOP = -18,
+
+ /** Added in Repentance+. */
+ DEATHMATCH = -19,
+
+ /** Added in Repentance+. */
+ LIL_PORTAL = -20,
}
diff --git a/packages/isaac-typescript-definitions/src/enums/JacobEsauControls.ts b/packages/isaac-typescript-definitions/src/enums/JacobEsauControls.ts
new file mode 100644
index 000000000..586ae7aed
--- /dev/null
+++ b/packages/isaac-typescript-definitions/src/enums/JacobEsauControls.ts
@@ -0,0 +1,5 @@
+/** Added in Repentance+. */
+export enum JacobEsauControls {
+ CLASSIC = 0,
+ BETTER = 1,
+}
diff --git a/packages/isaac-typescript-definitions/src/enums/Music.ts b/packages/isaac-typescript-definitions/src/enums/Music.ts
index 1ada559bc..8ca5598a8 100644
--- a/packages/isaac-typescript-definitions/src/enums/Music.ts
+++ b/packages/isaac-typescript-definitions/src/enums/Music.ts
@@ -97,4 +97,7 @@ export enum Music {
MINESHAFT_AMBIENT = 116,
MINESHAFT_ESCAPE = 117,
REVERSE_GENESIS = 118,
+
+ /** Added in Repentance+. */
+ MUSIC_DEATHMATCH = 119,
}
diff --git a/packages/isaac-typescript-definitions/src/enums/RoomType.ts b/packages/isaac-typescript-definitions/src/enums/RoomType.ts
index ef481b2f5..f74a7d40e 100644
--- a/packages/isaac-typescript-definitions/src/enums/RoomType.ts
+++ b/packages/isaac-typescript-definitions/src/enums/RoomType.ts
@@ -50,4 +50,7 @@ export enum RoomType {
BLUE = 28,
ULTRA_SECRET = 29,
+
+ /** Added in Repentance+. */
+ DEATHMATCH = 30,
}
diff --git a/packages/isaac-typescript-definitions/src/enums/SoundEffect.ts b/packages/isaac-typescript-definitions/src/enums/SoundEffect.ts
index a8c0afd4d..78dfee289 100644
--- a/packages/isaac-typescript-definitions/src/enums/SoundEffect.ts
+++ b/packages/isaac-typescript-definitions/src/enums/SoundEffect.ts
@@ -827,4 +827,778 @@ export enum SoundEffect {
G_FUEL_GUNSHOT_MINI = 830,
G_FUEL_BULLET_RICOCHET = 831,
G_FUEL_ROCKET_LAUNCHER = 832,
+
+ /** Added in Repentance+. */
+ DEATHMATCH_INTRO = 833,
+
+ /** Added in Repentance+. */
+ ABYSS = 834,
+
+ /** Added in Repentance+. */
+ BIG_CHUBBY_ATTACK = 835,
+
+ /** Added in Repentance+. */
+ BOOMERANG_THROW = 836,
+
+ /** Added in Repentance+. */
+ BOOMERANG_LOOP = 837,
+
+ /** Added in Repentance+. */
+ BOOMERANG_CATCH = 838,
+
+ /** Added in Repentance+. */
+ BOOMERANG_HIT = 839,
+
+ /** Added in Repentance+. */
+ BOX_OF_FRIENDS = 840,
+
+ /** Added in Repentance+. */
+ BROWN_NUGGET = 841,
+
+ /** Added in Repentance+. */
+ BUMBO_1 = 842,
+
+ /** Added in Repentance+. */
+ BUMBO_2 = 843,
+
+ /** Added in Repentance+. */
+ BUMBO_3 = 844,
+
+ /** Added in Repentance+. */
+ BUMBO_4 = 845,
+
+ /** Added in Repentance+. */
+ PORTAL_ENTITY_LOOP = 846,
+
+ /** Added in Repentance+. */
+ PORTAL_ENTITY_ENTER = 847,
+
+ /** Added in Repentance+. */
+ CONVERTER = 848,
+
+ /** Added in Repentance+. */
+ LITTLE_CHUBBY_ATTACK = 849,
+
+ /** Added in Repentance+. */
+ CRACKED_ORB = 850,
+
+ /** Added in Repentance+. */
+ CROOKED_PENNY = 851,
+
+ /** Added in Repentance+. */
+ CUBE_BABY_KICK = 852,
+
+ /** Added in Repentance+. */
+ DARK_BUM_PAYOUT = 853,
+
+ /** Added in Repentance+. */
+ DATAMINER = 854,
+
+ /** Added in Repentance+. */
+ DR_REMOTE_WARNING = 855,
+
+ /** Added in Repentance+. */
+ FLIP_POOF = 856,
+
+ /** Added in Repentance+. */
+ ERASER_HIT = 857,
+
+ /** Added in Repentance+. */
+ GNAWED_LEAF = 858,
+
+ /** Added in Repentance+. */
+ LIL_HAUNT_CHASE = 859,
+
+ /** Added in Repentance+. */
+ LINGER_BEAN = 860,
+
+ /** Added in Repentance+. */
+ GLOWING_HOURGLASS_ACTIVATE = 861,
+
+ /** Added in Repentance+. */
+ GLOWING_HOURGLASS_FIZZLE = 862,
+
+ /** Added in Repentance+. */
+ INFAMY_DEFLECT = 863,
+
+ /** Added in Repentance+. */
+ IBS_GURGLE = 864,
+
+ /** Added in Repentance+. */
+ POOP_THROW = 865,
+
+ /** Added in Repentance+. */
+ GLITTER_BOOM = 866,
+
+ /** Added in Repentance+. */
+ GLITTER_FUSE = 867,
+
+ /** Added in Repentance+. */
+ LITTLE_HORN_SHOOT = 868,
+
+ /** Added in Repentance+. */
+ MEGA_BEAN_BLAST = 869,
+
+ /** Added in Repentance+. */
+ MOM_BOTTLE = 870,
+
+ /** Added in Repentance+. */
+ SUMMON_PENTAGRAM = 871,
+
+ /** Added in Repentance+. */
+ SUMMON_WAVE = 872,
+
+ /** Added in Repentance+. */
+ BIGHORN_APPEAR = 873,
+
+ /** Added in Repentance+. */
+ BIGHORN_CLOSE_BIG = 874,
+
+ /** Added in Repentance+. */
+ BIGHORN_CRACK_BIG = 875,
+
+ /** Added in Repentance+. */
+ BIGHORN_OPEN_BIG = 876,
+
+ /** Added in Repentance+. */
+ BIGHORN_SHAKE_BIG = 877,
+
+ /** Added in Repentance+. */
+ BIGHORN_DEATH = 878,
+
+ /** Added in Repentance+. */
+ BIGHORN_DIZZY_SHAKE = 879,
+
+ /** Added in Repentance+. */
+ BIGHORN_HAND_APPEAR = 880,
+
+ /** Added in Repentance+. */
+ BIGHORN_HAND_HIDE = 881,
+
+ /** Added in Repentance+. */
+ BIGHORN_HIDE = 882,
+
+ /** Added in Repentance+. */
+ BIGHORN_HURT = 883,
+
+ /** Added in Repentance+. */
+ BIGHORN_PRE_SPIT = 884,
+
+ /** Added in Repentance+. */
+ BIGHORN_CLOSE_SMALL = 885,
+
+ /** Added in Repentance+. */
+ BIGHORN_CRACK_SMALL = 886,
+
+ /** Added in Repentance+. */
+ BIGHORN_OPEN_SMALL = 887,
+
+ /** Added in Repentance+. */
+ BIGHORN_SHAKE_SMALL = 888,
+
+ /** Added in Repentance+. */
+ BIGHORN_SPIT = 889,
+
+ /** Added in Repentance+. */
+ MOMS_BOX = 890,
+
+ /** Added in Repentance+. */
+ MONSTRO_LUNG_BARF = 891,
+
+ /** Added in Repentance+. */
+ MOVING_BOX_PACK = 892,
+
+ /** Added in Repentance+. */
+ MOVING_BOX_UNPACK = 893,
+
+ /** Added in Repentance+. */
+ PANDORAS_BOX = 894,
+
+ /** Added in Repentance+. */
+ PAUSE_FREEZE = 895,
+
+ /** Added in Repentance+. */
+ MONSTRO_LUNG_CHARGE = 896,
+
+ /** Added in Repentance+. */
+ PLAN_C = 897,
+
+ /** Added in Repentance+. */
+ PORTABLE_SLOT_USE = 898,
+
+ /** Added in Repentance+. */
+ PORTABLE_SLOT_WIN = 899,
+
+ /** Added in Repentance+. */
+ SAFETY_SCISSORS = 900,
+
+ /** Added in Repentance+. */
+ BUTTER_DROP = 901,
+
+ /** Added in Repentance+. */
+ BUTTER_LAND = 902,
+
+ /** Added in Repentance+. */
+ PRIDE_ZAP = 903,
+
+ /** Added in Repentance+. */
+ R_KEY = 904,
+
+ /** Added in Repentance+. */
+ TEAR_BOUNCE = 905,
+
+ /** Added in Repentance+. */
+ SHARP_PLUG = 906,
+
+ /** Added in Repentance+. */
+ RIB_DEFLECT = 907,
+
+ /** Added in Repentance+. */
+ SMELTER = 908,
+
+ // cspell:disable-next-line-next-line
+ /** Added in Repentance+. Note that the vanilla enum is incorrectly spelled as "TELEKENESIS". */
+ TELEKINESIS = 909,
+
+ /** Added in Repentance+. */
+ // eslint-disable-next-line isaacscript/enum-member-number-separation
+ D6_ROLL = 910,
+
+ /** Added in Repentance+. */
+ TICK_BURN = 911,
+
+ /** Added in Repentance+. */
+ TELEPORT_UNDEFINED = 912,
+
+ /** Added in Repentance+. */
+ VOID_CONSUME = 913,
+
+ /** Added in Repentance+. */
+ YO_LISTEN = 914,
+
+ /** Added in Repentance+. */
+ SPIN_TO_WIN = 915,
+
+ /** Added in Repentance+. */
+ SHOVEL_DIG_2 = 916,
+
+ /** Added in Repentance+. */
+ SHOVEL_HOLE_OPEN = 917,
+
+ /** Added in Repentance+. */
+ CAGE_DEATH = 918,
+
+ /** Added in Repentance+. */
+ CAGE_JUMP = 919,
+
+ /** Added in Repentance+. */
+ CAGE_RIBS = 920,
+
+ /** Added in Repentance+. */
+ CAGE_ROLL_START = 921,
+
+ /** Added in Repentance+. */
+ CAGE_PREP_SHOOT = 922,
+
+ /** Added in Repentance+. */
+ CAGE_ROLL_STOP = 923,
+
+ /** Added in Repentance+. */
+ CAGE_ROLL_BOUNCE = 924,
+
+ /** Added in Repentance+. */
+ DEATH_HOURGLASS = 925,
+
+ /** Added in Repentance+. */
+ DEATH_SICKLE = 926,
+
+ /** Added in Repentance+. */
+ DEATH_LEAN = 927,
+
+ /** Added in Repentance+. */
+ DEATH_VOX = 928,
+
+ /** Added in Repentance+. */
+ DEATH_SPAWN_PREP = 929,
+
+ /** Added in Repentance+. */
+ DEATH_HORSE_ATTACK = 930,
+
+ /** Added in Repentance+. */
+ DEATH_HORSE_WOOSH = 931,
+
+ /** Added in Repentance+. */
+ PIN_DIVE = 932,
+
+ /** Added in Repentance+. */
+ PIN_POPUP = 933,
+
+ /** Added in Repentance+. */
+ PIN_PUDDLE = 934,
+
+ /** Added in Repentance+. */
+ PIN_SPIT = 935,
+
+ /** Added in Repentance+. */
+ GISH_JUMP = 936,
+
+ /** Added in Repentance+. */
+ GISH_JUMP_HIGH = 937,
+
+ /** Added in Repentance+. */
+ GISH_SPIT = 938,
+
+ /** Added in Repentance+. */
+ GURDY_FACE_ATTACK_APPEAR = 939,
+
+ /** Added in Repentance+. */
+ GURDY_FACE_ATTACK_HIDE = 940,
+
+ /** Added in Repentance+. */
+ GURDY_FACE_SMILE_APPEAR = 941,
+
+ /** Added in Repentance+. */
+ GURDY_FACE_SMILE_HIDE = 942,
+
+ /** Added in Repentance+. */
+ GURGLING_ATTACK = 943,
+
+ /** Added in Repentance+. */
+ LITTLE_HORN_DEATH = 944,
+
+ /** Added in Repentance+. */
+ LITTLE_HORN_BOMB_DROP = 945,
+
+ /** Added in Repentance+. */
+ LITTLE_HORN_DIVE = 946,
+
+ /** Added in Repentance+. */
+ LITTLE_HORN_HOLE_OPEN = 947,
+
+ /** Added in Repentance+. */
+ LITTLE_HORN_HOLE_EXIT = 948,
+
+ /** Added in Repentance+. */
+ LOKI_GIGGLE = 949,
+
+ /** Added in Repentance+. */
+ LOKI_JUMP_OUT = 950,
+
+ /** Added in Repentance+. */
+ LOKI_JUMP_IN = 951,
+
+ /** Added in Repentance+. */
+ LOKI_SHOOT = 952,
+
+ /** Added in Repentance+. */
+ LOKI_SHOOT_8 = 953,
+
+ /** Added in Repentance+. */
+ MASK_INFAMY_MAD = 954,
+
+ /** Added in Repentance+. */
+ MASK_INFAMY_DASH = 955,
+
+ /** Added in Repentance+. */
+ MEGA_FATTY_GULP = 956,
+
+ /** Added in Repentance+. */
+ MEGA_FATTY_SUCKING = 957,
+
+ /** Added in Repentance+. */
+ MEGA_FATTY_VOMIT = 958,
+
+ /** Added in Repentance+. */
+ STAIN_ATTACK_VOX = 959,
+
+ /** Added in Repentance+. */
+ SISTERS_VIS_SCARE = 960,
+
+ /** Added in Repentance+. */
+ STEVEN_DEATH_BIG = 961,
+
+ /** Added in Repentance+. */
+ STEVEN_DEATH_SMALL = 963,
+
+ /** Added in Repentance+. */
+ FALLEN_FLAP_CHASE = 964,
+
+ /** Added in Repentance+. */
+ FALLEN_GROWL = 965,
+
+ /** Added in Repentance+. */
+ FALLEN_FLAP = 966,
+
+ /** Added in Repentance+. */
+ FALLEN_OPEN_WINGS = 967,
+
+ /** Added in Repentance+. */
+ TERATOMA_BOUNCE_BIG = 968,
+
+ /** Added in Repentance+. */
+ TERATOMA_BOUNCE_MEDIUM = 969,
+
+ /** Added in Repentance+. */
+ TERATOMA_BOUNCE_SMALL = 970,
+
+ /** Added in Repentance+. */
+ FORSAKEN_LASER = 971,
+
+ /** Added in Repentance+. */
+ FORSAKEN_ARMS_UP = 972,
+
+ /** Added in Repentance+. */
+ FORSAKEN_FADE = 973,
+
+ /** Added in Repentance+. */
+ FISTULA_BOUNCE_LARGE = 974,
+
+ /** Added in Repentance+. */
+ FISTULA_BOUNCE_MEDIUM = 975,
+
+ /** Added in Repentance+. */
+ FISTULA_BOUNCE_SMALL = 976,
+
+ /** Added in Repentance+. */
+ FISTULA_BURST_LARGE = 977,
+
+ /** Added in Repentance+. */
+ FISTULA_GROWL_LARGE = 978,
+
+ /** Added in Repentance+. */
+ FISTULA_GROWL_MEDIUM = 979,
+
+ /** Added in Repentance+. */
+ FISTULA_GROWL_SMALL = 980,
+
+ /** Added in Repentance+. */
+ RAG_MEGA_BALL_ATTACK = 981,
+
+ /** Added in Repentance+. */
+ RAG_MEGA_BEAM = 982,
+
+ /** Added in Repentance+. */
+ RAG_MEGA_INHALE = 983,
+
+ /** Added in Repentance+. */
+ RAG_MEGA_EXHALE = 984,
+
+ /** Added in Repentance+. */
+ RAG_MEGA_INVINCIBLE_ON = 985,
+
+ /** Added in Repentance+. */
+ RAG_MEGA_INVINCIBLE_OFF = 986,
+
+ /** Added in Repentance+. */
+ BLASTOCYST_JUMP_BIG = 987,
+
+ /** Added in Repentance+. */
+ BLASTOCYST_JUMP = 988,
+
+ /** Added in Repentance+. */
+ BLASTOCYST_JUMP_SMALL = 989,
+
+ /** Added in Repentance+. */
+ POOP_DROP = 990,
+
+ /** Added in Repentance+. */
+ CARRION_QUEEN_BOUNCE = 991,
+
+ /** Added in Repentance+. */
+ CARRION_QUEEN_DIAGONAL_START = 992,
+
+ /** Added in Repentance+. */
+ CARRION_QUEEN_DIAGONAL_VOX = 993,
+
+ /** Added in Repentance+. */
+ CARRION_QUEEN_ROAR = 994,
+
+ /** Added in Repentance+. */
+ HAUNT_CHARGE = 995,
+
+ /** Added in Repentance+. */
+ HAUNT_DEATH = 996,
+
+ /** Added in Repentance+. */
+ HAUNT_ROAR = 997,
+
+ /** Added in Repentance+. */
+ HAUNT_RELEASE_LIL = 998,
+
+ /** Added in Repentance+. */
+ LARRY_JR_DEATH_1 = 999,
+
+ /** Added in Repentance+. */
+ LARRY_JR_DEATH_2 = 1000,
+
+ /** Added in Repentance+. */
+ LARRY_JR_ROAR = 1001,
+
+ /** Added in Repentance+. */
+ MEGA_FATTY_MEGA_FART = 1002,
+
+ /** Added in Repentance+. */
+ HOLLOW_DEATH_1 = 1003,
+
+ /** Added in Repentance+. */
+ HOLLOW_DEATH_2 = 1004,
+
+ /** Added in Repentance+. */
+ HOLLOW_ROAR = 1005,
+
+ /** Added in Repentance+. */
+ WAR_KNOCKDOWN = 1006,
+
+ /** Added in Repentance+. */
+ WAR_CHARGE = 1007,
+
+ /** Added in Repentance+. */
+ BOSS_NEAR = 1008,
+
+ /** Added in Repentance+. */
+ CAMBION_CONCEPTION = 1009,
+
+ /** Added in Repentance+. */
+ IMMACULATE_CONCEPTION = 1010,
+
+ /** Added in Repentance+. */
+ CHARGED_BABY_BATTERY = 1011,
+
+ /** Added in Repentance+. */
+ CHARGED_BABY_CHARGE = 1012,
+
+ /** Added in Repentance+. */
+ CHARGED_BABY_STUN = 1013,
+
+ /** Added in Repentance+. */
+ ROCK_SHINE = 1014,
+
+ /** Added in Repentance+. */
+ BLUE_SPIDER_DIE = 1015,
+
+ /** Added in Repentance+. */
+ SISSY_LONGLEGS_CHARM = 1016,
+
+ /** Added in Repentance+. */
+ ITEM_RAISE = 1017,
+
+ /** Added in Repentance+. */
+ CLOG_POOP_SMOKE = 1018,
+
+ /** Added in Repentance+. */
+ FRIENDLY_BALL_CAPTURE = 1019,
+
+ /** Added in Repentance+. */
+ FRIENDLY_BALL_LAND = 1020,
+
+ /** Added in Repentance+. */
+ FRIENDLY_BALL_PICKUP = 1021,
+
+ /** Added in Repentance+. */
+ FRIENDLY_BALL_RAISE = 1022,
+
+ /** Added in Repentance+. */
+ FRIENDLY_BALL_RELEASE = 1023,
+
+ /** Added in Repentance+. */
+ FRIENDLY_BALL_THROW = 1024,
+
+ /** Added in Repentance+. */
+ BEST_FRIEND = 1025,
+
+ /** Added in Repentance+. */
+ BOOK_SHADOWS_START = 1026,
+
+ /** Added in Repentance+. */
+ BOOK_SHADOWS_END = 1027,
+
+ /** Added in Repentance+. */
+ BOOK_SHADOWS_SIGIL = 1028,
+
+ /** Added in Repentance+. */
+ BOX_SPIDERS = 1029,
+
+ /** Added in Repentance+. */
+ SUPLEX_ACTIVATE = 1030,
+
+ /** Added in Repentance+. */
+ SUPLEX_GRAB = 1031,
+
+ /** Added in Repentance+. */
+ SUPLEX_JUMP = 1032,
+
+ /** Added in Repentance+. */
+ SUPLEX_LAND = 1033,
+
+ /** Added in Repentance+. */
+ DEAD_SEA_SCROLLS = 1034,
+
+ /** Added in Repentance+. */
+ MOMS_BRA = 1035,
+
+ /** Added in Repentance+. */
+ RED_CANDLE = 1036,
+
+ /** Added in Repentance+. */
+ SATANIC_BIBLE = 1037,
+
+ /** Added in Repentance+. */
+ BIBLE = 1038,
+
+ /** Added in Repentance+. */
+ HOURGLASS = 1039,
+
+ /** Added in Repentance+. */
+ MEGA_MUSH_SHRINK = 1040,
+
+ /** Added in Repentance+. */
+ MAGIC_SKIN = 1041,
+
+ /** Added in Repentance+. */
+ BOOK_OF_SIN = 1042,
+
+ /** Added in Repentance+. */
+ BROKEN_SHOVEL = 1043,
+
+ /** Added in Repentance+. */
+ DULL_RAZOR = 1044,
+
+ /** Added in Repentance+. */
+ DARK_ARTS = 1045,
+
+ /** Added in Repentance+. */
+ DECAP_ACTIVATE = 1046,
+
+ // cspell:disable-next-line
+ /** Added in Repentance+. */
+ DECAP_THROW = 1047,
+
+ /** Added in Repentance+. */
+ ESAU_JR = 1048,
+
+ /** Added in Repentance+. */
+ NECROMANCER = 1049,
+
+ /** Added in Repentance+. */
+ GELLO = 1050,
+
+ /** Added in Repentance+. */
+ HEAVENS_DOOR_ENTER = 1051,
+
+ /** Added in Repentance+. */
+ TRAP_DOOR_LEVEL = 1052,
+
+ /** Added in Repentance+. */
+ CRYSTAL_BALL = 1053,
+
+ /** Added in Repentance+. */
+ FORGET_ME_NOW = 1054,
+
+ /** Added in Repentance+. */
+ HOW_TO_JUMP = 1055,
+
+ /** Added in Repentance+. */
+ IV_BAG = 1056,
+
+ /** Added in Repentance+. */
+ NOTCHED_AXE = 1057,
+
+ /** Added in Repentance+. */
+ RAZOR_BLADE = 1058,
+
+ /** Added in Repentance+. */
+ TELEPATHY_DUMMY = 1059,
+
+ /** Added in Repentance+. */
+ JAR_OF_FLIES = 1060,
+
+ /** Added in Repentance+. */
+ DIPLOPIA = 1061,
+
+ /** Added in Repentance+. */
+ MINE_CRAFTER = 1062,
+
+ /** Added in Repentance+. */
+ TEAR_DETONATOR = 1063,
+
+ /** Added in Repentance+. */
+ VENTRICLE_RAZOR = 1064,
+
+ /** Added in Repentance+. */
+ WOODEN_NICKEL = 1065,
+
+ /** Added in Repentance+. */
+ WOODEN_NICKEL_SPAWN = 1066,
+
+ /** Added in Repentance+. */
+ BLACK_HOLE_ACTIVATE = 1067,
+
+ /** Added in Repentance+. */
+ BLACK_HOLE_THROW = 1068,
+
+ /** Added in Repentance+. */
+ MR_ME = 1069,
+
+ /** Added in Repentance+. */
+ SPRINKLER_SPAWN = 1070,
+
+ /** Added in Repentance+. */
+ VOID_SUCCESS = 1071,
+
+ /** Added in Repentance+. */
+ VOID_FAIL = 1072,
+
+ /** Added in Repentance+. */
+ ABYSS_SUCCESS = 1073,
+
+ /** Added in Repentance+. */
+ BAG_OF_CRAFTING = 1074,
+
+ /** Added in Repentance+. */
+ GIANT_CHEST_OPEN = 1075,
+
+ /** Added in Repentance+. */
+ IMP_GROWL = 1076,
+
+ /** Added in Repentance+. */
+ IMP_SHOOT = 1077,
+
+ /** Added in Repentance+. */
+ IMP_WARP_OUT = 1078,
+
+ /** Added in Repentance+. */
+ IMP_WARP_IN = 1079,
+
+ /** Added in Repentance+. */
+ BRAIN_MOVE = 1080,
+
+ /** Added in Repentance+. */
+ POISON_MIND_HURT = 1081,
+
+ /** Added in Repentance+. */
+ KNIGHT_GROWL = 1082,
+
+ /** Added in Repentance+. */
+ SELFLESS_KNIGHT_GROWL = 1083,
+
+ /** Added in Repentance+. */
+ FLOATING_KNIGHT_GROWL = 1084,
+
+ /** Added in Repentance+. */
+ BUTTLICKER_GROWL = 1085,
+
+ /** Added in Repentance+. */
+ LADDER = 1086,
+
+ /** Added in Repentance+. */
+ OCULAR_RIFT_SHOOT = 1087,
+
+ /** Added in Repentance+. */
+ OCULAR_RIFT_PORTAL = 1088,
+
+ /** Added in Repentance+. */
+ UNBORN_GROWL = 1089,
+
+ /** Added in Repentance+. */
+ UNBORN_WARP = 1090,
}
diff --git a/packages/isaac-typescript-definitions/src/enums/collections/variants.ts b/packages/isaac-typescript-definitions/src/enums/collections/variants.ts
index 1f57eb50d..1cbf28fb8 100644
--- a/packages/isaac-typescript-definitions/src/enums/collections/variants.ts
+++ b/packages/isaac-typescript-definitions/src/enums/collections/variants.ts
@@ -1636,4 +1636,19 @@ export enum EffectVariant {
DEAD_BIRD = 197,
GENERIC_TRACER = 198,
ULTRA_DEATH_SCYTHE = 199,
+
+ /** Added in Repentance+. */
+ BULLET_POOF_STATIC = 200,
+
+ /** Added in Repentance+. */
+ UMBILICAL_CORD_HELPER = 201,
+
+ /** Added in Repentance+. */
+ MEGA_BEAN_EXPLOSION = 202,
+
+ /** Added in Repentance+. */
+ SPAWN_PENTAGRAM = 203,
+
+ /** Added in Repentance+. */
+ PLAYER_CREEP_YELLOW = 204,
}
diff --git a/packages/isaac-typescript-definitions/src/index.ts b/packages/isaac-typescript-definitions/src/index.ts
index 9b075971f..8134e48ff 100644
--- a/packages/isaac-typescript-definitions/src/index.ts
+++ b/packages/isaac-typescript-definitions/src/index.ts
@@ -27,6 +27,7 @@ export * from "./enums/Difficulty";
export * from "./enums/Dimension";
export * from "./enums/Direction";
export * from "./enums/DoorSlot";
+export * from "./enums/DrawStringAlignment";
export * from "./enums/EntityCollisionClass";
export * from "./enums/EntityGridCollisionClass";
export * from "./enums/EntityType";
@@ -59,6 +60,7 @@ export * from "./enums/ItemConfigPillEffectClass";
export * from "./enums/ItemConfigPillEffectType";
export * from "./enums/ItemPoolType";
export * from "./enums/ItemType";
+export * from "./enums/JacobEsauControls";
export * from "./enums/Keyboard";
export * from "./enums/LanguageAbbreviation";
export * from "./enums/LaserOffset";
diff --git a/packages/isaac-typescript-definitions/src/types/classes/Entity.d.ts b/packages/isaac-typescript-definitions/src/types/classes/Entity.d.ts
index bbd51a1c9..82c395131 100644
--- a/packages/isaac-typescript-definitions/src/types/classes/Entity.d.ts
+++ b/packages/isaac-typescript-definitions/src/types/classes/Entity.d.ts
@@ -17,8 +17,14 @@ declare global {
* @param duration The number of frames that the effect should apply for. The minimum is 2
* frames.
* @param damage The damage taken per tick. Each damage tick is 20 frames apart.
+ * @param ignoreBosses Optional. Defaults to false. This parameter was added in Repentance+.
*/
- AddBurn: (source: EntityRef, duration: int, damage: float) => void;
+ AddBurn: (
+ source: EntityRef,
+ duration: int,
+ damage: float,
+ ignoreBosses?: boolean,
+ ) => void;
/**
* Adds a charmed effect to the entity.
@@ -27,8 +33,13 @@ declare global {
* `EntityRef(undefined)`.
* @param duration The number of frames that the effect should apply for. If set to -1, the
* effect will be permanent and the entity will follow you to different rooms.
+ * @param ignoreBosses Optional. Defaults to false. This parameter was added in Repentance+.
*/
- AddCharmed: (source: EntityRef, duration: int) => void;
+ AddCharmed: (
+ source: EntityRef,
+ duration: int,
+ ignoreBosses?: boolean,
+ ) => void;
/**
* Adds a confusion effect to the entity.
@@ -36,12 +47,12 @@ declare global {
* @param source Required. If you do not want the effect to have a source, pass
* `EntityRef(undefined)`.
* @param duration The number of frames that the effect should apply for. The maximum is 150.
- * @param ignoreBosses
+ * @param ignoreBosses Optional. Defaults to false. This parameter was added in Repentance+.
*/
AddConfusion: (
source: EntityRef,
duration: int,
- ignoreBosses: boolean,
+ ignoreBosses?: boolean,
) => void;
/**
@@ -56,8 +67,9 @@ declare global {
* @param source Required. If you do not want the effect to have a source, pass
* `EntityRef(undefined)`.
* @param duration The number of frames that the effect should apply for. The maximum is 150.
+ * @param ignoreBosses Optional. Defaults to false. This parameter was added in Repentance+.
*/
- AddFear: (source: EntityRef, duration: int) => void;
+ AddFear: (source: EntityRef, duration: int, ignoreBosses?: boolean) => void;
/**
* Adds a freeze effect to the entity.
@@ -65,8 +77,13 @@ declare global {
* @param source Required. If you do not want the effect to have a source, pass
* `EntityRef(undefined)`.
* @param duration The number of frames that the effect should apply for. The maximum is 150.
+ * @param ignoreBosses Optional. Defaults to false. This parameter was added in Repentance+.
*/
- AddFreeze: (source: EntityRef, duration: int) => void;
+ AddFreeze: (
+ source: EntityRef,
+ duration: int,
+ ignoreBosses?: boolean,
+ ) => void;
/** Heals the entity. */
AddHealth: (hitPoints: float) => void;
@@ -80,8 +97,13 @@ declare global {
* @param duration The number of frames that the effect should apply for. The maximum is 150.
* (However, if a value higher than 150 is passed, the freeze will be reduced to
* 150 frames, but the gold color will persist for the full duration.)
+ * @param ignoreBosses Optional. Defaults to false. This parameter was added in Repentance+.
*/
- AddMidasFreeze: (source: EntityRef, duration: int) => void;
+ AddMidasFreeze: (
+ source: EntityRef,
+ duration: int,
+ ignoreBosses?: boolean,
+ ) => void;
/**
* Adds a poison effect to the entity.
@@ -91,8 +113,14 @@ declare global {
* @param duration The number of frames that the effect should apply for. The minimum is 2
* frames. The maximum is 150.
* @param damage The damage taken per tick. Each damage tick is 20 frames apart.
+ * @param ignoreBosses Optional. Defaults to false. This parameter was added in Repentance+.
*/
- AddPoison: (source: EntityRef, duration: int, damage: float) => void;
+ AddPoison: (
+ source: EntityRef,
+ duration: int,
+ damage: float,
+ ignoreBosses?: boolean,
+ ) => void;
/**
* Adds a shrink effect to the entity.
@@ -100,8 +128,13 @@ declare global {
* @param source Required. If you do not want the effect to have a source, pass
* `EntityRef(undefined)`.
* @param duration The number of frames that the effect should apply for.
+ * @param ignoreBosses Optional. Defaults to false. This parameter was added in Repentance+.
*/
- AddShrink: (source: EntityRef, duration: int) => void;
+ AddShrink: (
+ source: EntityRef,
+ duration: int,
+ ignoreBosses?: boolean,
+ ) => void;
/**
* Adds a slowing effect to the entity.
@@ -111,13 +144,15 @@ declare global {
* @param duration The number of frames that the effect should apply for.
* @param slowValue This is the multiplier applied to the entity's movement speed. For example,
* a value of 0.5 would slow down the entity by 50%.
- * @param slowColor
+ * @param slowColor The color modification to make to the enemy.
+ * @param ignoreBosses Optional. Defaults to false. This parameter was added in Repentance+.
*/
AddSlowing: (
source: EntityRef,
duration: int,
slowValue: float,
slowColor: Color,
+ ignoreBosses?: boolean,
) => void;
/**
@@ -219,6 +254,10 @@ declare global {
IsVulnerableEnemy: () => boolean;
Kill: () => void;
+
+ /** Added in Repentance+. */
+ KillWithSource: (source: EntityRef) => void;
+
MultiplyFriction: (value: float) => void;
PostRender: () => void;
Remove: () => void;
diff --git a/packages/isaac-typescript-definitions/src/types/classes/EntityPlayer.d.ts b/packages/isaac-typescript-definitions/src/types/classes/EntityPlayer.d.ts
index 8f42d1ef3..a5ca8e446 100644
--- a/packages/isaac-typescript-definitions/src/types/classes/EntityPlayer.d.ts
+++ b/packages/isaac-typescript-definitions/src/types/classes/EntityPlayer.d.ts
@@ -20,6 +20,7 @@ import type { CacheFlag } from "../../enums/flags/CacheFlag";
import type { DamageFlag } from "../../enums/flags/DamageFlag";
import type { TearFlag } from "../../enums/flags/TearFlag";
import type { UseFlag } from "../../enums/flags/UseFlag";
+import type { ItemPoolType } from "../../enums/ItemPoolType";
import type { LaserOffset } from "../../enums/LaserOffset";
import type { NullItemID } from "../../enums/NullItemID";
import type { PillEffect } from "../../enums/PillEffect";
@@ -86,6 +87,7 @@ declare global {
* `ActiveSlot.SLOT_PRIMARY`.
* @param varData Sets the variable data for this collectible (this is used to store extra data
* for some active items like the number of uses for Jar of Wisps). Default is 0.
+ * @param itemPoolType This parameter was added in Repentance+.
*/
AddCollectible: (
collectibleType: CollectibleType,
@@ -93,6 +95,7 @@ declare global {
firstTimePickingUp?: boolean,
activeSlot?: ActiveSlot.PRIMARY | ActiveSlot.SECONDARY,
varData?: int,
+ itemPoolType?: ItemPoolType,
) => void;
AddControlsCooldown: (cooldown: int) => void;
diff --git a/packages/isaac-typescript-definitions/src/types/classes/Font.d.ts b/packages/isaac-typescript-definitions/src/types/classes/Font.d.ts
index 5c5067857..2f96815e9 100644
--- a/packages/isaac-typescript-definitions/src/types/classes/Font.d.ts
+++ b/packages/isaac-typescript-definitions/src/types/classes/Font.d.ts
@@ -13,6 +13,8 @@ declare interface Font extends IsaacAPIClass {
* - If `boxWidth` is not zero, and the `center` parameter is true, then the text will be centered
* inside the `boxWidth` size.
*
+ * Repentance+ added a separate overload for drawing a string with a custom size.
+ *
* @param str
* @param positionX
* @param positionY
@@ -20,14 +22,23 @@ declare interface Font extends IsaacAPIClass {
* @param boxWidth Default is 0.
* @param center Default is false.
*/
- DrawString: (
+ DrawString: ((
str: string,
positionX: float,
positionY: float,
renderColor: KColor,
boxWidth?: int,
center?: boolean,
- ) => void;
+ ) => void)
+ & ((
+ str: string,
+ positionX: float,
+ positionY: float,
+ sizeX: float,
+ sizeY: float,
+ renderColor: KColor,
+ fontRenderSettings: FontRenderSettings,
+ ) => void);
/**
* Converts UTF8 to UTF16, then draws the scaled string on the screen.
diff --git a/packages/isaac-typescript-definitions/src/types/classes/FontRenderSettings.d.ts b/packages/isaac-typescript-definitions/src/types/classes/FontRenderSettings.d.ts
new file mode 100644
index 000000000..9235a0757
--- /dev/null
+++ b/packages/isaac-typescript-definitions/src/types/classes/FontRenderSettings.d.ts
@@ -0,0 +1,26 @@
+import type { DrawStringAlignment } from "../../enums/DrawStringAlignment";
+
+declare global {
+ function FontRenderSettings(this: void): FontRenderSettings;
+
+ /** Added in Repentance+. */
+ interface FontRenderSettings extends IsaacAPIClass {
+ EnableAutoWrap: (enabled: boolean) => void;
+ EnableTruncation: (enabled: boolean) => void;
+ GetAlignment: () => DrawStringAlignment;
+ GetLineHeightModifier: () => float;
+ GetMaxCharacters: () => int;
+ GetMissingCharacterOverride: () => int;
+ IsAutoWrapEnabled: () => boolean;
+ IsTruncationEnabled: () => boolean;
+ SetAlignment: (drawStringAlignment: DrawStringAlignment) => void;
+ SetLineHeightModifier: (value: float) => void;
+ SetMaxCharacters: (maxChars: int) => void;
+
+ /**
+ * Sets the character that will be used when a missing character in the font needs to be
+ * rendered. This overrides previous `Font:SetMissingCharacter` settings.
+ */
+ SetMissingCharacterOverride: (character: int) => void;
+ }
+}
diff --git a/packages/isaac-typescript-definitions/src/types/classes/Game.d.ts b/packages/isaac-typescript-definitions/src/types/classes/Game.d.ts
index f18c0f786..9b5370ecc 100644
--- a/packages/isaac-typescript-definitions/src/types/classes/Game.d.ts
+++ b/packages/isaac-typescript-definitions/src/types/classes/Game.d.ts
@@ -132,17 +132,26 @@ declare global {
/**
* @param speed A value between 0 and 1. Using a value of 0 will soft-lock the game. Using a
* value of 1 will instantaneously fade in.
+ * @param showIcon Optional. Defaults to true. This parameter was added in Repentance+.
+ * @param kColor Optional. Defaults to `K_COLORS.Black`. This parameter was added in
+ * Repentance+.
*/
- Fadein: (speed: float) => void;
+ Fadein: (speed: float, showIcon?: boolean, kColor?: KColor) => void;
/**
- * Using non-valid `FadeoutTarget` values will be interpreted the same as `FadeoutTarget.NONE`.
+ * Using a non-valid `FadeoutTarget` value will be interpreted the same as `FadeoutTarget.NONE`.
*
* @param speed A value between 0 and 1. Using a value of 0 will never trigger the fade out
* target. Using a value of 1 will instantaneously trigger the fade out target.
- * @param fadeoutTarget
+ * @param fadeoutTarget The place to go after the fade out is completed.
+ * @param kColor Optional. Defaults to `K_COLORS.Black`. This parameter was added in
+ * Repentance+.
*/
- Fadeout: (speed: float, fadeoutTarget: FadeoutTarget) => void;
+ Fadeout: (
+ speed: float,
+ fadeoutTarget: FadeoutTarget,
+ kColor?: KColor,
+ ) => void;
/**
* @param position
diff --git a/packages/isaac-typescript-definitions/src/types/classes/GridEntity.d.ts b/packages/isaac-typescript-definitions/src/types/classes/GridEntity.d.ts
index bde5f2f4a..6653634e7 100644
--- a/packages/isaac-typescript-definitions/src/types/classes/GridEntity.d.ts
+++ b/packages/isaac-typescript-definitions/src/types/classes/GridEntity.d.ts
@@ -4,6 +4,10 @@ import type { GridEntityType } from "../../enums/GridEntityType";
declare global {
interface GridEntity extends IsaacAPIClass {
Destroy: (immediate: boolean) => boolean;
+
+ /** Added in Repentance+. */
+ DestroyWithSource: (immediate: boolean, source: EntityRef) => boolean;
+
GetGridIndex: () => int;
/** The RNG returned is a reference (i.e. not a copy). */
@@ -17,6 +21,10 @@ declare global {
GetType: () => GridEntityType;
GetVariant: () => int;
Hurt: (damage: int) => boolean;
+
+ /** Added in Repentance+. */
+ HurtWithSource: (damage: int, source: EntityRef) => boolean;
+
Init: (seed: Seed) => void;
PostInit: () => void;
Render: (offset: Vector) => void;
diff --git a/packages/isaac-typescript-definitions/src/types/classes/HUD.d.ts b/packages/isaac-typescript-definitions/src/types/classes/HUD.d.ts
index 87e397022..4feb4d75e 100644
--- a/packages/isaac-typescript-definitions/src/types/classes/HUD.d.ts
+++ b/packages/isaac-typescript-definitions/src/types/classes/HUD.d.ts
@@ -45,9 +45,23 @@ declare global {
/**
* Shows the pickup text for the specified item as if it was picked up by the specified player.
* The overloaded method supports showing custom pickup text.
+ *
+ * The `stackUpText` parameter was added in Repentance+. If it is missing or true, then it
+ * clears the message stack (Repentance functionality). If it is false, then the text will stack
+ * up (Repentance+ functionality). These values are counterintuitive, so it seems likely that
+ * the developers made a mistake.
*/
- ShowItemText: ((player: EntityPlayer, item: ItemConfigItem) => void)
- & ((name: string, description?: string, paper?: boolean) => void);
+ ShowItemText: ((
+ player: EntityPlayer,
+ item: ItemConfigItem,
+ stackUpText: boolean,
+ ) => void)
+ & ((
+ mainString: string,
+ secondaryString?: string,
+ isCurseDisplay?: boolean,
+ stackUpText?: boolean,
+ ) => void);
Update: () => void;
}
diff --git a/packages/isaac-typescript-definitions/src/types/classes/ItemPool.d.ts b/packages/isaac-typescript-definitions/src/types/classes/ItemPool.d.ts
index 00334f931..79f9fdbf1 100644
--- a/packages/isaac-typescript-definitions/src/types/classes/ItemPool.d.ts
+++ b/packages/isaac-typescript-definitions/src/types/classes/ItemPool.d.ts
@@ -26,12 +26,15 @@ declare global {
* @param decrease Default is false.
* @param seed Default is `Random()`.
* @param defaultItem Default is `CollectibleType.NULL`.
+ * @param backupItemPoolType Default is `ItemPoolType.POOL_NULL`. This parameter was added in
+ * Repentance+.
*/
GetCollectible: (
itemPoolType: ItemPoolType,
decrease?: boolean,
seed?: Seed,
defaultItem?: CollectibleType,
+ backupItemPoolType?: ItemPoolType,
) => CollectibleType;
GetLastPool: () => ItemPoolType;
diff --git a/packages/isaac-typescript-definitions/src/types/classes/Options.d.ts b/packages/isaac-typescript-definitions/src/types/classes/Options.d.ts
index 56a7e75c9..fe0d5f7ed 100644
--- a/packages/isaac-typescript-definitions/src/types/classes/Options.d.ts
+++ b/packages/isaac-typescript-definitions/src/types/classes/Options.d.ts
@@ -2,6 +2,7 @@ import type { AnnouncerVoiceMode } from "../../enums/AnnouncerVoiceMode";
import type { CameraStyle } from "../../enums/CameraStyle";
import type { ConsoleFont } from "../../enums/ConsoleFont";
import type { ExtraHudStyle } from "../../enums/ExtraHudStyle";
+import type { JacobEsauControls } from "../../enums/JacobEsauControls";
import type { LanguageAbbreviation } from "../../enums/LanguageAbbreviation";
declare global {
@@ -120,6 +121,15 @@ declare global {
*/
let BulletVisibility: boolean;
+ /**
+ * Toggles the way to activate Esau's items.
+ *
+ * This can be changed from the in-game options menu.
+ *
+ * Added in Repentance+.
+ */
+ let JacobEsauControls: JacobEsauControls;
+
/**
* Whether the announcer voice should play when using items, pills, cards, and runes.
*
diff --git a/packages/isaac-typescript-definitions/src/types/classes/Room.d.ts b/packages/isaac-typescript-definitions/src/types/classes/Room.d.ts
index 97a5b8854..c5535ba83 100644
--- a/packages/isaac-typescript-definitions/src/types/classes/Room.d.ts
+++ b/packages/isaac-typescript-definitions/src/types/classes/Room.d.ts
@@ -36,7 +36,23 @@ declare global {
) => LuaMultiReturn<[clear: boolean, collidePos: Vector]>;
DamageGrid: (index: int, damage: int) => boolean;
+
+ /** Added in Repentance+. */
+ DamageGridWithSource: (
+ index: int,
+ damage: int,
+ source: EntityRef,
+ ) => boolean;
+
DestroyGrid: (index: int, immediate: boolean) => boolean;
+
+ /** Added in Repentance+. */
+ DestroyGridWithSource: (
+ index: int,
+ immediate: boolean,
+ source: EntityRef,
+ ) => boolean;
+
EmitBloodFromWalls: (duration: int, count: int) => void;
/**
@@ -204,7 +220,15 @@ declare global {
IsPositionInRoom: (position: Vector, margin: float) => boolean;
IsSacrificeDone: () => boolean;
KeepDoorsClosed: () => void;
- MamaMegaExplosion: (position: Vector) => void;
+
+ /**
+ * @param position Optional. The position where the explosion should originate. Default is
+ * `Vector.Zero`.
+ * @param player Optional. The player that the explosion should come from. This parameter was
+ * added in Repentance+.
+ */
+ MamaMegaExplosion: (position?: Vector, player?: EntityPlayer) => void;
+
PlayMusic: () => void;
RemoveDoor: (doorSlot: DoorSlot) => void;
diff --git a/packages/isaac-typescript-definitions/src/types/classes/Sprite.d.ts b/packages/isaac-typescript-definitions/src/types/classes/Sprite.d.ts
index 538f9d3d8..e2cb41009 100644
--- a/packages/isaac-typescript-definitions/src/types/classes/Sprite.d.ts
+++ b/packages/isaac-typescript-definitions/src/types/classes/Sprite.d.ts
@@ -187,8 +187,11 @@ declare interface Sprite extends IsaacAPIClass {
* @param layerID
* @param pngPath The full path to the PNG file. For example:
* "gfx/items/collectibles/questionmark.png"
+ * @returns `true` if the spritesheet at the given layer ID was successfully replaced and if the
+ * new spritesheet is not the same as the old one, otherwise `false`. This return value
+ * was added in Repentance+.
*/
- ReplaceSpritesheet: (layerID: int, pngPath: string) => void;
+ ReplaceSpritesheet: (layerID: int, pngPath: string) => boolean;
/**
* Resets the sprite such that it will be equivalent to a new sprite created with the `Sprite`
diff --git a/packages/isaac-typescript-definitions/src/types/index.d.ts b/packages/isaac-typescript-definitions/src/types/index.d.ts
index 6107fbd02..9abf7cb90 100644
--- a/packages/isaac-typescript-definitions/src/types/index.d.ts
+++ b/packages/isaac-typescript-definitions/src/types/index.d.ts
@@ -45,6 +45,7 @@
///
///
///
+///
///
///
///
diff --git a/packages/isaacscript-spell/dictionaries/isaac/api.txt b/packages/isaacscript-spell/dictionaries/isaac/api.txt
index 8e4c3c0be..2319fb0df 100644
--- a/packages/isaacscript-spell/dictionaries/isaac/api.txt
+++ b/packages/isaacscript-spell/dictionaries/isaac/api.txt
@@ -49,6 +49,7 @@ cutscenes
CYCLOPIA
DAGAZ
DATAMINER
+DEATHMATCH
DECAP
DERP
DINGA