Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/**
* This enum is for REPENTOGON, an exe-hack which expands the modding API.
*
* @see https://repentogon.com/
*/
export enum NullPickupSubType {
ANY = 0,
NO_COLLECTIBLE_CHEST = 1,
NO_COLLECTIBLE = 2,
NO_COLLECTIBLE_CHEST_COIN = 3,
NO_COLLECTIBLE_TRINKET_CHEST = 4,
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/**
* This enum is for REPENTOGON, an exe-hack which expands the modding API.
*
* @see https://repentogon.com/
*/
export enum StatusEffect {
BAITED = 0,
BLEEDING = 1,
BRIMSTONE_MARK = 2,
BURN = 3,
CHARMED = 4,
CONFUSION = 5,
FEAR = 6,
FREEZE = 7,
ICE = 8,
KNOCKBACK = 9,
MAGNETIZED = 10,
MIDAS_FREEZE = 11,
POISON = 12,
SHRINK = 13,
SLOWING = 14,
WEAKNESS = 15,
}
2 changes: 2 additions & 0 deletions packages/isaac-typescript-definitions-repentogon/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export * from "./enums/imgui/ImGuiNotificationType";
export * from "./enums/MainMenuType";
export * from "./enums/MinimapState";
export * from "./enums/ModCallbackRepentogon";
export * from "./enums/NullPickupSubType";
export * from "./enums/PauseMenuState";
export * from "./enums/PillCardSlot";
export * from "./enums/PlayerFoot";
Expand All @@ -56,6 +57,7 @@ export * from "./enums/PurityState";
export * from "./enums/SlotState";
export * from "./enums/SpecialQuest";
export * from "./enums/SplitTearType";
export * from "./enums/StatusEffect";
export * from "./enums/StbRailVariant";
export * from "./enums/SuplexState";
export * from "./enums/TaintedMarksGroup";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,16 @@ declare interface EntityKnife extends Entity {
* @param damageMultiplier Optional. Default is 0.5.
* @param sizeMultiplier Optional. Default is 0.6.
* @param variant Optional. Default is `TearVariant.BLUE`.
* @param splitTearType Optional. Default is `SplitTearType.GENERIC`.
* @param splitTearType Optional. Default is `SplitTearType.GENERIC`. Custom split tear effects
* can be implemented by passing in a string instead.
*/
FireSplitTear: (
position: Vector,
velocity: Vector,
damageMultiplier?: number,
sizeMultiplier?: number,
variant?: TearVariant,
splitTearType?: SplitTearType,
splitTearType?: SplitTearType | string,
) => EntityTear;

GetHitboxParentKnife: () => EntityKnife | undefined;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,16 @@ declare interface EntityLaser extends Entity {
* @param damageMultiplier Optional. Default is 0.5.
* @param sizeMultiplier Optional. Default is 0.6.
* @param variant Optional. Default is `TearVariant.BLUE`.
* @param splitTearType Optional. Default is `SplitTearType.GENERIC`.
* @param splitTearType Optional. Default is `SplitTearType.GENERIC`. Custom split tear effects
* can be implemented by passing in a string instead.
*/
FireSplitTear: (
position: Vector,
velocity: Vector,
damageMultiplier?: number,
sizeMultiplier?: number,
variant?: TearVariant,
splitTearType?: SplitTearType,
splitTearType?: SplitTearType | string,
) => EntityTear;

/** Returns the laser's damage multiplier. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,16 @@ declare global {
* @param damageMultiplier Optional. Default is 0.5.
* @param sizeMultiplier Optional. Default is 0.6.
* @param variant Optional. Default is `TearVariant.BLUE`.
* @param splitTearType Optional. Default is `SplitTearType.GENERIC`.
* @param splitTearType Optional. Default is `SplitTearType.GENERIC`. Custom split tear effects
* can be implemented by passing in a string instead.
*/
FireSplitTear: (
position: Vector,
velocity: Vector,
damageMultiplier?: number,
sizeMultiplier?: number,
variant?: TearVariant,
splitTearType?: SplitTearType,
splitTearType?: SplitTearType | string,
) => EntityTear;

/**
Expand Down
Loading
Loading