Modify local variable from another script in Lua
<p>I'm trying to make a mod for the game Don't Starve Together, which makes use of Lua.  For this reason, <strong>I can't modify their source variables/files</strong>.</p>

<p>In order to try to modify the world generation, I need to access a local table that was instantiated in another file (the file is called "levels.lua").  The variable name is "levellist".  Is there a way to access the variable so that I can add certain elements to the table?</p>

<p>Namely, I want to add {"task_set", "cave_custom"} to levellist[DST_CAVE].overrides.</p>

<p>If someone could help or even just tell me if this is possible or not, that would be great.  Thanks!</p>