isaacscript-common 1.0.545 → 1.0.546
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.
|
@@ -161,7 +161,14 @@ function ____exports.removeAllMatchingGridEntities(self, ...)
|
|
|
161
161
|
end
|
|
162
162
|
function ____exports.setGridEntityInvisible(self, gridEntity)
|
|
163
163
|
local sprite = gridEntity:GetSprite()
|
|
164
|
-
sprite:
|
|
164
|
+
local numLayers = sprite:GetLayerCount()
|
|
165
|
+
do
|
|
166
|
+
local i = 0
|
|
167
|
+
while i < numLayers do
|
|
168
|
+
sprite:ReplaceSpritesheet(i, EMPTY_PNG_PATH)
|
|
169
|
+
i = i + 1
|
|
170
|
+
end
|
|
171
|
+
end
|
|
165
172
|
sprite:LoadGraphics()
|
|
166
173
|
end
|
|
167
174
|
function ____exports.spawnGiantPoop(self, topLeftGridIndex)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "isaacscript-common",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.546",
|
|
4
4
|
"description": "Helper functions for IsaacScript mods",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"isaac",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"dist/**/*.d.ts"
|
|
26
26
|
],
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"isaac-typescript-definitions": "^1.0.
|
|
28
|
+
"isaac-typescript-definitions": "^1.0.307",
|
|
29
29
|
"isaacscript-lint": "^1.0.73",
|
|
30
30
|
"typedoc": "^0.22.10",
|
|
31
31
|
"typescript": "4.4.4",
|