From 76046cd29008c149c8572cbb37c87649b34a394d Mon Sep 17 00:00:00 2001 From: GoldenShit233 <54078397+GoldenShit233@users.noreply.github.com> Date: Sat, 5 Sep 2026 14:21:17 +0800 Subject: [PATCH 01/13] Implement BitSet128 class with basic methods Added BitSet128 class with methods for getting, setting, and string representation. --- src/docs/vanilla/BitSet128.lua | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/docs/vanilla/BitSet128.lua b/src/docs/vanilla/BitSet128.lua index b3de90b..10d871a 100644 --- a/src/docs/vanilla/BitSet128.lua +++ b/src/docs/vanilla/BitSet128.lua @@ -8,6 +8,21 @@ ---@operator shl(BitSet128): BitSet128 ---@operator shr(BitSet128): BitSet128 +local BitSet128 = {} + +---@param bitPosition integer +---@return boolean +function BitSet128:Get(bitPosition) +end + +---@param bitPosition integer +---@param state boolean +function BitSet128:Set(bitPosition, state) +end + +function BitSet128:__tostring() +end + ---@param l? integer @default = `0` ---@param h? integer @default = `0` ---@return BitSet128 From f57abeb39f81feab2949504c1b1276e8feb48895 Mon Sep 17 00:00:00 2001 From: GoldenShit233 <54078397+GoldenShit233@users.noreply.github.com> Date: Sat, 5 Sep 2026 14:30:06 +0800 Subject: [PATCH 02/13] Add StatHUDPlanetarium field to Options.lua --- src/docs/repentogon_changes/Options.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/docs/repentogon_changes/Options.lua b/src/docs/repentogon_changes/Options.lua index f85339a..66f72b0 100644 --- a/src/docs/repentogon_changes/Options.lua +++ b/src/docs/repentogon_changes/Options.lua @@ -3,6 +3,7 @@ ---@field HushPanicStateFix boolean ---@field PreventModUpdates boolean ---@field QuickRoomClear boolean +---@field StatHUDPlanetarium boolean ---@field AimLockEnabled boolean ---@field AscentVoiceOver boolean ---@field BossHPOnBottom boolean @@ -21,4 +22,4 @@ ---@field WindowHeight integer ---@field WindowPosX integer ---@field WindowPosY integer ----@field WindowWidth integer \ No newline at end of file +---@field WindowWidth integer From cad849603d7051d0d54a5272a745e566c87d0302 Mon Sep 17 00:00:00 2001 From: GoldenShit233 <54078397+GoldenShit233@users.noreply.github.com> Date: Sat, 5 Sep 2026 14:30:59 +0800 Subject: [PATCH 03/13] Change MissingCharacter parameter type to integer --- src/docs/vanilla/Font.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docs/vanilla/Font.lua b/src/docs/vanilla/Font.lua index fe0c815..a8381ba 100644 --- a/src/docs/vanilla/Font.lua +++ b/src/docs/vanilla/Font.lua @@ -93,7 +93,7 @@ end function Font:Load(FilePath) end ----@param MissingCharacter string +---@param MissingCharacter integer function Font:SetMissingCharacter(MissingCharacter) end From 2af6228f7dc871e4d21104425e4cbf88964bd264 Mon Sep 17 00:00:00 2001 From: GoldenShit233 <54078397+GoldenShit233@users.noreply.github.com> Date: Sat, 5 Sep 2026 14:32:31 +0800 Subject: [PATCH 04/13] Add return type for GetRandomPool function --- src/docs/repentogon_changes/ItemPool.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/docs/repentogon_changes/ItemPool.lua b/src/docs/repentogon_changes/ItemPool.lua index 26e50bc..6c5a465 100644 --- a/src/docs/repentogon_changes/ItemPool.lua +++ b/src/docs/repentogon_changes/ItemPool.lua @@ -64,6 +64,7 @@ end ---@param advancedSearch? boolean @default: false. Setting to `true` allows you to make use of the `filter` parameter. ---@param filter? ItemPoolType[] @default: {}. Normally acts as a blacklist of unwanted item pools, however setting `isWhitelist` to `true` turns it into a list from which to choose from. ---@param isWhitelist? boolean @default: false +---@return ItemPoolType function ItemPool:GetRandomPool(rng, advancedSearch, filter, isWhitelist) end @@ -144,4 +145,4 @@ end ---@param poolType ItemPoolType ---@param poolItems PoolItems | PoolItems[] @Can be either a single Lua `PoolItem` object or an array of them. All field names are case insensitive function ItemPool:RemoveTemporaryCollectible(poolType, poolItems) -end \ No newline at end of file +end From 00d482c781316cda15e6dd2d31c860e623b6b667 Mon Sep 17 00:00:00 2001 From: GoldenShit233 <54078397+GoldenShit233@users.noreply.github.com> Date: Sat, 5 Sep 2026 14:34:41 +0800 Subject: [PATCH 05/13] Add SetLastPool method to ItemPool class --- src/docs/repentogon_changes/ItemPool.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/docs/repentogon_changes/ItemPool.lua b/src/docs/repentogon_changes/ItemPool.lua index 26e50bc..f1ffa29 100644 --- a/src/docs/repentogon_changes/ItemPool.lua +++ b/src/docs/repentogon_changes/ItemPool.lua @@ -119,6 +119,10 @@ end function ItemPool:ResetCollectible(collectibleType) end +---@param itemPoolType ItemPoolType +function ItemPool:SetLastPool(itemPoolType) +end + ---@class PoolItems ---@field itemID CollectibleType? @default: `CollectibleType.COLLECTIBLE_NULL` ---@field name string? @Alternative to `itemID` @@ -144,4 +148,4 @@ end ---@param poolType ItemPoolType ---@param poolItems PoolItems | PoolItems[] @Can be either a single Lua `PoolItem` object or an array of them. All field names are case insensitive function ItemPool:RemoveTemporaryCollectible(poolType, poolItems) -end \ No newline at end of file +end From e0aed48ef92dbcf7cfc4568758448705b13c7080 Mon Sep 17 00:00:00 2001 From: GoldenShit233 <54078397+GoldenShit233@users.noreply.github.com> Date: Sat, 5 Sep 2026 14:36:02 +0800 Subject: [PATCH 06/13] Add return type to RenderToWorld function Added return type annotation for RenderToWorld function. --- src/docs/repentogon_changes/Isaac.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/docs/repentogon_changes/Isaac.lua b/src/docs/repentogon_changes/Isaac.lua index 995a446..42ff123 100644 --- a/src/docs/repentogon_changes/Isaac.lua +++ b/src/docs/repentogon_changes/Isaac.lua @@ -434,6 +434,7 @@ end --- ---More information can be obtained on [repentogon.com](https://repentogon.com/Isaac.html#rendertoworld) ---@param pos Vector +---@return Vector function Isaac.RenderToWorld(pos) end @@ -441,4 +442,4 @@ end ---@param name string ---@return string function Isaac.LoadModDataFromFolder(name) -end \ No newline at end of file +end From 20ad2c2bb0183a3acf501ecc835a4720284ac0d0 Mon Sep 17 00:00:00 2001 From: GoldenShit233 <54078397+GoldenShit233@users.noreply.github.com> Date: Sat, 5 Sep 2026 14:38:04 +0800 Subject: [PATCH 07/13] Implement GetColorParams method in Entity.lua Add GetColorParams function to Entity class. --- src/docs/repentogon_changes/entity/Entity.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/docs/repentogon_changes/entity/Entity.lua b/src/docs/repentogon_changes/entity/Entity.lua index 05a838a..c59dcd7 100644 --- a/src/docs/repentogon_changes/entity/Entity.lua +++ b/src/docs/repentogon_changes/entity/Entity.lua @@ -85,6 +85,10 @@ end function Entity:GetCollisionCapsule(vector) end +---@return ColorParams[] +function Entity:GetColorParams() +end + ---If the entity recently took damage with the DAMAGE_COUNTDOWN `DamageFlag`, ---this returns how many more frames must pass before they can take damage with ---the DAMAGE_COUNTDOWN `DamageFlag` again. @@ -412,4 +416,4 @@ end ---@return boolean function Entity:CanDevolve() -end \ No newline at end of file +end From 6f8d3c0a71ef512949da1e504508a581d21a1b80 Mon Sep 17 00:00:00 2001 From: GoldenShit233 <54078397+GoldenShit233@users.noreply.github.com> Date: Sat, 5 Sep 2026 14:39:44 +0800 Subject: [PATCH 08/13] Add return types to MakeGroundPoof function --- src/docs/repentogon_changes/entity/Entity.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/docs/repentogon_changes/entity/Entity.lua b/src/docs/repentogon_changes/entity/Entity.lua index 05a838a..a17ba5a 100644 --- a/src/docs/repentogon_changes/entity/Entity.lua +++ b/src/docs/repentogon_changes/entity/Entity.lua @@ -236,6 +236,7 @@ end ---@param position Vector? @default: `self.Position` ---@param color Color? @default: `Color.Default` ---@param scale? number @default: `1.0` +---@return EntityEffect, EntityEffect function Entity:MakeGroundPoof(position, color, scale) end @@ -412,4 +413,4 @@ end ---@return boolean function Entity:CanDevolve() -end \ No newline at end of file +end From b191bec35405bc8610a9944042b36298c0ca77de Mon Sep 17 00:00:00 2001 From: GoldenShit233 <54078397+GoldenShit233@users.noreply.github.com> Date: Sat, 5 Sep 2026 14:40:45 +0800 Subject: [PATCH 09/13] Update overload documentation for SalvageCollectible --- src/docs/repentogon_changes/entity/EntityPlayer.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/docs/repentogon_changes/entity/EntityPlayer.lua b/src/docs/repentogon_changes/entity/EntityPlayer.lua index ead0d82..f80922a 100644 --- a/src/docs/repentogon_changes/entity/EntityPlayer.lua +++ b/src/docs/repentogon_changes/entity/EntityPlayer.lua @@ -713,7 +713,7 @@ end ---@param position? Vector @default: `self.Position` ---@param rng? RNG @default: PlayerDropRNG ---@param itemPool? ItemPoolType @default: `ItemPoolType.POOL_NULL`. ----@overload fun(pickup: EntityPickup, rng?: RNG, itemPool?: ItemPoolType) +---@overload fun(self:EntityPlayer, pickup: EntityPickup, rng?: RNG, itemPool?: ItemPoolType) function EntityPlayer:SalvageCollectible(collectible, position, rng, itemPool) end @@ -1608,4 +1608,4 @@ end ---Effect duration of R U A Wizard? pill effect. Starts at `900` when the effect is activated. ---@param timer integer function EntityPlayer:SetRUAWizardTimer(timer) -end \ No newline at end of file +end From 47034e68857d20ee108267628c0cdfd307651e65 Mon Sep 17 00:00:00 2001 From: GoldenShit233 <54078397+GoldenShit233@users.noreply.github.com> Date: Sat, 5 Sep 2026 14:42:06 +0800 Subject: [PATCH 10/13] Refactor ColorParams function parameters --- src/docs/repentogon_new/ColorParams.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/docs/repentogon_new/ColorParams.lua b/src/docs/repentogon_new/ColorParams.lua index 0c350e8..bbea8c3 100644 --- a/src/docs/repentogon_new/ColorParams.lua +++ b/src/docs/repentogon_new/ColorParams.lua @@ -3,12 +3,11 @@ local ColorParams = {} ---@param color Color ---@param priority integer ----@param duration1 integer ----@param duration2 integer +---@param duration integer ---@param fadeout boolean ---@param shared boolean ---@return ColorParams -function _G.ColorParams(color, priority, duration1, duration2, fadeout, shared) +function _G.ColorParams(color, priority, duration, fadeout, shared) end ---@return Color From 71e14397b06d3060bf6b781500fd651e3cf1f6d4 Mon Sep 17 00:00:00 2001 From: GoldenShit233 <54078397+GoldenShit233@users.noreply.github.com> Date: Sat, 5 Sep 2026 14:42:42 +0800 Subject: [PATCH 11/13] Change parameter type from ColorModifier to Color --- src/docs/repentogon_new/FXLayers.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/docs/repentogon_new/FXLayers.lua b/src/docs/repentogon_new/FXLayers.lua index 64f272c..8ee8ca2 100644 --- a/src/docs/repentogon_new/FXLayers.lua +++ b/src/docs/repentogon_new/FXLayers.lua @@ -1,6 +1,6 @@ ---@class FXLayers local FXLayers = {} ----@param colorMod ColorModifier +---@param colorMod Color function FXLayers:AddPoopFx(colorMod) -end \ No newline at end of file +end From 6967f7fa8a358ee060e7d687979ac637107ffd4d Mon Sep 17 00:00:00 2001 From: GoldenShit233 <54078397+GoldenShit233@users.noreply.github.com> Date: Sat, 5 Sep 2026 14:43:58 +0800 Subject: [PATCH 12/13] Add GetModdedMenuBackgroundSprite function Added a new function to retrieve the modded character's menu background sprite. --- .../repentogon_new/entityconfig/EntityConfigPlayer.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/docs/repentogon_new/entityconfig/EntityConfigPlayer.lua b/src/docs/repentogon_new/entityconfig/EntityConfigPlayer.lua index 3f5023d..7aefd76 100644 --- a/src/docs/repentogon_new/entityconfig/EntityConfigPlayer.lua +++ b/src/docs/repentogon_new/entityconfig/EntityConfigPlayer.lua @@ -77,6 +77,13 @@ end function EntityConfigPlayer:GetModdedCoopMenuSprite() end +---Returns the Sprite used for a modded character's character select screen. +--- +---Note that this Sprite is shared by other characters from the same mod - there is an animation with the same name as this character. +---@return Sprite? `nil` for vanilla characters, or characters with no corresponding animation. +function EntityConfigPlayer:GetModdedMenuBackgroundSprite() +end + ---Returns the sprite for a modded character's game over screen (ie, their name). --- ---Note that this sprite is shared by other characters from the same mod - there is an animation with the same name as this character. From f6a54e5628f5c413b50ef6fd859b041651439216 Mon Sep 17 00:00:00 2001 From: GoldenShit233 <54078397+GoldenShit233@users.noreply.github.com> Date: Sat, 5 Sep 2026 14:44:27 +0800 Subject: [PATCH 13/13] Add Clear method to GridEntitiesSaveStateVector Added a Clear method to the GridEntitiesSaveStateVector class. --- .../repentogon_new/savestate/GridEntitiesSaveStateVector.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/docs/repentogon_new/savestate/GridEntitiesSaveStateVector.lua b/src/docs/repentogon_new/savestate/GridEntitiesSaveStateVector.lua index eb31c8a..d79fb59 100644 --- a/src/docs/repentogon_new/savestate/GridEntitiesSaveStateVector.lua +++ b/src/docs/repentogon_new/savestate/GridEntitiesSaveStateVector.lua @@ -1,6 +1,9 @@ ---@class GridEntitiesSaveStateVector local GridEntitiesSaveStateVector = {} +function GridEntitiesSaveStateVector:Clear() +end + ---TODO: Document me! ---@param index integer ---@return GridEntityDesc