I took a look and I can post the instructions, changes and explanation needed to time technology module compatible with this module. The good news, is that this is simple and easy enough that it should not take more than 5 minutes for an average user. Making this module compatible with timed technology is a major rewrite of this module.
First, the tools you will need, a text editor of some sort, and a way to extract .zip files. Good news is Windows 10 provides all that as part of the operating system.
Step 1, is to copy the entire folder from the zip file into the mods folder. This is so that you can then edit the needed files.
Then you need to open info.json in your editor, and add the following line of code:
"? Hiladdar_Research >= 0.16.1",
After your edit, you should see something like:
"base >= 0.16.0",
"? Hiladdar_Research >= 0.16.1",
"? Yi_Tech_Tree >= 0.16.0",
Save this file. What this does is tell the Timed Technology module know that there is now a new optional dependency and where and how to find it.
The second step is to open the prototype folder and open the file named increaselableenergy.lua. That is a very short file; again add the following lines of code to the end:
if ((data.raw["lab"]["hsmd-lab-mk2"] == nil) == false) then
data.raw["lab"]["hsmd-lab-mk2"].energy_usage = ((settings.startup["Energy_consumption_m"].value * 100) .. "kW")
end
if ((data.raw["lab"]["hsmd-lab-mk3"] == nil) == false) then
data.raw["lab"]["hsmd-lab-mk3"].energy_usage = ((settings.startup["Energy_consumption_m"].value * 150) .. "kW")
end
Just drop the six lines of code to the end of the file, and save it.
What this code does is convert the labs within this module to research only using energy. If you will notice, I am using different settings for the Mk3 lab from this module. This is because other mods only have one additional lab whereas this module provides two. Keiler uses one constant multiplier set within the settings file and multiplies that by hard coded energy settings. The base lab uses 60 kW, Mk2 uses 100 kW, and Mk3 uses 150 kw. So, to keep consistency with the original code, I am plugging multipliers in. There are 2 " IF .... THEN .... ELSE .... END" statements of three lines each. The first line checks to see if there are labs with the named hsmd-lab-mk2 and hsmd-lab-mk3 in the load. If they exist the second line of code resets the amount energy needed to for that lab to operate. The last line of code for each of the iff statements ends the “IF” statement. There is no else condition in this “IF” statement.
Last step is to just load up Factorio to test everything. During the load you should get an error message that the same module has 2 versions one as a zipped file, and second as a non-zipped. Just ignore it and click through it. By the way, if you have gotten to this step, most likely you did everything correctly! Congratulations!
If something does not load correctly, just delete the unzipped timed_technology_0.0.5 folder and start over.
Hiladdar