Open TehFishey opened 4 years ago
CmtVarLgateCycleStandard is deprecated since FirePrince's changes; replace with CmtVarLgateCycleCommon.
@CmtT101_ConstLgateClusterType appears to be depreciated constants which are included for backwards compatability purposes. It can probably be safely removed (along with other backwards compat stuff), considering that the mod is now for a new version of the game (savegame compat with previous editions is impossible)
@CmtT000_ConstCrisisPower_Endgame seems to be an obsolete constant; the same template variable is properly set using @CmtT000_ConstCrisisStrengthEnd at other points in the script. Consider removing.
The first two flags are to recognize other editions of the game which no longer exist in this version. Leaving them as they are shouldn't hurt until we can properly implement the features from those mods (and decide for 100% that we won't just update them).
CmtFlagConfigViewerShowing1025 is a display flag for a config viewer that no longer exists. It's probably fine to leave in right now.
Yes, it should all be easy doable. I made a beginning (Constants done)
A few scripted variables, constants, and flags appear to be missing from the crisis manager files:
Variables: CmtVarLgateCycleStandard CmtVarLgateCycleStandard
Constants: @CmtT101_ConstLgateClusterType @CmtT101_ConstCrisisPower_Endgame
Flags: CmtFlagUprisingEdition CmtFlagFeeCompatPatch CmtFlagConfigViewerShowing1025
Determine the intended purposes of these objects; add them with proper values if they are necessary, or remove them if not.