Port mobjinfo.string from ring racers. (as mobjinfo.name)

This allows users to get the mobjtype's name as a string.

print(mobjinfo[MT_THOK].name)

>THOK

String does not come with the MT_ prefix.

Example (Omitted MT_NAMECHECK): mobjinfo_name.lua

Edited by Jisk

Merge request reports

Loading