I've gone ahead and just started making my global changes using a SCAR win condition which has cut down the amount of work significantly. It also allows me to make different flavors using the win condition options without creating entire new mods.
I do have a few questions if you can answer them:
- There is however one thing I have yet to be able to find out how to do, and that is just issue simple print() statements to the development console. Using lua's print(string) doesn't throw an error, but it doesn't get sent to the console. Is there a SCAR built in version for issuing prints to the console? The only ScarDoc reference I can find relating to the console is "Scar_DebugConsoleExecute( String command )" which to my understanding just sends a string command to the console. Seems redundant to have to do: Scar_DebugConsoleExecute( "print('My debug message')" ), but if that is the only way then so be it.
- Is there a way to import your own SCAR scripts that don't originate in the data archive sga into a win condition? My codebase is growing rapidly and having to keep it in one large file is becoming unwieldy. For example I have one file that just contains a global table of all of the unit blueprints, their shortnames, some flags like "is_vehicle" etc, and it's rather large. I've tried using import statements, but relative paths didn't seem to work, nor did replicating the file location string found in the win condition.
- Can my win condition scar scripts reference blueprints that are added inside a tuning pack? For example, if I use a steam workshop mod that adds new units to the game with their own blueprints, will I be able to set their availability using Player_SetSquadProductionAvailability()?
For reference, I'm building an infantry only mod where a player's units receive less suppression the closer you are to your population cap, "strength in numbers." I'm trying to fire a debug statement with each new suppression value calculation to make sure it is working as intended.
I'm sorry to pester you with the questions. I would download your mod and take a look at the source code, but I can't access steam most of the day being at work and have limited time at night when I get home. I can't seem to find the mod tools online besides through steam either, which is probably a good thing or I would be fooling around all day with mods instead of developing stuff for my actual job

Much appreciated if you can enlighten me.