Accessing an mobjinfo_t's variable as an array index causes a Lua error
Here's the error:
Lua error in "File path here\ZBmobjinfoBug.wad\LUA_MINE", line 1. Invalid object definition, missing {.
This WAD file has a Lua script that changes the deathstate of the Blue Crawla to S_MINE_BOOM1.
Normally, this would be done with mobjinfo[MT_BLUECRAWLA].deathstate = S_MINE_BOOM1, but it can also be done with mobjinfo[MT_BLUECRAWLA]["deathstate"] = S_MINE_BOOM1.
Example WAD: ZBmobjinfoBug.wad