Skip to content

Commit

Permalink
v1.3 support first pass
Browse files Browse the repository at this point in the history
v1.3 support first pass
  • Loading branch information
PeteTimesSix committed Jul 17, 2021
1 parent 560e74b commit d23c8ab
Show file tree
Hide file tree
Showing 49 changed files with 13,392 additions and 6,096 deletions.
1 change: 1 addition & 0 deletions About/About.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<li>1.0</li>
<li>1.1</li>
<li>1.2</li>
<li>1.3</li>
</supportedVersions>
<url>https://steamcommunity.com/sharedfiles/filedetails/?id=927155256</url>
<modDependencies>
Expand Down
5 changes: 5 additions & 0 deletions LoadFolders.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,9 @@
<li>v1.1</li>
<li>v1.2</li>
</v1.2>
<v1.3>
<li>v1.1</li>
<li>v1.2</li>
<li>v1.3</li>
</v1.3>
</loadFolders>
84 changes: 42 additions & 42 deletions Source/SimpleSidearms.cs
Original file line number Diff line number Diff line change
Expand Up @@ -419,48 +419,48 @@ public override void DefsLoaded()
ReEquipBest.VisibilityPredicate = delegate { return ActiveTab == OptionsTab.Misc; };
ReEquipBest.CustomDrawer = rect => { return HugsDrawerRebuild_Checkbox(ReEquipBest, rect, highlight2); };

OptimalMelee.OnValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
CQCAutoSwitch.OnValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
CQCTargetOnly.OnValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
RangedCombatAutoSwitch.OnValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
RangedCombatAutoSwitchMaxWarmup.OnValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
SpeedSelectionBiasMelee.OnValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
SpeedSelectionBiasRanged.OnValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
SeparateModes.OnValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeSingle.OnValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeSingle_Absolute.OnValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeSingle_Relative.OnValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeSingle_Selection.OnValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeAmount.OnValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeAmount_Absolute.OnValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeAmount_Relative.OnValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeAmount_Slots.OnValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeSingleMelee.OnValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeSingleMelee_Absolute.OnValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeSingleMelee_Relative.OnValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeSingleMelee_Selection.OnValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeSingleRanged.OnValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeSingleRanged_Absolute.OnValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeSingleRanged_Relative.OnValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeSingleRanged_Selection.OnValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeAmountMelee.OnValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeAmountMelee_Absolute.OnValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeAmountMelee_Relative.OnValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeAmountMelee_Slots.OnValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeAmountRanged.OnValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeAmountRanged_Absolute.OnValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeAmountRanged_Relative.OnValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeAmountRanged_Slots.OnValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeAmountTotal.OnValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeAmountTotal_Absolute.OnValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeAmountTotal_Relative.OnValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeAmountTotal_Slots.OnValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
SidearmSpawnChance.OnValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
SidearmSpawnChanceDropoff.OnValueChanged += delegate { if (ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
SidearmBudgetMultiplier.OnValueChanged += delegate { if (ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
SidearmBudgetDropoff.OnValueChanged += delegate { if (ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
ColonistDefaultWeaponMode.OnValueChanged += delegate { if (ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
NPCDefaultWeaponMode.OnValueChanged += delegate { if (ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
OptimalMelee.ValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
CQCAutoSwitch.ValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
CQCTargetOnly.ValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
RangedCombatAutoSwitch.ValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
RangedCombatAutoSwitchMaxWarmup.ValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
SpeedSelectionBiasMelee.ValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
SpeedSelectionBiasRanged.ValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
SeparateModes.ValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeSingle.ValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeSingle_Absolute.ValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeSingle_Relative.ValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeSingle_Selection.ValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeAmount.ValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeAmount_Absolute.ValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeAmount_Relative.ValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeAmount_Slots.ValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeSingleMelee.ValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeSingleMelee_Absolute.ValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeSingleMelee_Relative.ValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeSingleMelee_Selection.ValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeSingleRanged.ValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeSingleRanged_Absolute.ValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeSingleRanged_Relative.ValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeSingleRanged_Selection.ValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeAmountMelee.ValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeAmountMelee_Absolute.ValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeAmountMelee_Relative.ValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeAmountMelee_Slots.ValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeAmountRanged.ValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeAmountRanged_Absolute.ValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeAmountRanged_Relative.ValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeAmountRanged_Slots.ValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeAmountTotal.ValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeAmountTotal_Absolute.ValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeAmountTotal_Relative.ValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
LimitModeAmountTotal_Slots.ValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
SidearmSpawnChance.ValueChanged += delegate { if(ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
SidearmSpawnChanceDropoff.ValueChanged += delegate { if (ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
SidearmBudgetMultiplier.ValueChanged += delegate { if (ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
SidearmBudgetDropoff.ValueChanged += delegate { if (ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
ColonistDefaultWeaponMode.ValueChanged += delegate { if (ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };
NPCDefaultWeaponMode.ValueChanged += delegate { if (ActivePreset.Value != Preset.NoneApplied) ActivePreset.Value = Preset.Custom; };

/*ceOverride = CEPatcher.isCEPresent(this.HarmonyInst);
Expand Down
Loading

0 comments on commit d23c8ab

Please sign in to comment.