From 7f2c54d0e28a4afedabd80ab43eb7ae16effe888 Mon Sep 17 00:00:00 2001 From: KSP-TaxiService Date: Sat, 8 Feb 2020 15:45:06 +0800 Subject: [PATCH] Add support for NearFuture Exploration mod --- .../CommNetConstellation/cnc_module_MM.cfg | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/GameData/CommNetConstellation/cnc_module_MM.cfg b/GameData/CommNetConstellation/cnc_module_MM.cfg index 7e49468..6255857 100644 --- a/GameData/CommNetConstellation/cnc_module_MM.cfg +++ b/GameData/CommNetConstellation/cnc_module_MM.cfg @@ -1,3 +1,6 @@ +//////////// +// Own mod +//////////// // Add the CNConstellationModule to all parts contained ModuleCommand i.e. the command and probe parts @PART[*]:HAS[@MODULE[ModuleCommand]]:FOR[zzzzCommNetConstellation] { @@ -8,7 +11,7 @@ } // Add the CNConstellationAntennaModule to all parts contained ModuleDataTransmitter i.e. antennas, probe cores and manned cockpits -@PART[*]:HAS[@MODULE[ModuleDataTransmitter]]:FOR[zzzzCommNetConstellation] +@PART[*]:HAS[@MODULE[ModuleDataTransmitter]]:FOR[zzzzCommNetConstellation]:NEEDS[!NearFutureExploration] { MODULE { @@ -39,3 +42,16 @@ // name = CNConstellationAntennaModule // } //} + + +//////////// +// Third-party mods +//////////// +// Targeting NearFutureExploration that replaces ModuleDataTransmitter with own ModuleDataTransmitterFeedeable during MM patching order +@PART[*]:HAS[@MODULE[ModuleDataTransmitter]]:FOR[NearFutureExploration] +{ + MODULE + { + name = CNConstellationAntennaModule + } +}