isaacscript-common 1.2.260 → 1.2.261
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/functions/log.lua +5 -4
- package/package.json +1 -1
package/dist/functions/log.lua
CHANGED
|
@@ -171,11 +171,11 @@ function ____exports.logEntities(includeBackgroundEffects, entityTypeFilter)
|
|
|
171
171
|
end
|
|
172
172
|
local effect = entity:ToEffect()
|
|
173
173
|
if effect ~= nil then
|
|
174
|
-
debugString = debugString .. ("
|
|
174
|
+
debugString = debugString .. (" (effect) (State: " .. tostring(effect.State)) .. ")"
|
|
175
175
|
end
|
|
176
176
|
local familiar = entity:ToFamiliar()
|
|
177
177
|
if familiar ~= nil then
|
|
178
|
-
debugString = debugString .. ("
|
|
178
|
+
debugString = debugString .. (" (familiar) (State: " .. tostring(familiar.State)) .. ")"
|
|
179
179
|
end
|
|
180
180
|
local knife = entity:ToKnife()
|
|
181
181
|
if knife ~= nil then
|
|
@@ -187,11 +187,11 @@ function ____exports.logEntities(includeBackgroundEffects, entityTypeFilter)
|
|
|
187
187
|
end
|
|
188
188
|
local npc = entity:ToNPC()
|
|
189
189
|
if npc ~= nil then
|
|
190
|
-
debugString = debugString .. ((("
|
|
190
|
+
debugString = debugString .. (((" (NPC) (State: " .. tostring(npc.State)) .. ") (CanShutDoors: ") .. tostring(npc.CanShutDoors)) .. ")"
|
|
191
191
|
end
|
|
192
192
|
local pickup = entity:ToPickup()
|
|
193
193
|
if pickup ~= nil then
|
|
194
|
-
debugString = debugString .. ("
|
|
194
|
+
debugString = debugString .. (" (pickup) (State: " .. tostring(pickup.State)) .. ")"
|
|
195
195
|
end
|
|
196
196
|
local player = entity:ToPlayer()
|
|
197
197
|
if player ~= nil then
|
|
@@ -205,6 +205,7 @@ function ____exports.logEntities(includeBackgroundEffects, entityTypeFilter)
|
|
|
205
205
|
if tear ~= nil then
|
|
206
206
|
debugString = debugString .. " (tear)"
|
|
207
207
|
end
|
|
208
|
+
debugString = debugString .. (" (Index: " .. tostring(entity.Index)) .. ")"
|
|
208
209
|
debugString = debugString .. (" (InitSeed: " .. tostring(entity.InitSeed)) .. ")"
|
|
209
210
|
debugString = debugString .. (" (DropSeed: " .. tostring(entity.DropSeed)) .. ")"
|
|
210
211
|
debugString = debugString .. (((" (Position: " .. tostring(entity.Position.X)) .. ", ") .. tostring(entity.Position.Y)) .. ")"
|