cazfi wrote:There's support for including a datafile in section file format, but with freely selectable content, to a ruleset, for ruleset lua scripts to use. The idea is that the lua script can implement any kind of parser for the datafile.
At this time scripting API has single function, luadata.get_str(key), for reading from the datafile.
Feature #661635
Now the datafile can be provided by the scenarios too. Feature #822120.
So the ruleset might provide parser.lua, and individual scenarios using the ruleset can provide their own data.