Skip to content

Commit

Permalink
Add support for NearFuture Exploration mod
Browse files Browse the repository at this point in the history
  • Loading branch information
KSP-TaxiService committed Feb 8, 2020
1 parent c5e5381 commit 7f2c54d
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion GameData/CommNetConstellation/cnc_module_MM.cfg
Original file line number Diff line number Diff line change
@@ -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]
{
Expand All @@ -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
{
Expand Down Expand Up @@ -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
}
}

0 comments on commit 7f2c54d

Please sign in to comment.