isaacscript-common 9.8.2 → 9.8.3

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.
@@ -282,7 +282,7 @@ end
282
282
  --- Toggles permanent Curse of the Blind.
283
283
  function ____exports.blind(self)
284
284
  v.persistent.blind = not v.persistent.blind
285
- printEnabled(nil, not v.persistent.blind, "permanent Curse of the Blind")
285
+ printEnabled(nil, v.persistent.blind, "permanent Curse of the Blind")
286
286
  end
287
287
  --- Gives a blood charge. This only affects Bethany. Provide a number to give a custom amount of
288
288
  -- charges. (You can use negative numbers to remove charges.)
@@ -505,7 +505,7 @@ end
505
505
  --- Toggles permanent Curse of the Cursed.
506
506
  function ____exports.cursed(self)
507
507
  v.persistent.cursed = not v.persistent.cursed
508
- printEnabled(nil, not v.persistent.cursed, "permanent Curse of the Cursed")
508
+ printEnabled(nil, v.persistent.cursed, "permanent Curse of the Cursed")
509
509
  end
510
510
  --- Uses the D20.
511
511
  function ____exports.d20(self)
@@ -531,7 +531,7 @@ end
531
531
  --- Toggles permanent Curse of Darkness.
532
532
  function ____exports.darkness(self)
533
533
  v.persistent.darkness = not v.persistent.darkness
534
- printEnabled(nil, not v.persistent.darkness, "permanent Curse of Darkness")
534
+ printEnabled(nil, v.persistent.darkness, "permanent Curse of Darkness")
535
535
  end
536
536
  --- Alias for the "devil" command.
537
537
  function ____exports.dd(self)
@@ -611,7 +611,7 @@ end
611
611
  --- Toggles permanent Curse of the Giant.
612
612
  function ____exports.giant(self)
613
613
  v.persistent.giant = not v.persistent.giant
614
- printEnabled(nil, not v.persistent.giant, "permanent Curse of the Giant")
614
+ printEnabled(nil, v.persistent.giant, "permanent Curse of the Giant")
615
615
  end
616
616
  --- Gives a Giga Bomb. Provide a number to give a custom amount of Giga Bombs. (You can use negative
617
617
  -- numbers to remove bombs.)
@@ -715,7 +715,7 @@ end
715
715
  --- Toggles permanent Curse of the Labyrinth.
716
716
  function ____exports.labyrinth(self)
717
717
  v.persistent.labyrinth = not v.persistent.labyrinth
718
- printEnabled(nil, not v.persistent.labyrinth, "permanent Curse of the Labyrinth")
718
+ printEnabled(nil, v.persistent.labyrinth, "permanent Curse of the Labyrinth")
719
719
  end
720
720
  --- Moves the player 0.5 units left. Provide a number to move a custom amount of units.
721
721
  function ____exports.left(self, params)
@@ -754,7 +754,7 @@ end
754
754
  --- Toggles permanent Curse of the Lost.
755
755
  function ____exports.lost(self)
756
756
  v.persistent.lost = not v.persistent.lost
757
- printEnabled(nil, not v.persistent.lost, "permanent Curse of the Lost")
757
+ printEnabled(nil, v.persistent.lost, "permanent Curse of the Lost")
758
758
  end
759
759
  --- Alias for the "1hp" command.
760
760
  function ____exports.lowHP(self)
@@ -786,7 +786,7 @@ end
786
786
  --- Toggles permanent Curse of the Maze.
787
787
  function ____exports.maze(self)
788
788
  v.persistent.maze = not v.persistent.maze
789
- printEnabled(nil, not v.persistent.maze, "permanent Curse of the Maze")
789
+ printEnabled(nil, v.persistent.maze, "permanent Curse of the Maze")
790
790
  end
791
791
  --- Warps to the first Miniboss Room on the floor.
792
792
  function ____exports.miniboss(self)
@@ -1163,7 +1163,7 @@ end
1163
1163
  --- Toggles permanent Curse of the Unknown.
1164
1164
  function ____exports.unknown(self)
1165
1165
  v.persistent.unknown = not v.persistent.unknown
1166
- printEnabled(nil, not v.persistent.unknown, "permanent Curse of the Unknown")
1166
+ printEnabled(nil, v.persistent.unknown, "permanent Curse of the Unknown")
1167
1167
  end
1168
1168
  --- If currently on a set seed, changes to an unseeded state and restarts the game.
1169
1169
  function ____exports.unseed(self)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript-common",
3
- "version": "9.8.2",
3
+ "version": "9.8.3",
4
4
  "description": "Helper functions and features for IsaacScript mods.",
5
5
  "keywords": [
6
6
  "isaac",
@@ -227,7 +227,7 @@ export function blackMarket(): void {
227
227
  /** Toggles permanent Curse of the Blind. */
228
228
  export function blind(): void {
229
229
  v.persistent.blind = !v.persistent.blind;
230
- printEnabled(!v.persistent.blind, "permanent Curse of the Blind");
230
+ printEnabled(v.persistent.blind, "permanent Curse of the Blind");
231
231
  }
232
232
 
233
233
  /**
@@ -497,7 +497,7 @@ export function crawlSpace(): void {
497
497
  /** Toggles permanent Curse of the Cursed. */
498
498
  export function cursed(): void {
499
499
  v.persistent.cursed = !v.persistent.cursed;
500
- printEnabled(!v.persistent.cursed, "permanent Curse of the Cursed");
500
+ printEnabled(v.persistent.cursed, "permanent Curse of the Cursed");
501
501
  }
502
502
 
503
503
  /** Uses the D20. */
@@ -528,7 +528,7 @@ export function damage(): void {
528
528
  /** Toggles permanent Curse of Darkness. */
529
529
  export function darkness(): void {
530
530
  v.persistent.darkness = !v.persistent.darkness;
531
- printEnabled(!v.persistent.darkness, "permanent Curse of Darkness");
531
+ printEnabled(v.persistent.darkness, "permanent Curse of Darkness");
532
532
  }
533
533
 
534
534
  /** Alias for the "devil" command. */
@@ -645,7 +645,7 @@ export function getPosition(): void {
645
645
  /** Toggles permanent Curse of the Giant. */
646
646
  export function giant(): void {
647
647
  v.persistent.giant = !v.persistent.giant;
648
- printEnabled(!v.persistent.giant, "permanent Curse of the Giant");
648
+ printEnabled(v.persistent.giant, "permanent Curse of the Giant");
649
649
  }
650
650
 
651
651
  /**
@@ -801,7 +801,7 @@ export function keys(params: string): void {
801
801
  /** Toggles permanent Curse of the Labyrinth. */
802
802
  export function labyrinth(): void {
803
803
  v.persistent.labyrinth = !v.persistent.labyrinth;
804
- printEnabled(!v.persistent.labyrinth, "permanent Curse of the Labyrinth");
804
+ printEnabled(v.persistent.labyrinth, "permanent Curse of the Labyrinth");
805
805
  }
806
806
 
807
807
  /** Moves the player 0.5 units left. Provide a number to move a custom amount of units. */
@@ -855,7 +855,7 @@ export function listGridAll(params: string): void {
855
855
  /** Toggles permanent Curse of the Lost. */
856
856
  export function lost(): void {
857
857
  v.persistent.lost = !v.persistent.lost;
858
- printEnabled(!v.persistent.lost, "permanent Curse of the Lost");
858
+ printEnabled(v.persistent.lost, "permanent Curse of the Lost");
859
859
  }
860
860
 
861
861
  /** Alias for the "1hp" command. */
@@ -903,7 +903,7 @@ export function maxHearts(params: string): void {
903
903
  /** Toggles permanent Curse of the Maze. */
904
904
  export function maze(): void {
905
905
  v.persistent.maze = !v.persistent.maze;
906
- printEnabled(!v.persistent.maze, "permanent Curse of the Maze");
906
+ printEnabled(v.persistent.maze, "permanent Curse of the Maze");
907
907
  }
908
908
 
909
909
  /** Warps to the first Miniboss Room on the floor. */
@@ -1403,7 +1403,7 @@ export function ultraSecretRoom(): void {
1403
1403
  /** Toggles permanent Curse of the Unknown. */
1404
1404
  export function unknown(): void {
1405
1405
  v.persistent.unknown = !v.persistent.unknown;
1406
- printEnabled(!v.persistent.unknown, "permanent Curse of the Unknown");
1406
+ printEnabled(v.persistent.unknown, "permanent Curse of the Unknown");
1407
1407
  }
1408
1408
 
1409
1409
  /** If currently on a set seed, changes to an unseeded state and restarts the game. */