isaacscript-common 1.2.73 → 1.2.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -39,7 +39,7 @@ export declare function getSurroundingGridEntities(gridEntity: GridEntity): Grid
|
|
|
39
39
|
* Returns true if there are no pressure plates in the room.
|
|
40
40
|
*/
|
|
41
41
|
export declare function isAllPressurePlatesPushed(): boolean;
|
|
42
|
-
export declare function
|
|
42
|
+
export declare function isGridEntityBreakableByExplosion(gridEntity: GridEntity): boolean;
|
|
43
43
|
/**
|
|
44
44
|
* Helper function to see if the provided gridEntity is in its respective broken state. See the
|
|
45
45
|
* `GRID_ENTITY_TYPE_TO_BROKEN_STATE_MAP` constant for more details.
|
|
@@ -186,7 +186,7 @@ function ____exports.isAllPressurePlatesPushed(self)
|
|
|
186
186
|
end
|
|
187
187
|
)
|
|
188
188
|
end
|
|
189
|
-
function ____exports.
|
|
189
|
+
function ____exports.isGridEntityBreakableByExplosion(self, gridEntity)
|
|
190
190
|
local gridEntityType = gridEntity:GetType()
|
|
191
191
|
local gridEntityVariant = gridEntity:GetVariant()
|
|
192
192
|
local gridEntityTypeVariant = (tostring(gridEntityType) .. ".") .. tostring(gridEntityVariant)
|