isaacscript-common 1.2.136 → 1.2.137
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/callbacks/postCustomDoorEnter.d.ts +8 -0
- package/dist/callbacks/postCustomDoorEnter.lua +35 -0
- package/dist/callbacks/subscriptions/postCustomDoorEnter.d.ts +2 -0
- package/dist/callbacks/subscriptions/postCustomDoorEnter.lua +25 -0
- package/dist/constants.d.ts +5 -0
- package/dist/constants.lua +1 -0
- package/dist/features/extraConsoleCommands/commands.d.ts +162 -0
- package/dist/features/extraConsoleCommands/commands.lua +530 -0
- package/dist/features/extraConsoleCommands/init.d.ts +25 -0
- package/dist/features/extraConsoleCommands/init.lua +133 -0
- package/dist/features/extraConsoleCommands/v.d.ts +9 -0
- package/dist/features/extraConsoleCommands/v.lua +5 -0
- package/dist/functions/log.d.ts +5 -1
- package/dist/functions/log.lua +172 -2
- package/dist/functions/map.d.ts +16 -0
- package/dist/functions/map.lua +24 -0
- package/dist/functions/run.d.ts +12 -0
- package/dist/functions/run.lua +25 -0
- package/dist/functions/utils.d.ts +0 -6
- package/dist/functions/utils.lua +0 -8
- package/dist/functions/vector.lua +8 -8
- package/dist/index.d.ts +6 -0
- package/dist/index.lua +46 -0
- package/dist/maps/cardMap.d.ts +3 -0
- package/dist/maps/cardMap.lua +202 -0
- package/dist/maps/characterMap.d.ts +3 -0
- package/dist/maps/characterMap.lua +90 -0
- package/dist/maps/pillEffectMap.d.ts +3 -0
- package/dist/maps/pillEffectMap.lua +88 -0
- package/dist/types/CallbackParametersCustom.d.ts +4 -0
- package/dist/types/ModCallbacksCustom.d.ts +2 -1
- package/dist/types/ModCallbacksCustom.lua +2 -0
- package/dist/types/ModUpgraded.lua +8 -0
- package/dist/types/PlayerIndex.d.ts +2 -2
- package/dist/upgradeMod.lua +3 -0
- package/package.json +1 -1
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
+
local ____lualib = require("lualib_bundle")
|
|
3
|
+
local Map = ____lualib.Map
|
|
4
|
+
local __TS__New = ____lualib.__TS__New
|
|
5
|
+
local ____exports = {}
|
|
6
|
+
____exports.CARD_MAP = __TS__New(Map, {
|
|
7
|
+
{"fool", 1},
|
|
8
|
+
{"magician", 2},
|
|
9
|
+
{"highpriestess", 3},
|
|
10
|
+
{"priestess", 3},
|
|
11
|
+
{"hp", 3},
|
|
12
|
+
{"empress", 4},
|
|
13
|
+
{"emperor", 5},
|
|
14
|
+
{"hierophant", 6},
|
|
15
|
+
{"lovers", 7},
|
|
16
|
+
{"chariot", 8},
|
|
17
|
+
{"justice", 9},
|
|
18
|
+
{"hermit", 10},
|
|
19
|
+
{"wheeloffortune", 11},
|
|
20
|
+
{"fortune", 11},
|
|
21
|
+
{"strength", 12},
|
|
22
|
+
{"hanged", 13},
|
|
23
|
+
{"hangedman", 13},
|
|
24
|
+
{"death", 14},
|
|
25
|
+
{"temperance", 15},
|
|
26
|
+
{"devil", 16},
|
|
27
|
+
{"tower", 17},
|
|
28
|
+
{"stars", 18},
|
|
29
|
+
{"moon", 19},
|
|
30
|
+
{"sun", 20},
|
|
31
|
+
{"judgement", 21},
|
|
32
|
+
{"world", 22},
|
|
33
|
+
{"2ofclubs", 23},
|
|
34
|
+
{"2clubs", 23},
|
|
35
|
+
{"2ofdiamonds", 24},
|
|
36
|
+
{"2diamonds", 24},
|
|
37
|
+
{"2ofspades", 25},
|
|
38
|
+
{"2spades", 25},
|
|
39
|
+
{"2ofhearts", 26},
|
|
40
|
+
{"2hearts", 26},
|
|
41
|
+
{"aceofclubs", 27},
|
|
42
|
+
{"aceclubs", 27},
|
|
43
|
+
{"aceofdiamonds", 28},
|
|
44
|
+
{"acediamonds", 28},
|
|
45
|
+
{"aceofspades", 29},
|
|
46
|
+
{"acespades", 29},
|
|
47
|
+
{"aceofhearts", 30},
|
|
48
|
+
{"acehearts", 30},
|
|
49
|
+
{"joker", 31},
|
|
50
|
+
{"hagalaz", 32},
|
|
51
|
+
{"destruction", 32},
|
|
52
|
+
{"jera", 33},
|
|
53
|
+
{"abundance", 33},
|
|
54
|
+
{"ehwaz", 34},
|
|
55
|
+
{"passage", 34},
|
|
56
|
+
{"dagaz", 35},
|
|
57
|
+
{"purity", 35},
|
|
58
|
+
{"ansuz", 36},
|
|
59
|
+
{"vision", 36},
|
|
60
|
+
{"perthro", 37},
|
|
61
|
+
{"change", 37},
|
|
62
|
+
{"berkano", 38},
|
|
63
|
+
{"companionship", 38},
|
|
64
|
+
{"algiz", 39},
|
|
65
|
+
{"resistance", 39},
|
|
66
|
+
{"shield", 39},
|
|
67
|
+
{"blank", 40},
|
|
68
|
+
{"black", 41},
|
|
69
|
+
{"chaos", 42},
|
|
70
|
+
{"credit", 43},
|
|
71
|
+
{"rules", 44},
|
|
72
|
+
{"againsthumanity", 45},
|
|
73
|
+
{"humanity", 45},
|
|
74
|
+
{"suicideking", 46},
|
|
75
|
+
{"suicide", 46},
|
|
76
|
+
{"getoutofjailfree", 47},
|
|
77
|
+
{"jail", 47},
|
|
78
|
+
{"?", 48},
|
|
79
|
+
{"diceshard", 49},
|
|
80
|
+
{"shard", 49},
|
|
81
|
+
{"emergencycontact", 50},
|
|
82
|
+
{"contact", 50},
|
|
83
|
+
{"holy", 51},
|
|
84
|
+
{"hugegrowth", 52},
|
|
85
|
+
{"growth", 52},
|
|
86
|
+
{"ancientrecall", 53},
|
|
87
|
+
{"recall", 53},
|
|
88
|
+
{"erawalk", 54},
|
|
89
|
+
{"walk", 54},
|
|
90
|
+
{"runeshard", 55},
|
|
91
|
+
{"shard", 55},
|
|
92
|
+
{"fool?", 56},
|
|
93
|
+
{"magician?", 57},
|
|
94
|
+
{"magi?", 57},
|
|
95
|
+
{"mag?", 57},
|
|
96
|
+
{"highpriestess?", 58},
|
|
97
|
+
{"high?", 58},
|
|
98
|
+
{"priestess?", 58},
|
|
99
|
+
{"priest?", 58},
|
|
100
|
+
{"hp?", 58},
|
|
101
|
+
{"empress?", 59},
|
|
102
|
+
{"emperor?", 60},
|
|
103
|
+
{"emp?", 60},
|
|
104
|
+
{"hierophant?", 61},
|
|
105
|
+
{"hiero?", 61},
|
|
106
|
+
{"lovers?", 62},
|
|
107
|
+
{"chariot?", 63},
|
|
108
|
+
{"justice?", 64},
|
|
109
|
+
{"hermit?", 65},
|
|
110
|
+
{"wheeloffortune?", 66},
|
|
111
|
+
{"wheel?", 66},
|
|
112
|
+
{"fortune?", 66},
|
|
113
|
+
{"strength?", 67},
|
|
114
|
+
{"str?", 67},
|
|
115
|
+
{"hangedman?", 68},
|
|
116
|
+
{"hanged?", 68},
|
|
117
|
+
{"death?", 69},
|
|
118
|
+
{"temperance?", 70},
|
|
119
|
+
{"devil?", 71},
|
|
120
|
+
{"tower?", 72},
|
|
121
|
+
{"stars?", 73},
|
|
122
|
+
{"moon?", 74},
|
|
123
|
+
{"sun?", 75},
|
|
124
|
+
{"judgement?", 76},
|
|
125
|
+
{"judge?", 76},
|
|
126
|
+
{"world?", 77},
|
|
127
|
+
{"crackedkey", 78},
|
|
128
|
+
{"key", 78},
|
|
129
|
+
{"queenofhearts", 79},
|
|
130
|
+
{"queenhearts", 79},
|
|
131
|
+
{"wildcard", 80},
|
|
132
|
+
{"soulofisaac", 81},
|
|
133
|
+
{"soulisaac", 81},
|
|
134
|
+
{"isaac", 81},
|
|
135
|
+
{"soulofmagdalene", 82},
|
|
136
|
+
{"soulmagdalene", 82},
|
|
137
|
+
{"magdalene", 82},
|
|
138
|
+
{"soulofcain", 83},
|
|
139
|
+
{"soulcain", 83},
|
|
140
|
+
{"cain", 83},
|
|
141
|
+
{"soulofjudas", 84},
|
|
142
|
+
{"souljudas", 84},
|
|
143
|
+
{"judas", 84},
|
|
144
|
+
{"soulof???", 85},
|
|
145
|
+
{"soul???", 85},
|
|
146
|
+
{"???", 85},
|
|
147
|
+
{"soulofbluebaby", 85},
|
|
148
|
+
{"soulbluebaby", 85},
|
|
149
|
+
{"bluebaby", 85},
|
|
150
|
+
{"soulofeve", 86},
|
|
151
|
+
{"souleve", 86},
|
|
152
|
+
{"eve", 86},
|
|
153
|
+
{"soulofsamson", 87},
|
|
154
|
+
{"soulsamson", 87},
|
|
155
|
+
{"samson", 87},
|
|
156
|
+
{"soulofazazel", 88},
|
|
157
|
+
{"soulazazel", 88},
|
|
158
|
+
{"azazel", 88},
|
|
159
|
+
{"souloflazarus", 89},
|
|
160
|
+
{"soullazarus", 89},
|
|
161
|
+
{"lazarus", 89},
|
|
162
|
+
{"soulofeden", 90},
|
|
163
|
+
{"souleden", 90},
|
|
164
|
+
{"eden", 90},
|
|
165
|
+
{"soulofthelost", 91},
|
|
166
|
+
{"soulthelost", 91},
|
|
167
|
+
{"thelost", 91},
|
|
168
|
+
{"souloflost", 91},
|
|
169
|
+
{"soullost", 91},
|
|
170
|
+
{"lost", 91},
|
|
171
|
+
{"souloflilith", 92},
|
|
172
|
+
{"soullilith", 92},
|
|
173
|
+
{"lilith", 92},
|
|
174
|
+
{"soulofthekeeper", 93},
|
|
175
|
+
{"soulthekeeper", 93},
|
|
176
|
+
{"thekeeper", 93},
|
|
177
|
+
{"soulofkeeper", 93},
|
|
178
|
+
{"soulkeeper", 93},
|
|
179
|
+
{"keeper", 93},
|
|
180
|
+
{"soulofapollyon", 94},
|
|
181
|
+
{"soulapollyon", 94},
|
|
182
|
+
{"apollyon", 94},
|
|
183
|
+
{"souloftheforgotten", 95},
|
|
184
|
+
{"soultheforgotten", 95},
|
|
185
|
+
{"theforgotten", 95},
|
|
186
|
+
{"soulofforgotten", 95},
|
|
187
|
+
{"soulforgotten", 95},
|
|
188
|
+
{"forgotten", 95},
|
|
189
|
+
{"soulofbethany", 96},
|
|
190
|
+
{"soulbethany", 96},
|
|
191
|
+
{"bethany", 96},
|
|
192
|
+
{"soulofjacobandesau", 97},
|
|
193
|
+
{"souljacobandesau", 97},
|
|
194
|
+
{"jacobandesau", 97},
|
|
195
|
+
{"soulofjacob&esau", 97},
|
|
196
|
+
{"souljacob&esau", 97},
|
|
197
|
+
{"jacob&esau", 97},
|
|
198
|
+
{"soulofjacob", 97},
|
|
199
|
+
{"souljacob", 97},
|
|
200
|
+
{"jacob", 97}
|
|
201
|
+
})
|
|
202
|
+
return ____exports
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
+
local ____lualib = require("lualib_bundle")
|
|
3
|
+
local Map = ____lualib.Map
|
|
4
|
+
local __TS__New = ____lualib.__TS__New
|
|
5
|
+
local ____exports = {}
|
|
6
|
+
____exports.CHARACTER_MAP = __TS__New(Map, {
|
|
7
|
+
{"isaac", 0},
|
|
8
|
+
{"magdalene", 1},
|
|
9
|
+
{"maggy", 1},
|
|
10
|
+
{"cain", 2},
|
|
11
|
+
{"judas", 3},
|
|
12
|
+
{"bluebaby", 4},
|
|
13
|
+
{"bb", 4},
|
|
14
|
+
{"eve", 5},
|
|
15
|
+
{"samson", 6},
|
|
16
|
+
{"azazel", 7},
|
|
17
|
+
{"lazarus", 8},
|
|
18
|
+
{"laz", 8},
|
|
19
|
+
{"eden", 9},
|
|
20
|
+
{"thelost", 10},
|
|
21
|
+
{"lost", 10},
|
|
22
|
+
{"lazarus2", 11},
|
|
23
|
+
{"laz2", 11},
|
|
24
|
+
{"darkjudas", 12},
|
|
25
|
+
{"djudas", 12},
|
|
26
|
+
{"blackjudas", 12},
|
|
27
|
+
{"bjudas", 12},
|
|
28
|
+
{"lilith", 13},
|
|
29
|
+
{"keeper", 14},
|
|
30
|
+
{"apollyon", 15},
|
|
31
|
+
{"theforgotten", 16},
|
|
32
|
+
{"forgotten", 16},
|
|
33
|
+
{"thesoul", 17},
|
|
34
|
+
{"soul", 17},
|
|
35
|
+
{"bethany", 18},
|
|
36
|
+
{"jacob", 19},
|
|
37
|
+
{"esau", 20},
|
|
38
|
+
{"taintedisaac", 21},
|
|
39
|
+
{"tisaac", 21},
|
|
40
|
+
{"taintedmagdalene", 22},
|
|
41
|
+
{"tmagdalene", 22},
|
|
42
|
+
{"taintedmaggy", 22},
|
|
43
|
+
{"tmaggy", 22},
|
|
44
|
+
{"taintedcain", 23},
|
|
45
|
+
{"tcain", 23},
|
|
46
|
+
{"taintedjudas", 24},
|
|
47
|
+
{"tjudas", 24},
|
|
48
|
+
{"taintedbluebaby", 25},
|
|
49
|
+
{"tbluebaby", 25},
|
|
50
|
+
{"tbb", 25},
|
|
51
|
+
{"taintedeve", 26},
|
|
52
|
+
{"teve", 26},
|
|
53
|
+
{"taintedsamson", 27},
|
|
54
|
+
{"tsamson", 27},
|
|
55
|
+
{"taintedazazel", 28},
|
|
56
|
+
{"tazazel", 28},
|
|
57
|
+
{"taintedlazarus", 29},
|
|
58
|
+
{"tlazarus", 29},
|
|
59
|
+
{"taintedlaz", 29},
|
|
60
|
+
{"tlaz", 29},
|
|
61
|
+
{"taintededen", 30},
|
|
62
|
+
{"teden", 30},
|
|
63
|
+
{"taintedlost", 31},
|
|
64
|
+
{"tlost", 31},
|
|
65
|
+
{"taintedlilith", 32},
|
|
66
|
+
{"tlilith", 32},
|
|
67
|
+
{"taintedkeeper", 33},
|
|
68
|
+
{"tkeeper", 33},
|
|
69
|
+
{"taintedapollyon", 34},
|
|
70
|
+
{"tapollyon", 34},
|
|
71
|
+
{"taintedforgotten", 34},
|
|
72
|
+
{"tforgotten", 35},
|
|
73
|
+
{"taintedbethany", 36},
|
|
74
|
+
{"tbethany", 36},
|
|
75
|
+
{"taintedjacob", 37},
|
|
76
|
+
{"tjacob", 37},
|
|
77
|
+
{"taintedlazarusdead", 38},
|
|
78
|
+
{"tlazarusdead", 38},
|
|
79
|
+
{"taintedlazdead", 38},
|
|
80
|
+
{"tlazdead", 38},
|
|
81
|
+
{"deadtaintedlazarus", 38},
|
|
82
|
+
{"deadtlazarus", 38},
|
|
83
|
+
{"deadtaintedlaz", 38},
|
|
84
|
+
{"deadtlaz", 38},
|
|
85
|
+
{"taintedjacobghost", 39},
|
|
86
|
+
{"tjacobghost", 39},
|
|
87
|
+
{"taintedsoul", 40},
|
|
88
|
+
{"tsoul", 40}
|
|
89
|
+
})
|
|
90
|
+
return ____exports
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
+
local ____lualib = require("lualib_bundle")
|
|
3
|
+
local Map = ____lualib.Map
|
|
4
|
+
local __TS__New = ____lualib.__TS__New
|
|
5
|
+
local ____exports = {}
|
|
6
|
+
____exports.PILL_EFFECT_MAP = __TS__New(Map, {
|
|
7
|
+
{"badgas", 0},
|
|
8
|
+
{"gas", 0},
|
|
9
|
+
{"badtrip", 1},
|
|
10
|
+
{"trip", 1},
|
|
11
|
+
{"ballsofsteel", 2},
|
|
12
|
+
{"ballssteel", 2},
|
|
13
|
+
{"steel", 2},
|
|
14
|
+
{"bombsarekey", 3},
|
|
15
|
+
{"bombskey", 3},
|
|
16
|
+
{"key", 3},
|
|
17
|
+
{"explosivediarrhea", 4},
|
|
18
|
+
{"diarrhea", 4},
|
|
19
|
+
{"fullhealth", 5},
|
|
20
|
+
{"healthdown", 6},
|
|
21
|
+
{"healthup", 7},
|
|
22
|
+
{"ifoundpills", 8},
|
|
23
|
+
{"foundpills", 8},
|
|
24
|
+
{"pills", 8},
|
|
25
|
+
{"puberty", 9},
|
|
26
|
+
{"prettyfly", 10},
|
|
27
|
+
{"fly", 10},
|
|
28
|
+
{"rangedown", 11},
|
|
29
|
+
{"rangeup", 12},
|
|
30
|
+
{"speeddown", 13},
|
|
31
|
+
{"speedup", 14},
|
|
32
|
+
{"tearsdown", 15},
|
|
33
|
+
{"tearsup", 16},
|
|
34
|
+
{"luckdown", 17},
|
|
35
|
+
{"luckup", 18},
|
|
36
|
+
{"telepills", 19},
|
|
37
|
+
{"48hourenergy", 20},
|
|
38
|
+
{"energy", 20},
|
|
39
|
+
{"48", 20},
|
|
40
|
+
{"hematemesis", 21},
|
|
41
|
+
{"paralysis", 22},
|
|
42
|
+
{"icanseeforever!", 23},
|
|
43
|
+
{"cansee", 23},
|
|
44
|
+
{"see", 23},
|
|
45
|
+
{"pheromones", 24},
|
|
46
|
+
{"amnesia", 25},
|
|
47
|
+
{"lemonparty", 26},
|
|
48
|
+
{"party", 26},
|
|
49
|
+
{"ruawizard", 27},
|
|
50
|
+
{"areyouawizard", 27},
|
|
51
|
+
{"wizard", 27},
|
|
52
|
+
{"percs!", 28},
|
|
53
|
+
{"addicted!", 29},
|
|
54
|
+
{"relax", 30},
|
|
55
|
+
{"???", 31},
|
|
56
|
+
{"onemakesyoularger", 32},
|
|
57
|
+
{"larger", 32},
|
|
58
|
+
{"onemakesyousmaller", 33},
|
|
59
|
+
{"smaller", 33},
|
|
60
|
+
{"infested!", 34},
|
|
61
|
+
{"infest!", 34},
|
|
62
|
+
{"inf!", 34},
|
|
63
|
+
{"infested?", 35},
|
|
64
|
+
{"infest?", 35},
|
|
65
|
+
{"inf?", 35},
|
|
66
|
+
{"powerpill", 36},
|
|
67
|
+
{"retrovision", 37},
|
|
68
|
+
{"vision", 37},
|
|
69
|
+
{"friendstilltheend", 38},
|
|
70
|
+
{"friendsutilltheend", 38},
|
|
71
|
+
{"xlax", 39},
|
|
72
|
+
{"somethingswrong", 40},
|
|
73
|
+
{"wrong", 40},
|
|
74
|
+
{"imdrowsy", 41},
|
|
75
|
+
{"drowsy", 41},
|
|
76
|
+
{"imexcited!!!", 42},
|
|
77
|
+
{"excited", 42},
|
|
78
|
+
{"gulp!", 43},
|
|
79
|
+
{"horf!", 44},
|
|
80
|
+
{"feelslikeimwalkingonsunshine!", 45},
|
|
81
|
+
{"walking", 45},
|
|
82
|
+
{"sunshine", 45},
|
|
83
|
+
{"vurp!", 46},
|
|
84
|
+
{"shotspeeddown", 47},
|
|
85
|
+
{"shotspeedup", 48},
|
|
86
|
+
{"experimental", 49}
|
|
87
|
+
})
|
|
88
|
+
return ____exports
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { PostBombInitLateCallbackType } from "../callbacks/subscriptions/postBombInitLate";
|
|
3
3
|
import { PostBoneSwingCallbackType } from "../callbacks/subscriptions/postBoneSwing";
|
|
4
4
|
import { PostCursedTeleportCallbackType } from "../callbacks/subscriptions/postCursedTeleport";
|
|
5
|
+
import { PostCustomDoorEnterCallbackType } from "../callbacks/subscriptions/postCustomDoorEnter";
|
|
5
6
|
import { PostCustomReviveCallbackType } from "../callbacks/subscriptions/postCustomRevive";
|
|
6
7
|
import { PostEffectInitLateCallbackType } from "../callbacks/subscriptions/postEffectInitLate";
|
|
7
8
|
import { PostEsauJrCallbackType } from "../callbacks/subscriptions/postEsauJr";
|
|
@@ -226,4 +227,7 @@ export interface CallbackParametersCustom {
|
|
|
226
227
|
[ModCallbacksCustom.MC_POST_BONE_SWING]: [
|
|
227
228
|
callback: PostBoneSwingCallbackType
|
|
228
229
|
];
|
|
230
|
+
[ModCallbacksCustom.MC_POST_CUSTOM_DOOR_ENTER]: [
|
|
231
|
+
callback: PostCustomDoorEnterCallbackType
|
|
232
|
+
];
|
|
229
233
|
}
|
|
@@ -99,4 +99,6 @@ ____exports.ModCallbacksCustom.MC_POST_GRID_ENTITY_COLLISION = 47
|
|
|
99
99
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_GRID_ENTITY_COLLISION] = "MC_POST_GRID_ENTITY_COLLISION"
|
|
100
100
|
____exports.ModCallbacksCustom.MC_POST_BONE_SWING = 48
|
|
101
101
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_BONE_SWING] = "MC_POST_BONE_SWING"
|
|
102
|
+
____exports.ModCallbacksCustom.MC_POST_CUSTOM_DOOR_ENTER = 49
|
|
103
|
+
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_CUSTOM_DOOR_ENTER] = "MC_POST_CUSTOM_DOOR_ENTER"
|
|
102
104
|
return ____exports
|
|
@@ -11,6 +11,8 @@ local ____postBoneSwing = require("callbacks.subscriptions.postBoneSwing")
|
|
|
11
11
|
local postBoneSwingRegister = ____postBoneSwing.postBoneSwingRegister
|
|
12
12
|
local ____postCursedTeleport = require("callbacks.subscriptions.postCursedTeleport")
|
|
13
13
|
local postCursedTeleportRegister = ____postCursedTeleport.postCursedTeleportRegister
|
|
14
|
+
local ____postCustomDoorEnter = require("callbacks.subscriptions.postCustomDoorEnter")
|
|
15
|
+
local postCustomDoorEnterRegister = ____postCustomDoorEnter.postCustomDoorEnterRegister
|
|
14
16
|
local ____postCustomRevive = require("callbacks.subscriptions.postCustomRevive")
|
|
15
17
|
local postCustomReviveRegister = ____postCustomRevive.postCustomReviveRegister
|
|
16
18
|
local ____postEffectInitLate = require("callbacks.subscriptions.postEffectInitLate")
|
|
@@ -416,6 +418,12 @@ function getCallbackRegisterFunction(self, callbackID)
|
|
|
416
418
|
return postBoneSwingRegister
|
|
417
419
|
end
|
|
418
420
|
end
|
|
421
|
+
____cond19 = ____cond19 or ____switch19 == ModCallbacksCustom.MC_POST_CUSTOM_DOOR_ENTER
|
|
422
|
+
if ____cond19 then
|
|
423
|
+
do
|
|
424
|
+
return postCustomDoorEnterRegister
|
|
425
|
+
end
|
|
426
|
+
end
|
|
419
427
|
do
|
|
420
428
|
do
|
|
421
429
|
return ensureAllCases(nil, callbackID)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference types="isaac-typescript-definitions" />
|
|
2
2
|
/**
|
|
3
3
|
* PlayerIndex is a specific type of string; see the documentation for the [[`getPlayerIndex`]]
|
|
4
|
-
* function. Mods can signify that data structures handle
|
|
4
|
+
* function. Mods can signify that data structures handle `EntityPlayer` by using this type.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
6
|
+
* Example:
|
|
7
7
|
* ```
|
|
8
8
|
* const playersNameMap = new Map<PlayerIndex, string>();
|
|
9
9
|
* ```
|
package/dist/upgradeMod.lua
CHANGED
|
@@ -13,6 +13,8 @@ local ____postBoneSwing = require("callbacks.postBoneSwing")
|
|
|
13
13
|
local postBoneSwingCallbackInit = ____postBoneSwing.postBoneSwingCallbackInit
|
|
14
14
|
local ____postCursedTeleport = require("callbacks.postCursedTeleport")
|
|
15
15
|
local postCursedTeleportCallbackInit = ____postCursedTeleport.postCursedTeleportCallbackInit
|
|
16
|
+
local ____postCustomDoorEnter = require("callbacks.postCustomDoorEnter")
|
|
17
|
+
local postCustomDoorEnterCallbackInit = ____postCustomDoorEnter.postCustomDoorEnterCallbackInit
|
|
16
18
|
local ____postEffectInitLate = require("callbacks.postEffectInitLate")
|
|
17
19
|
local postEffectInitLateCallbackInit = ____postEffectInitLate.postEffectInitLateCallbackInit
|
|
18
20
|
local ____postEsauJr = require("callbacks.postEsauJr")
|
|
@@ -132,6 +134,7 @@ function initCustomCallbacks(self, mod)
|
|
|
132
134
|
postGridEntityCallbacksInit(nil, mod)
|
|
133
135
|
postGridEntityCollisionInit(nil, mod)
|
|
134
136
|
postBoneSwingCallbackInit(nil, mod)
|
|
137
|
+
postCustomDoorEnterCallbackInit(nil, mod)
|
|
135
138
|
end
|
|
136
139
|
function initFeatures(self, mod)
|
|
137
140
|
deployJSONRoomInit(nil, mod)
|