Files
fs2open.github.com/code/scripting
wookieejedi eb60a87b28 Allow mods to hide main Rearm/Repair items in Message Gauge (#6684)
* Allow mods to hide main Rearm/Repair items in Message Gauge

Adds a game_settings option to hide/disable the Rearm/Repair commands in the Squad Message Gauge. FotG does not use repair ships, so it is somewhat confusing to players to always see the `Rearm/Repair` order options (IE 5. Rearm/Repair Subsys and 6. Abort Rearm) and never be able to use them.

I wanted to make this PR as surgical as possible, while still giving some degree of generality, thus I went with the solution to use `active` as a true integer instead of simply an old int in the bool style. Now -1 is hidden, 0 is greyed out, and 1 is bright.

Tested and works as expected.

* update comment

* update with better name

* add another clarifying comment
2025-04-14 07:22:10 -04:00
..
2025-03-17 00:31:59 -04:00
2024-07-06 12:51:31 +02:00
2024-07-28 11:15:02 +02:00
2024-08-12 16:00:24 -04:00
2024-08-12 16:00:24 -04:00
2024-08-12 16:00:24 -04:00
2024-08-12 16:00:24 -04:00
2025-02-01 13:17:26 +01:00
2025-02-01 13:33:43 +01:00
2025-02-01 13:17:26 +01:00
2025-02-01 22:26:11 +01:00
2025-02-01 22:26:11 +01:00