isaacscript-common 20.3.1 → 20.4.0

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.
Files changed (64) hide show
  1. package/dist/index.d.ts +111 -53
  2. package/dist/isaacscript-common.lua +414 -389
  3. package/dist/src/classes/callbacks/PostSlotDestroyed.d.ts +0 -8
  4. package/dist/src/classes/callbacks/PostSlotDestroyed.d.ts.map +1 -1
  5. package/dist/src/classes/callbacks/PostSlotDestroyed.lua +3 -51
  6. package/dist/src/classes/features/callbackLogic/SlotDestroyedDetection.d.ts +36 -0
  7. package/dist/src/classes/features/callbackLogic/SlotDestroyedDetection.d.ts.map +1 -0
  8. package/dist/src/classes/features/callbackLogic/SlotDestroyedDetection.lua +91 -0
  9. package/dist/src/classes/features/other/ExtraConsoleCommands.d.ts.map +1 -1
  10. package/dist/src/classes/features/other/ExtraConsoleCommands.lua +2 -3
  11. package/dist/src/classes/features/other/RoomHistory.d.ts.map +1 -1
  12. package/dist/src/classes/features/other/RoomHistory.lua +6 -1
  13. package/dist/src/classes/features/other/SaveDataManager.d.ts +3 -2
  14. package/dist/src/classes/features/other/SaveDataManager.d.ts.map +1 -1
  15. package/dist/src/classes/features/other/extraConsoleCommands/commands.d.ts.map +1 -1
  16. package/dist/src/classes/features/other/extraConsoleCommands/commands.lua +69 -127
  17. package/dist/src/classes/features/other/extraConsoleCommands/subroutines.d.ts.map +1 -1
  18. package/dist/src/classes/features/other/extraConsoleCommands/subroutines.lua +11 -22
  19. package/dist/src/enums/ISCFeature.d.ts +44 -43
  20. package/dist/src/enums/ISCFeature.d.ts.map +1 -1
  21. package/dist/src/enums/ISCFeature.lua +45 -43
  22. package/dist/src/enums/ModCallbackCustom.d.ts +5 -1
  23. package/dist/src/enums/ModCallbackCustom.d.ts.map +1 -1
  24. package/dist/src/enums/SlotDestructionType.d.ts +13 -0
  25. package/dist/src/enums/SlotDestructionType.d.ts.map +1 -1
  26. package/dist/src/features.d.ts +46 -43
  27. package/dist/src/features.d.ts.map +1 -1
  28. package/dist/src/features.lua +3 -0
  29. package/dist/src/functions/deepCopyTests.d.ts.map +1 -1
  30. package/dist/src/functions/deepCopyTests.lua +1 -3
  31. package/dist/src/functions/logMisc.d.ts.map +1 -1
  32. package/dist/src/functions/logMisc.lua +1 -3
  33. package/dist/src/functions/mergeTests.d.ts.map +1 -1
  34. package/dist/src/functions/mergeTests.lua +2 -5
  35. package/dist/src/functions/slots.d.ts +4 -0
  36. package/dist/src/functions/slots.d.ts.map +1 -0
  37. package/dist/src/functions/slots.lua +27 -0
  38. package/dist/src/functions/utils.d.ts +3 -4
  39. package/dist/src/functions/utils.d.ts.map +1 -1
  40. package/dist/src/functions/utils.lua +8 -6
  41. package/dist/src/index.d.ts +1 -0
  42. package/dist/src/index.d.ts.map +1 -1
  43. package/dist/src/index.lua +8 -0
  44. package/dist/src/interfaces/RoomDescription.d.ts +1 -0
  45. package/dist/src/interfaces/RoomDescription.d.ts.map +1 -1
  46. package/package.json +1 -1
  47. package/src/classes/callbacks/PostSlotDestroyed.ts +2 -72
  48. package/src/classes/features/callbackLogic/SlotDestroyedDetection.ts +163 -0
  49. package/src/classes/features/other/ExtraConsoleCommands.ts +3 -6
  50. package/src/classes/features/other/RoomHistory.ts +6 -0
  51. package/src/classes/features/other/SaveDataManager.ts +3 -2
  52. package/src/classes/features/other/extraConsoleCommands/commands.ts +70 -78
  53. package/src/classes/features/other/extraConsoleCommands/subroutines.ts +11 -12
  54. package/src/enums/ISCFeature.ts +1 -0
  55. package/src/enums/ModCallbackCustom.ts +5 -1
  56. package/src/enums/SlotDestructionType.ts +14 -0
  57. package/src/features.ts +6 -0
  58. package/src/functions/deepCopyTests.ts +1 -2
  59. package/src/functions/logMisc.ts +1 -2
  60. package/src/functions/mergeTests.ts +2 -4
  61. package/src/functions/slots.ts +23 -0
  62. package/src/functions/utils.ts +7 -6
  63. package/src/index.ts +1 -0
  64. package/src/interfaces/RoomDescription.ts +1 -0
@@ -2,15 +2,7 @@ import { ModCallbackCustom } from "../../enums/ModCallbackCustom";
2
2
  import { shouldFireSlot } from "../../shouldFire";
3
3
  import { CustomCallback } from "../private/CustomCallback";
4
4
  export declare class PostSlotDestroyed extends CustomCallback<ModCallbackCustom.POST_SLOT_DESTROYED> {
5
- v: {
6
- room: {
7
- brokenSlots: Set<PtrHash>;
8
- slotPrizeAnimationGameFrame: Map<PtrHash, number>;
9
- };
10
- };
11
5
  constructor();
12
6
  protected shouldFire: typeof shouldFireSlot;
13
- private postEntityRemoveSlot;
14
- private postSlotAnimationChanged;
15
7
  }
16
8
  //# sourceMappingURL=PostSlotDestroyed.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PostSlotDestroyed.d.ts","sourceRoot":"","sources":["../../../../src/classes/callbacks/PostSlotDestroyed.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAElE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAI3D,qBAAa,iBAAkB,SAAQ,cAAc,CAAC,iBAAiB,CAAC,mBAAmB,CAAC;IAC1E,CAAC;;;;;MAKf;;IAsBF,UAAmB,UAAU,wBAAkB;IAI/C,OAAO,CAAC,oBAAoB,CAa1B;IAGF,OAAO,CAAC,wBAAwB,CAqB9B;CACH"}
1
+ {"version":3,"file":"PostSlotDestroyed.d.ts","sourceRoot":"","sources":["../../../../src/classes/callbacks/PostSlotDestroyed.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,qBAAa,iBAAkB,SAAQ,cAAc,CAAC,iBAAiB,CAAC,mBAAmB,CAAC;;IAO1F,UAAmB,UAAU,wBAAkB;CAChD"}
@@ -1,68 +1,20 @@
1
1
  local ____lualib = require("lualib_bundle")
2
2
  local __TS__Class = ____lualib.__TS__Class
3
3
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
4
- local Set = ____lualib.Set
5
- local __TS__New = ____lualib.__TS__New
6
- local Map = ____lualib.Map
7
4
  local ____exports = {}
8
- local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
9
- local EntityGridCollisionClass = ____isaac_2Dtypescript_2Ddefinitions.EntityGridCollisionClass
10
- local EntityType = ____isaac_2Dtypescript_2Ddefinitions.EntityType
11
- local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
12
- local ____cachedClasses = require("src.core.cachedClasses")
13
- local game = ____cachedClasses.game
14
- local ____ModCallbackCustom = require("src.enums.ModCallbackCustom")
15
- local ModCallbackCustom = ____ModCallbackCustom.ModCallbackCustom
16
- local ____SlotDestructionType = require("src.enums.SlotDestructionType")
17
- local SlotDestructionType = ____SlotDestructionType.SlotDestructionType
5
+ local ____ISCFeature = require("src.enums.ISCFeature")
6
+ local ISCFeature = ____ISCFeature.ISCFeature
18
7
  local ____shouldFire = require("src.shouldFire")
19
8
  local shouldFireSlot = ____shouldFire.shouldFireSlot
20
9
  local ____CustomCallback = require("src.classes.private.CustomCallback")
21
10
  local CustomCallback = ____CustomCallback.CustomCallback
22
- local PRIZE_GAME_FRAME_DELAY_UNTIL_REMOVAL = 3
23
11
  ____exports.PostSlotDestroyed = __TS__Class()
24
12
  local PostSlotDestroyed = ____exports.PostSlotDestroyed
25
13
  PostSlotDestroyed.name = "PostSlotDestroyed"
26
14
  __TS__ClassExtends(PostSlotDestroyed, CustomCallback)
27
15
  function PostSlotDestroyed.prototype.____constructor(self)
28
16
  CustomCallback.prototype.____constructor(self)
29
- self.v = {room = {
30
- brokenSlots = __TS__New(Set),
31
- slotPrizeAnimationGameFrame = __TS__New(Map)
32
- }}
33
17
  self.shouldFire = shouldFireSlot
34
- self.postEntityRemoveSlot = function(____, entity)
35
- local slot = entity
36
- local ptrHash = GetPtrHash(slot)
37
- local gameFrameCount = game:GetFrameCount()
38
- local prizeFrame = self.v.room.slotPrizeAnimationGameFrame:get(ptrHash)
39
- if prizeFrame == nil then
40
- return
41
- end
42
- if prizeFrame + PRIZE_GAME_FRAME_DELAY_UNTIL_REMOVAL == gameFrameCount then
43
- self:fire(slot, SlotDestructionType.COLLECTIBLE_PAYOUT)
44
- end
45
- end
46
- self.postSlotAnimationChanged = function(____, slot)
47
- local ptrHash = GetPtrHash(slot)
48
- local gameFrameCount = game:GetFrameCount()
49
- local alreadyBroken = self.v.room.brokenSlots:has(ptrHash)
50
- if alreadyBroken then
51
- return
52
- end
53
- if slot.GridCollisionClass == EntityGridCollisionClass.GROUND then
54
- self.v.room.brokenSlots:add(ptrHash)
55
- self:fire(slot, SlotDestructionType.NORMAL)
56
- end
57
- local sprite = slot:GetSprite()
58
- local animation = sprite:GetAnimation()
59
- if animation == "Prize" then
60
- self.v.room.slotPrizeAnimationGameFrame:set(ptrHash, gameFrameCount)
61
- else
62
- self.v.room.slotPrizeAnimationGameFrame:delete(ptrHash)
63
- end
64
- end
65
- self.callbacksUsed = {{ModCallback.POST_ENTITY_REMOVE, self.postEntityRemoveSlot, {EntityType.SLOT}}}
66
- self.customCallbacksUsed = {{ModCallbackCustom.POST_SLOT_ANIMATION_CHANGED, self.postSlotAnimationChanged}}
18
+ self.featuresUsed = {ISCFeature.SLOT_DESTROYED_DETECTION}
67
19
  end
68
20
  return ____exports
@@ -0,0 +1,36 @@
1
+ /// <reference types="isaac-typescript-definitions" />
2
+ /// <reference types="isaac-typescript-definitions" />
3
+ /// <reference types="isaac-typescript-definitions" />
4
+ import { PostSlotDestroyed } from "../../callbacks/PostSlotDestroyed";
5
+ import { Feature } from "../../private/Feature";
6
+ import { RoomHistory } from "../other/RoomHistory";
7
+ type DespawnedSlotTuple = [
8
+ gameFrame: int,
9
+ position: Vector,
10
+ entityPtr: EntityPtr
11
+ ];
12
+ export declare class SlotDestroyedDetection extends Feature {
13
+ v: {
14
+ room: {
15
+ destroyedSlotSet: Set<PtrHash>;
16
+ despawnedSlots: DespawnedSlotTuple[];
17
+ };
18
+ };
19
+ private postSlotDestroyed;
20
+ private roomHistory;
21
+ constructor(postSlotDestroyed: PostSlotDestroyed, roomHistory: RoomHistory);
22
+ private postPickupInitCollectible;
23
+ private postEntityRemoveSlot;
24
+ private postEntityRemoveSlotMachine;
25
+ private postEntityRemoveBeggar;
26
+ private postSlotUpdate;
27
+ /**
28
+ * Slots normally have an entity collision class of `EntityCollisionClass.ALL` (4) and a grid
29
+ * collision class of `EntityGridCollisionClass.NONE` (0). When they are destroyed with a bomb,
30
+ * the entity collision class stays the same, but the grid collision class switches to
31
+ * `EntityGridCollisionClass.GROUND` (5).
32
+ */
33
+ private checkDestroyedFromCollisionClass;
34
+ }
35
+ export {};
36
+ //# sourceMappingURL=SlotDestroyedDetection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SlotDestroyedDetection.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/callbackLogic/SlotDestroyedDetection.ts"],"names":[],"mappings":";;;AA0BA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD,KAAK,kBAAkB,GAAG;IACxB,SAAS,EAAE,GAAG;IACd,QAAQ,EAAE,MAAM;IAChB,SAAS,EAAE,SAAS;CACrB,CAAC;AAEF,qBAAa,sBAAuB,SAAQ,OAAO;IACjC,CAAC;;;;;MAKf;IAEF,OAAO,CAAC,iBAAiB,CAAoB;IAC7C,OAAO,CAAC,WAAW,CAAc;gBAErB,iBAAiB,EAAE,iBAAiB,EAAE,WAAW,EAAE,WAAW;IA6B1E,OAAO,CAAC,yBAAyB,CAoB/B;IAIF,OAAO,CAAC,oBAAoB,CAc1B;IAEF,OAAO,CAAC,2BAA2B;IAWnC,OAAO,CAAC,sBAAsB;IAW9B,OAAO,CAAC,cAAc,CASpB;IAEF;;;;;OAKG;IACH,OAAO,CAAC,gCAAgC;CAOzC"}
@@ -0,0 +1,91 @@
1
+ local ____lualib = require("lualib_bundle")
2
+ local __TS__Class = ____lualib.__TS__Class
3
+ local __TS__ClassExtends = ____lualib.__TS__ClassExtends
4
+ local Set = ____lualib.Set
5
+ local __TS__New = ____lualib.__TS__New
6
+ local ____exports = {}
7
+ local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
8
+ local EntityGridCollisionClass = ____isaac_2Dtypescript_2Ddefinitions.EntityGridCollisionClass
9
+ local EntityType = ____isaac_2Dtypescript_2Ddefinitions.EntityType
10
+ local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
11
+ local PickupVariant = ____isaac_2Dtypescript_2Ddefinitions.PickupVariant
12
+ local ____cachedClasses = require("src.core.cachedClasses")
13
+ local game = ____cachedClasses.game
14
+ local ____ModCallbackCustom = require("src.enums.ModCallbackCustom")
15
+ local ModCallbackCustom = ____ModCallbackCustom.ModCallbackCustom
16
+ local ____SlotDestructionType = require("src.enums.SlotDestructionType")
17
+ local SlotDestructionType = ____SlotDestructionType.SlotDestructionType
18
+ local ____slots = require("src.functions.slots")
19
+ local isSlotMachine = ____slots.isSlotMachine
20
+ local ____vector = require("src.functions.vector")
21
+ local vectorEquals = ____vector.vectorEquals
22
+ local ____Feature = require("src.classes.private.Feature")
23
+ local Feature = ____Feature.Feature
24
+ ____exports.SlotDestroyedDetection = __TS__Class()
25
+ local SlotDestroyedDetection = ____exports.SlotDestroyedDetection
26
+ SlotDestroyedDetection.name = "SlotDestroyedDetection"
27
+ __TS__ClassExtends(SlotDestroyedDetection, Feature)
28
+ function SlotDestroyedDetection.prototype.____constructor(self, postSlotDestroyed, roomHistory)
29
+ Feature.prototype.____constructor(self)
30
+ self.v = {room = {
31
+ destroyedSlotSet = __TS__New(Set),
32
+ despawnedSlots = {}
33
+ }}
34
+ self.postPickupInitCollectible = function(____, pickup)
35
+ local gameFrameCount = game:GetFrameCount()
36
+ for ____, despawnedSlotTuple in ipairs(self.v.room.despawnedSlots) do
37
+ local gameFrame, position, entityPtr = table.unpack(despawnedSlotTuple)
38
+ if gameFrame == gameFrameCount and vectorEquals(nil, position, pickup.Position) then
39
+ local entity = entityPtr.Ref
40
+ if entity ~= nil then
41
+ local slot = entity
42
+ self.postSlotDestroyed:fire(slot, SlotDestructionType.COLLECTIBLE_PAYOUT)
43
+ end
44
+ end
45
+ end
46
+ end
47
+ self.postEntityRemoveSlot = function(____, entity)
48
+ local slot = entity
49
+ if self.roomHistory:isLeavingRoom() then
50
+ return
51
+ end
52
+ if isSlotMachine(nil, slot) then
53
+ self:postEntityRemoveSlotMachine(slot)
54
+ else
55
+ self:postEntityRemoveBeggar(slot)
56
+ end
57
+ end
58
+ self.postSlotUpdate = function(____, slot)
59
+ local ptrHash = GetPtrHash(slot)
60
+ local alreadyDestroyed = self.v.room.destroyedSlotSet:has(ptrHash)
61
+ if alreadyDestroyed then
62
+ return
63
+ end
64
+ self:checkDestroyedFromCollisionClass(slot)
65
+ end
66
+ self.callbacksUsed = {{ModCallback.POST_PICKUP_INIT, self.postPickupInitCollectible, {PickupVariant.COLLECTIBLE}}, {ModCallback.POST_ENTITY_REMOVE, self.postEntityRemoveSlot, {EntityType.SLOT}}}
67
+ self.customCallbacksUsed = {{ModCallbackCustom.POST_SLOT_UPDATE, self.postSlotUpdate}}
68
+ self.postSlotDestroyed = postSlotDestroyed
69
+ self.roomHistory = roomHistory
70
+ end
71
+ function SlotDestroyedDetection.prototype.postEntityRemoveSlotMachine(self, slot)
72
+ local gameFrameCount = game:GetFrameCount()
73
+ local entityPtr = EntityPtr(slot)
74
+ local despawnedSlotTuple = {gameFrameCount, slot.Position, entityPtr}
75
+ local ____self_v_room_despawnedSlots_0 = self.v.room.despawnedSlots
76
+ ____self_v_room_despawnedSlots_0[#____self_v_room_despawnedSlots_0 + 1] = despawnedSlotTuple
77
+ end
78
+ function SlotDestroyedDetection.prototype.postEntityRemoveBeggar(self, slot)
79
+ local sprite = slot:GetSprite()
80
+ local animation = sprite:GetAnimation()
81
+ local slotDestructionType = animation == "Teleport" and SlotDestructionType.COLLECTIBLE_PAYOUT or SlotDestructionType.NORMAL
82
+ self.postSlotDestroyed:fire(slot, slotDestructionType)
83
+ end
84
+ function SlotDestroyedDetection.prototype.checkDestroyedFromCollisionClass(self, slot)
85
+ if slot.GridCollisionClass == EntityGridCollisionClass.GROUND then
86
+ local ptrHash = GetPtrHash(slot)
87
+ self.v.room.destroyedSlotSet:add(ptrHash)
88
+ self.postSlotDestroyed:fire(slot, SlotDestructionType.NORMAL)
89
+ end
90
+ end
91
+ return ____exports
@@ -1 +1 @@
1
- {"version":3,"file":"ExtraConsoleCommands.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/ExtraConsoleCommands.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAIhD,qBAAa,oBAAqB,SAAQ,OAAO;IAI/C,OAAO,CAAC,kBAAkB,CAA+C;IA0DzE,OAAO,CAAC,UAAU,CAKhB;IAIF,OAAO,CAAC,mBAAmB,CAIzB;IAIF,OAAO,CAAC,sBAAsB,CAI5B;IAIF,OAAO,CAAC,kBAAkB,CAIxB;IAIF,OAAO,CAAC,mBAAmB,CAIzB;IAGF,OAAO,CAAC,aAAa,CAkDnB;IAGF,OAAO,CAAC,UAAU,CAUhB;IAGF,OAAO,CAAC,YAAY,CAIlB;IAGF,OAAO,CAAC,mBAAmB,CAYzB;IAEF;;;;;;;;;;OAUG;IAEI,iBAAiB,CACtB,WAAW,EAAE,MAAM,EACnB,eAAe,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,GACxC,IAAI;IAgBP;;;;;;;;OAQG;IAEI,oBAAoB,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI;CASvD"}
1
+ {"version":3,"file":"ExtraConsoleCommands.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/ExtraConsoleCommands.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAIhD,qBAAa,oBAAqB,SAAQ,OAAO;IAI/C,OAAO,CAAC,kBAAkB,CAA+C;IA0DzE,OAAO,CAAC,UAAU,CAKhB;IAIF,OAAO,CAAC,mBAAmB,CAIzB;IAIF,OAAO,CAAC,sBAAsB,CAI5B;IAIF,OAAO,CAAC,kBAAkB,CAIxB;IAIF,OAAO,CAAC,mBAAmB,CAIzB;IAGF,OAAO,CAAC,aAAa,CAkDnB;IAGF,OAAO,CAAC,UAAU,CAUhB;IAGF,OAAO,CAAC,YAAY,CAIlB;IAGF,OAAO,CAAC,mBAAmB,CAYzB;IAEF;;;;;;;;;;OAUG;IAEI,iBAAiB,CACtB,WAAW,EAAE,MAAM,EACnB,eAAe,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,GACxC,IAAI;IAgBP;;;;;;;;OAQG;IAEI,oBAAoB,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI;CASvD"}
@@ -23,7 +23,6 @@ local ____map = require("src.functions.map")
23
23
  local getMapPartialMatch = ____map.getMapPartialMatch
24
24
  local ____utils = require("src.functions.utils")
25
25
  local isVanillaConsoleCommand = ____utils.isVanillaConsoleCommand
26
- local printConsole = ____utils.printConsole
27
26
  local ____Feature = require("src.classes.private.Feature")
28
27
  local Feature = ____Feature.Feature
29
28
  local commands = require("src.classes.features.other.extraConsoleCommands.commands")
@@ -103,11 +102,11 @@ function ExtraConsoleCommands.prototype.____constructor(self)
103
102
  self.executeCmd = function(____, command, params)
104
103
  local resultTuple = getMapPartialMatch(nil, command, self.commandFunctionMap)
105
104
  if resultTuple == nil then
106
- printConsole(nil, "That is an invalid console command.")
105
+ print("That is an invalid console command.")
107
106
  return
108
107
  end
109
108
  local commandName, commandFunction = table.unpack(resultTuple)
110
- printConsole(nil, "Command: " .. commandName)
109
+ print("Command: " .. commandName)
111
110
  commandFunction(nil, params)
112
111
  end
113
112
  self.postFireTear = function(____, tear)
@@ -1 +1 @@
1
- {"version":3,"file":"RoomHistory.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/RoomHistory.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AACtE,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,qBAAa,WAAY,SAAQ,OAAO;IAkBtC,OAAO,CAAC,gBAAgB,CA6BtB;IAEF;;;;;OAKG;IAEI,cAAc,IAAI,aAAa,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC;IAIjE;;;;;;;OAOG;IAEI,0BAA0B,IAAI,QAAQ,CAAC,eAAe,CAAC;IAiB9D;;;;;;;;;;OAUG;IAEI,wBAAwB,IAAI,QAAQ,CAAC,eAAe,CAAC,GAAG,SAAS;IAIxE;;;;;;;;;;OAUG;IAEI,aAAa,IAAI,OAAO;CAqBhC"}
1
+ {"version":3,"file":"RoomHistory.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/RoomHistory.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AACtE,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,qBAAa,WAAY,SAAQ,OAAO;IAkBtC,OAAO,CAAC,gBAAgB,CAgCtB;IAEF;;;;;OAKG;IAEI,cAAc,IAAI,aAAa,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC;IAIjE;;;;;;;OAOG;IAEI,0BAA0B,IAAI,QAAQ,CAAC,eAAe,CAAC;IAiB9D;;;;;;;;;;OAUG;IAEI,wBAAwB,IAAI,QAAQ,CAAC,eAAe,CAAC,GAAG,SAAS;IAIxE;;;;;;;;;;OAUG;IAEI,aAAa,IAAI,OAAO;CAwBhC"}
@@ -36,6 +36,8 @@ function RoomHistory.prototype.____constructor(self)
36
36
  local stageType = level:GetStageType()
37
37
  local room = game:GetRoom()
38
38
  local roomType = room:GetType()
39
+ local seeds = game:GetSeeds()
40
+ local startSeedString = seeds:GetStartSeedString()
39
41
  local stageID = getRoomStageID(nil)
40
42
  local dimension = getDimension(nil)
41
43
  local roomVariant = getRoomVariant(nil)
@@ -45,6 +47,7 @@ function RoomHistory.prototype.____constructor(self)
45
47
  local roomListIndex = getRoomListIndex(nil)
46
48
  local roomVisitedCount = getRoomVisitedCount(nil)
47
49
  local roomDescription = {
50
+ startSeedString = startSeedString,
48
51
  stage = stage,
49
52
  stageType = stageType,
50
53
  stageID = stageID,
@@ -83,13 +86,15 @@ function RoomHistory.prototype.isLeavingRoom(self)
83
86
  local level = game:GetLevel()
84
87
  local stage = level:GetStage()
85
88
  local stageType = level:GetStageType()
89
+ local seeds = game:GetSeeds()
90
+ local startSeedString = seeds:GetStartSeedString()
86
91
  local roomListIndex = getRoomListIndex(nil)
87
92
  local roomVisitedCount = getRoomVisitedCount(nil)
88
93
  local latestRoomDescription = self:getLatestRoomDescription()
89
94
  if latestRoomDescription == nil then
90
95
  return false
91
96
  end
92
- return stage ~= latestRoomDescription.stage or stageType ~= latestRoomDescription.stageType or roomListIndex ~= latestRoomDescription.roomListIndex or roomVisitedCount ~= latestRoomDescription.roomVisitedCount
97
+ return startSeedString ~= latestRoomDescription.startSeedString or stage ~= latestRoomDescription.stage or stageType ~= latestRoomDescription.stageType or roomListIndex ~= latestRoomDescription.roomListIndex or roomVisitedCount ~= latestRoomDescription.roomVisitedCount
93
98
  end
94
99
  __TS__Decorate({Exported}, RoomHistory.prototype, "getRoomHistory", true)
95
100
  __TS__Decorate({Exported}, RoomHistory.prototype, "getPreviousRoomDescription", true)
@@ -47,8 +47,9 @@ export declare class SaveDataManager extends Feature {
47
47
  /**
48
48
  * This is the entry point to the save data manager, a system which provides two major features:
49
49
  *
50
- * 1. automatic resetting of variables on a new run, on a new level, or on a new room (as desired)
51
- * 2. automatic saving and loading of all tracked data to the "save#.dat" file
50
+ * 1. Automatic resetting of variables on a new run, on a new level, or on a new room (as
51
+ * desired).
52
+ * 2. Automatic saving and loading of all tracked data to the "save#.dat" file.
52
53
  *
53
54
  * You feed this function with an object containing your variables, and then it will automatically
54
55
  * manage them for you. (See below for an example.)
@@ -1 +1 @@
1
- {"version":3,"file":"SaveDataManager.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/SaveDataManager.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAMzD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAsBhD,qBAAa,eAAgB,SAAQ,OAAO;IAC1C;;;OAGG;IACH,OAAO,CAAC,GAAG,CAAM;IAEjB;;;;OAIG;IACH,OAAO,CAAC,WAAW,CAAkC;IAErD;;;OAGG;IACH,OAAO,CAAC,mBAAmB,CAAkC;IAE7D;;;OAGG;IACH,OAAO,CAAC,0BAA0B,CAAuC;IAEzE;;;;;;OAMG;IACH,OAAO,CAAC,2BAA2B,CAAkC;IAErE;;;OAGG;IACH,OAAO,CAAC,iBAAiB,CAAkC;IAG3D,OAAO,CAAC,mBAAmB,CAAS;IACpC,OAAO,CAAC,qCAAqC,CAAS;IAiCtD,OAAO,CAAC,2BAA2B,CAUjC;IAGF,OAAO,CAAC,cAAc,CA0BpB;IAGF,OAAO,CAAC,WAAW,CAajB;IAGF,OAAO,CAAC,YAAY,CAYlB;IAGF,OAAO,CAAC,gBAAgB,CAuBtB;IAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiGG;IACI,eAAe,CAAC,UAAU,EAAE,GAAG,EAAE,KAAK,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BAAoB,CAAC,GAAG,EAAE,MAAM,EAAE,cAAc,EAAE,WAAW,GAAG,IAAI;IAsB3E;;;;;;;;;;;;OAYG;IAEI,qBAAqB,IAAI,OAAO;CAGxC"}
@@ -1 +1 @@
1
- {"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/extraConsoleCommands/commands.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,IAAI,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAczC;AAED;;;GAGG;AACH,wBAAgB,KAAK,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAc1C;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAE/C;AAED,wCAAwC;AACxC,wBAAgB,IAAI,IAAI,IAAI,CAE3B;AAED,kEAAkE;AAClE,wBAAgB,YAAY,IAAI,IAAI,CAEnC;AAED,iDAAiD;AACjD,wBAAgB,QAAQ,IAAI,IAAI,CAE/B;AAED,4CAA4C;AAC5C,wBAAgB,QAAQ,IAAI,IAAI,CAE/B;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M,GAAG,IAAI,CAyBjD;AAED;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAsB1C;AAED,4CAA4C;AAC5C,wBAAgB,SAAS,IAAI,IAAI,CAEhC;AAED,+CAA+C;AAC/C,wBAAgB,YAAY,IAAI,IAAI,CAInC;AAED,yDAAyD;AACzD,wBAAgB,eAAe,IAAI,IAAI,CAEtC;AAED;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAkB1C;AAED,wCAAwC;AACxC,wBAAgB,KAAK,IAAI,IAAI,CAE5B;AAED,6CAA6C;AAC7C,wBAAgB,QAAQ,IAAI,IAAI,CAE/B;AAED,qDAAqD;AACrD,wBAAgB,YAAY,IAAI,IAAI,CAEnC;AAED,yDAAyD;AACzD,wBAAgB,eAAe,IAAI,IAAI,CAEtC;AAED,8CAA8C;AAC9C,wBAAgB,OAAO,IAAI,IAAI,CAG9B;AAED,sFAAsF;AACtF,wBAAgB,MAAM,IAAI,IAAI,CAQ7B;AAED,wFAAwF;AACxF,wBAAgB,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAEvC;AAED;;;;;;;GAOG;AACH,wBAAgB,IAAI,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CA0BzC"}
1
+ {"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/extraConsoleCommands/commands.ts"],"names":[],"mappings":"AAoIA;;;;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;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