Skip to content

Port mobjinfo.string from ring racers.

Jisk requested to merge Jisk/SRB2:mobjinfo_string into next

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

print(mobjinfo[MT_THOK].string)

>THOK

String does not come with the MT_ prefix.

Example (Omitted MT_NAMECHECK): mobjinfo_string.lua

Edited by Jisk

Merge request reports

Loading