Closed lampeh closed 4 years ago
On second thought, just matching ModuleDataTransmitter* (and removing the :NEEDS[!NFE]) in the first patch might be the better solution. It would keep the patch order more predictable, too.
Oops, ModuleManager Handbook and Syntax guide don't specify what FOR
does.
I try this change and it seemingly works.
@PART[*]:HAS[@MODULE[ModuleDataTransmitter]]:NEEDS[NearFutureExploration]
Is it okay?
Is it okay?
It probably would because of the alphabetic ordering of patches.
I edited (and tested) the pull request to match all ModuleDataTransmitter* in one patch. That should avoid any problems with the patch order.
Kerbalism uses the same approach to patch NFE antennas.
Thanks @lampeh!
I will follow Kerbalism's direction on NFE antennas
The patch :FOR[NearFutureExploration] runs always and creates the tag "NearFutureExploration", so any other patches that reference NFE in a :NEEDS clause also run, even if that mod is not installed.