isaacscript-common 11.2.0 → 11.2.1
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.
- package/dist/isaacscript-common.lua +9 -6
- package/dist/package.lua +1 -1
- package/dist/src/features/extraConsoleCommands/listCommands.d.ts.map +1 -1
- package/dist/src/features/extraConsoleCommands/listCommands.lua +7 -4
- package/package.json +1 -1
- package/src/features/extraConsoleCommands/listCommands.ts +8 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
--[[
|
|
2
2
|
|
|
3
|
-
isaacscript-common 11.2.
|
|
3
|
+
isaacscript-common 11.2.1
|
|
4
4
|
|
|
5
5
|
This is the "isaacscript-common" library, which was created with the IsaacScript tool.
|
|
6
6
|
|
|
@@ -46969,7 +46969,7 @@ return ____exports
|
|
|
46969
46969
|
["package"] = function(...)
|
|
46970
46970
|
return {
|
|
46971
46971
|
name = "isaacscript-common",
|
|
46972
|
-
version = "11.2.
|
|
46972
|
+
version = "11.2.1",
|
|
46973
46973
|
description = "Helper functions and features for IsaacScript mods.",
|
|
46974
46974
|
keywords = {"isaac", "rebirth", "afterbirth", "repentance"},
|
|
46975
46975
|
homepage = "https://isaacscript.github.io/",
|
|
@@ -51539,8 +51539,11 @@ function ____exports.damage(self, params)
|
|
|
51539
51539
|
end
|
|
51540
51540
|
v.persistent.damageAmount = num
|
|
51541
51541
|
end
|
|
51542
|
+
local player = Isaac.GetPlayer()
|
|
51543
|
+
player:AddCacheFlags(CacheFlag.DAMAGE)
|
|
51544
|
+
player:EvaluateItems()
|
|
51542
51545
|
v.persistent.damage = not v.persistent.damage
|
|
51543
|
-
printEnabled(nil, v.persistent.damage, "debug damage")
|
|
51546
|
+
printEnabled(nil, v.persistent.damage, "debug set damage")
|
|
51544
51547
|
end
|
|
51545
51548
|
--- Toggles permanent Curse of Darkness.
|
|
51546
51549
|
function ____exports.darkness(self)
|
|
@@ -51600,7 +51603,7 @@ function ____exports.flight(self, params)
|
|
|
51600
51603
|
else
|
|
51601
51604
|
removeCollectibleCostume(nil, player, collectibleUsedToShowFlight)
|
|
51602
51605
|
end
|
|
51603
|
-
printEnabled(nil, v.persistent.speed, "
|
|
51606
|
+
printEnabled(nil, v.persistent.speed, "debug set speed")
|
|
51604
51607
|
end
|
|
51605
51608
|
--- Alias for the "startingRoom" command.
|
|
51606
51609
|
function ____exports.fool(self)
|
|
@@ -52212,7 +52215,7 @@ function ____exports.speed(self, params)
|
|
|
52212
52215
|
player:EvaluateItems()
|
|
52213
52216
|
local value = tostring(v.persistent.speed)
|
|
52214
52217
|
____exports.flight(nil, value)
|
|
52215
|
-
printEnabled(nil, v.persistent.speed, "
|
|
52218
|
+
printEnabled(nil, v.persistent.speed, "debug set speed and flight")
|
|
52216
52219
|
end
|
|
52217
52220
|
--- Alias for the "startingRoom" command.
|
|
52218
52221
|
function ____exports.startRoom(self)
|
|
@@ -52238,7 +52241,7 @@ function ____exports.tears(self, params)
|
|
|
52238
52241
|
local player = Isaac.GetPlayer()
|
|
52239
52242
|
player:AddCacheFlags(CacheFlag.FIRE_DELAY)
|
|
52240
52243
|
player:EvaluateItems()
|
|
52241
|
-
printEnabled(nil, v.persistent.damage, "debug tear
|
|
52244
|
+
printEnabled(nil, v.persistent.damage, "debug set tear delay")
|
|
52242
52245
|
end
|
|
52243
52246
|
--- Alias for the "runTests" command.
|
|
52244
52247
|
function ____exports.tests(self)
|
package/dist/package.lua
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listCommands.d.ts","sourceRoot":"","sources":["../../../../src/features/extraConsoleCommands/listCommands.ts"],"names":[],"mappings":"AAwIA;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CA2C/C;AAED;;;GAGG;AACH,wBAAgB,SAAS,IAAI,IAAI,CAEhC;AAED,gEAAgE;AAChE,wBAAgB,MAAM,IAAI,IAAI,CAK7B;AAED,sEAAsE;AACtE,wBAAgB,OAAO,IA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AG,IAAI,CAE3C;AAED,qDAAqD;AACrD,wBAAgB,YAAY,IAAI,IAAI,CAEnC;AAED;;;GAGG;AACH,wBAAgB,IAAI,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAczC;AAED;;;GAGG;AACH,wBAAgB,KAAK,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAc1C;AAED,gDAAgD;AAChD,wBAAgB,UAAU,IAAI,IAAI,CAEjC;AAED,6CAA6C;AAC7C,wBAAgB,MAAM,IAAI,IAAI,CAG7B;AAED,oBAAoB;AACpB,wBAAgB,GAAG,IAAI,IAAI,CAG1B;AAED,mBAAmB;AACnB,wBAAgB,EAAE,IAAI,IAAI,CAGzB;AAED,oEAAoE;AACpE,wBAAgB,QAAQ,IAAI,IAAI,CAI/B;AAED;;;GAGG;AACH,wBAAgB,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"listCommands.d.ts","sourceRoot":"","sources":["../../../../src/features/extraConsoleCommands/listCommands.ts"],"names":[],"mappings":"AAwIA;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CA2C/C;AAED;;;GAGG;AACH,wBAAgB,SAAS,IAAI,IAAI,CAEhC;AAED,gEAAgE;AAChE,wBAAgB,MAAM,IAAI,IAAI,CAK7B;AAED,sEAAsE;AACtE,wBAAgB,OAAO,IAAI,IAAI,CAkB9B;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAEhD;AAED,+CAA+C;AAC/C,wBAAgB,WAAW,IAAI,IAAI,CAElC;AAED,4CAA4C;AAC5C,wBAAgB,KAAK,IAAI,IAAI,CAG5B;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAcjD;AAED,2CAA2C;AAC3C,wBAAgB,EAAE,IAAI,IAAI,CAEzB;AAED;;;GAGG;AACH,wBAAgB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,11 @@ function ____exports.damage(self, params)
|
|
|
594
594
|
end
|
|
595
595
|
v.persistent.damageAmount = num
|
|
596
596
|
end
|
|
597
|
+
local player = Isaac.GetPlayer()
|
|
598
|
+
player:AddCacheFlags(CacheFlag.DAMAGE)
|
|
599
|
+
player:EvaluateItems()
|
|
597
600
|
v.persistent.damage = not v.persistent.damage
|
|
598
|
-
printEnabled(nil, v.persistent.damage, "debug damage")
|
|
601
|
+
printEnabled(nil, v.persistent.damage, "debug set damage")
|
|
599
602
|
end
|
|
600
603
|
--- Toggles permanent Curse of Darkness.
|
|
601
604
|
function ____exports.darkness(self)
|
|
@@ -655,7 +658,7 @@ function ____exports.flight(self, params)
|
|
|
655
658
|
else
|
|
656
659
|
removeCollectibleCostume(nil, player, collectibleUsedToShowFlight)
|
|
657
660
|
end
|
|
658
|
-
printEnabled(nil, v.persistent.speed, "
|
|
661
|
+
printEnabled(nil, v.persistent.speed, "debug set speed")
|
|
659
662
|
end
|
|
660
663
|
--- Alias for the "startingRoom" command.
|
|
661
664
|
function ____exports.fool(self)
|
|
@@ -1267,7 +1270,7 @@ function ____exports.speed(self, params)
|
|
|
1267
1270
|
player:EvaluateItems()
|
|
1268
1271
|
local value = tostring(v.persistent.speed)
|
|
1269
1272
|
____exports.flight(nil, value)
|
|
1270
|
-
printEnabled(nil, v.persistent.speed, "
|
|
1273
|
+
printEnabled(nil, v.persistent.speed, "debug set speed and flight")
|
|
1271
1274
|
end
|
|
1272
1275
|
--- Alias for the "startingRoom" command.
|
|
1273
1276
|
function ____exports.startRoom(self)
|
|
@@ -1293,7 +1296,7 @@ function ____exports.tears(self, params)
|
|
|
1293
1296
|
local player = Isaac.GetPlayer()
|
|
1294
1297
|
player:AddCacheFlags(CacheFlag.FIRE_DELAY)
|
|
1295
1298
|
player:EvaluateItems()
|
|
1296
|
-
printEnabled(nil, v.persistent.damage, "debug tear
|
|
1299
|
+
printEnabled(nil, v.persistent.damage, "debug set tear delay")
|
|
1297
1300
|
end
|
|
1298
1301
|
--- Alias for the "runTests" command.
|
|
1299
1302
|
function ____exports.tests(self)
|
package/package.json
CHANGED
|
@@ -544,8 +544,12 @@ export function damage(params: string): void {
|
|
|
544
544
|
v.persistent.damageAmount = num;
|
|
545
545
|
}
|
|
546
546
|
|
|
547
|
+
const player = Isaac.GetPlayer();
|
|
548
|
+
player.AddCacheFlags(CacheFlag.DAMAGE);
|
|
549
|
+
player.EvaluateItems();
|
|
550
|
+
|
|
547
551
|
v.persistent.damage = !v.persistent.damage;
|
|
548
|
-
printEnabled(v.persistent.damage, "debug damage");
|
|
552
|
+
printEnabled(v.persistent.damage, "debug set damage");
|
|
549
553
|
}
|
|
550
554
|
|
|
551
555
|
/** Toggles permanent Curse of Darkness. */
|
|
@@ -631,7 +635,7 @@ export function flight(params: string): void {
|
|
|
631
635
|
removeCollectibleCostume(player, collectibleUsedToShowFlight);
|
|
632
636
|
}
|
|
633
637
|
|
|
634
|
-
printEnabled(v.persistent.speed, "
|
|
638
|
+
printEnabled(v.persistent.speed, "debug set speed");
|
|
635
639
|
}
|
|
636
640
|
|
|
637
641
|
/** Alias for the "startingRoom" command. */
|
|
@@ -1456,7 +1460,7 @@ export function speed(params: string): void {
|
|
|
1456
1460
|
const value = tostring(v.persistent.speed);
|
|
1457
1461
|
flight(value);
|
|
1458
1462
|
|
|
1459
|
-
printEnabled(v.persistent.speed, "
|
|
1463
|
+
printEnabled(v.persistent.speed, "debug set speed and flight");
|
|
1460
1464
|
}
|
|
1461
1465
|
|
|
1462
1466
|
/** Alias for the "startingRoom" command. */
|
|
@@ -1498,7 +1502,7 @@ export function tears(params: string): void {
|
|
|
1498
1502
|
player.AddCacheFlags(CacheFlag.FIRE_DELAY);
|
|
1499
1503
|
player.EvaluateItems();
|
|
1500
1504
|
|
|
1501
|
-
printEnabled(v.persistent.damage, "debug tear
|
|
1505
|
+
printEnabled(v.persistent.damage, "debug set tear delay");
|
|
1502
1506
|
}
|
|
1503
1507
|
|
|
1504
1508
|
/** Alias for the "runTests" command. */
|