Skip to content

Commit 61b7ae3

Browse files
committed
MM Patch Re-Ordering & Cleanup
- Fix issues with Reviva & certain MAS-supported IVAs missing MASFlightComputer, due to patch ordering in MAS - Rename some patch file names to reflect proper MM patch ordering within passes - Reorder some MAS patches due to relying on MASFlightComputer patch order - Remove unnecessary NEEDS/FOR[AvionicsSystems] in some patches - Add missing NEEDS or other pass specifiers in some mod support patches - Rename/Relocate some mod support patch files for clarity/consistency
1 parent ab4fc12 commit 61b7ae3

File tree

6 files changed

+13
-9
lines changed

6 files changed

+13
-9
lines changed

GameData/MOARdV/Patches/000_JSI-To-MAS.cfg

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// The MAS support piggyback patch. Adds a generic MAS module to any part that
2-
// includes an RPM module.
3-
@PART[*]:HAS[@MODULE[RasterPropMonitorComputer]&!MODULE[MASFlightComputer]]:FINAL // Should run very late, to leave room for anything else to patch RPM first
2+
// includes an RPM module
3+
// Should run very late, to leave room for anything else to patch RPM first. Run 1st in Final pass, before ASET-To-MAS, MAS-to-MAS & MAS_SCANsat patches
4+
@PART[*]:HAS[@MODULE[RasterPropMonitorComputer]&!MODULE[MASFlightComputer]]:FINAL
45
{
56
MODULE
67
{
@@ -23,7 +24,7 @@
2324
}
2425
}
2526

26-
@PART[JSIPrimitiveExternalCamera]:LAST[zzz_AvionicsSystems]
27+
@PART[JSIPrimitiveExternalCamera]:FOR[AvionicsSystems]
2728
{
2829
MODULE
2930
{
@@ -44,7 +45,7 @@
4445

4546
// The JSI to MAS prop upgrade patch. This Module Manager patch replaces
4647
// every core RPM-enabled prop with its equivalent MAS-enabled prop.
47-
@INTERNAL[*]:FINAL // Should run very late, to leave room for every IVA mod/patch to run first?
48+
@INTERNAL[*]:FINAL // Run 1st in Final pass, before ASET-to-MAS patch, MAS-to-MAS patch, and MAS_SCANsat patch
4849
{
4950
// ---=== JSI/RasterPropMonitor Props ===--- //
5051

GameData/MOARdV/Patches/001_ASET-To-MAS.nocfg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
// The ASET to MAS prop upgrade patch. This Module Manager patch replaces
22
// every ASET Avionics and ASET Props RPM-enabled prop with its equivalent
33
// MAS-enabled prop. Should run very late, to leave room for every IVA mod/patch to run first?
4-
@INTERNAL[*]:FINAL //<---On patch order: what happens if another mod, patches/edits/clones a prop, and MAS applies this after?
4+
// Run 2nd in Final pass, after JSI-to-MAS patch, but before MAS-to-MAS & MAS_SCANsat patches
5+
@INTERNAL[*]:FINAL
56
{
67
// TODOs found in the ALCOR IVA that may or may not be supported already.
78

GameData/MOARdV/Patches/MAS_Old-To-MAS_New.cfg renamed to GameData/MOARdV/Patches/002_MAS_Old-To-MAS_New.cfg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
// The MAS to MAS prop conversion patch. This Module Manager patch replaces
22
// old MAS prop names with the updated nomenclature, so the handful of old
33
// IVAs don't have to be rebuilt.
4-
@INTERNAL[*]:LAST[AvionicsSystems]
4+
// Run 3rd in Final pass, after JSI-to-MAS & ASET-to-MAS patches, but before MAS_SCANsat patch
5+
@INTERNAL[*]:FINAL
56
{
67
// IndicatorPanel5x3
78
@PROP[MAS_IP5x3_Alarm],*

GameData/MOARdV/Patches/001_MAS_SCANsat.cfg renamed to GameData/MOARdV/Patches/003_MAS_SCANsat.cfg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
// Because the RPM bridge for SCANsat uses a local persistent storage module,
22
// but the SCANsat MM patch only applies to RasterPropMonitor, we need our own
33
// patch here to get the persistent storage module added to our parts.
4-
@PART[*]:HAS[@MODULE[MASFlightComputer&!MODULE[SCANRPMStorage]]:NEEDS[SCANsat]:FINAL // Should run very late, after JSI-to-MAS patch, due to MASFlightComputer
4+
// Should run very late, after JSI-to-MAS patch, due to MASFlightComputer. Run last in Final pass, after JSI-to-MAS, ASET-to-MAS, MAS-to-MAS patches
5+
@PART[*]:HAS[@MODULE[MASFlightComputer]&!MODULE[SCANRPMStorage]]:NEEDS[SCANsat]:FINAL
56
{
67
MODULE
78
{

GameData/MOARdV/Patches/MAS_AJE_IdEngine.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
// Add MASIdEngine to supported part modules.
22

3-
@PART[*]:HAS[@MODULE[ModuleEnginesAJEPropeller&!MODULE[MASIdEngine]]:AFTER[AJE]
3+
@PART[*]:HAS[@MODULE[ModuleEnginesAJEPropeller]&!MODULE[MASIdEngine]]:AFTER[AJE]
44
{
55
MODULE
66
{
77
name = MASIdEngine
88
}
99
}
1010

11-
@PART[*]:HAS[@MODULE[ModuleEnginesAJEJet]&!MODULE[MASIdEngine]]]:AFTER[AJE]
11+
@PART[*]:HAS[@MODULE[ModuleEnginesAJEJet]&!MODULE[MASIdEngine]]:AFTER[AJE]
1212
{
1313
MODULE
1414
{
File renamed without changes.

0 commit comments

Comments
 (0)