Skip to content

Commit

Permalink
Added Clarification to Maintenance Cycle Campaign Setting
Browse files Browse the repository at this point in the history
Updated the maintenance cycle label to clarify its application during combat operations and added a tooltip for better understanding. This ensures users are aware of the different maintenance frequencies during peacetime versus non-Garrison contracts.
  • Loading branch information
IllianiCBT committed Sep 26, 2024
1 parent 6e2a350 commit 901ee21
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ lblSubRepair.text=Repair
lblSubMaintenance.text=Maintenance
checkMaintenance.text=Make maintenance checks
checkMaintenance.toolTipText=If checked, each unit will make a parts-specific maintenance check at the end of each maintenance cycle
lblMaintenanceDays.text=Maintenance cycle length in days
lblMaintenanceDays.text=Maintenance cycle length in days (combat)
lblMaintenanceDays.toolTipText=This setting determines how frequently maintenance checks are made while on non-Garrison contracts. Peacetime frequency is x4 this value.
lblMaintenanceBonus.text=Maintenance modifier
spnMaintenanceBonus.toolTipText=When checking by parts, Strat Ops applies a -1 bonus to the maintenance check target - you can change this modifier with this value
useQualityMaintenance.text=Use quality modifiers in maintenance checks
Expand Down
1 change: 1 addition & 0 deletions MekHQ/src/mekhq/gui/panes/CampaignOptionsPane.java
Original file line number Diff line number Diff line change
Expand Up @@ -1057,6 +1057,7 @@ private JScrollPane createRepairAndMaintenanceTab() {
JPanel pnlMaintenanceDays = new JPanel();
pnlMaintenanceDays.add(spnMaintenanceDays);
pnlMaintenanceDays.add(new JLabel(resources.getString("lblMaintenanceDays.text")));
pnlMaintenanceDays.setToolTipText(wordWrap(resources.getString("lblMaintenanceDays.toolTipText")));
gridBagConstraints = new GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 1;
Expand Down

0 comments on commit 901ee21

Please sign in to comment.