(Context)rockythechao wrote:OH MY GOD YOU GUYS I MAY HAVE CAUSED THE SMBX Y2K HURRY WE HAVE TO DO SOMETHING ASAP THE FATE OF THE MULTIVERSE DEPENDS ON IT
*doesn't follow up on it for over a month*
Er, uh... *ahem*
Yeah, sorry for the wait, everyone! Allow me to present:
npcParse.lua

Download and documentation
This library loads data from both tables stored in the NPCs' message text and a JSON file in the level folder ("npcdata.json") and stores it in each NPC's pNPC data. You can even specify a message for the NPC to say once the data's been parsed!
This way multiple libraries can utilize the same NPC's message text, though libraries that currently read from the NPC message directly, such as my own cinematX and a few custom NPC ones, will have to be updated with an option to get the information from the pnpc data instead.
(Please note that the debug text shown in the above screenshot is not a feature of npcParse, but part of the test level's code that uses currently-unreleased features of textblox. I may implement it as a feature in a future update, however.)