Skip to content

Add Lua read access to MW Dialogue records

Overview

MW dialogue data, i.e. data records for most of the ingame text (Journal, Topic, Greeting, Persuasion, Voice), is stored within the game content files and is editable in the CS

but is not accessible as raw data from Lua scripts. Following the trend of many data record stores becoming accessible (ex. Magic, Sounds), it would be nice if that data was accessible also. Here's how the openmw.core access could look like:

An example usage of these records would be access to the quest names for given quest IDs - something that was withdrawn from an older MR, because quest names, being part of the MW dialogue data, are not tied to a specific player, but are rather part of a global game database - !3189 (comment 1453814355) -- Mods like OpenMW Skyrim Style Quest Notifications (not mine) or OpenMW Journal Enhanced (mine) could make use of that quest name access.

Adding these record stores would also make a step closer towards Morrowind dialogue dehardcoding.

Actually, I made this already

Yeah, I already prepared the MR !4034 (merged) implementing this feature request, but to make a proper changelog entry, I need an issue number, so that's why I created this feature request. I promise to do it the other way around next time 😄