[GS] How can I overload a base lua file?

Geoclasm

Chieftain
Joined
Jun 1, 2018
Messages
7
I am attempting to overload/overwrite/whatever word I should use to describe a base LUA file ( RiversLakes.lua ). Below is the ModInfo file. I have within the LUA script a print statement that should indicate that it is being used, but it's not popping up in the LUA log which means I am definitely not doing it right.
So what's wrong with my modinfo file?

<?xml version="1.0" encoding="utf-8"?>
<Mod id="d3e108ed-634b-4ba4-bcf5-f8296392cdcc" version="1">
<Properties>
<Name>River Settings</Name>
<Description>Exposes river generation settings.</Description>
<Teaser>Allows river generation configurations</Teaser>
<Authors>Geoclasm</Authors>
<CompatibleVersions>1.2,2.0</CompatibleVersions>
</Properties>
<Files>
<File>Config.xml</File>
<File>Utility/RiverLakes.lua</File>
</Files>
<FrontEndActions>
<UpdateDatabase id="NewAction">
<File>Config.xml</File>
</UpdateDatabase>
</FrontEndActions>
<InGameActions>
<ImportFiles id="RiverLakesOverride">
<File>Utility/RiverLakes.lua</File>
</ImportFiles>
</InGameActions>
</Mod>
 
Back
Top Bottom