Code: Select all
<mod:findName type="shipBlueprint" name="MANTIS_SCOUT">
	(Make some changes to the Mantis Scout blueprint here)
</mod:findName>I could just keep copying & pasting the code, but it's getting pretty long.
Code: Select all
<mod:findName type="shipBlueprint" name="MANTIS_SCOUT">
	(Make some changes to the Mantis Scout blueprint here)
</mod:findName>hopefully I am not too late with this reply,MantisManMike wrote:Instead of selecting just one blueprint, I'd like to select several, and have the changes applied to all of them. I tried using <mod:findComposite>, but couldn't get it to work. Any ideas?
I could just keep copying & pasting the code, but it's getting pretty long.
Code: Select all
<mod:findComposite>
	<mod:par op="OR">
		<mod:findName type="shipBlueprint" name="MANTIS_SCOUT" />
		<mod:findName type="shipBlueprint" name="REBEL_FAT" />
		<!-- works for any find... tags. note that mod:selector can be placed within find... tags here. -->
	</mod:par>
	<!-- (Make some changes to the Mantis Scout blueprint here) -->
</mod:findComposite>Code: Select all
<mod:findComposite>
	<mod:par op="AND">
		<mod:par op="OR">
			<mod:findWithChildLike type="shipBlueprint" child-type="health"><mod:selector amount="6" /></mod:findWithChildLike>
			<mod:findWithChildLike type="shipBlueprint" child-type="health"><mod:selector amount="7" /></mod:findWithChildLike>
			<mod:findWithChildLike type="shipBlueprint" child-type="health"><mod:selector amount="8" /></mod:findWithChildLike>
			<mod:findWithChildLike type="shipBlueprint" child-type="health"><mod:selector amount="9" /></mod:findWithChildLike>
		</mod:par>
		<mod:par op="OR">
			<mod:findWithChildLike type="shipBlueprint" child-type="maxPower"><mod:selector amount="6" /></mod:findWithChildLike>
			<mod:findWithChildLike type="shipBlueprint" child-type="maxPower"><mod:selector amount="7" /></mod:findWithChildLike>
			<mod:findWithChildLike type="shipBlueprint" child-type="maxPower"><mod:selector amount="8" /></mod:findWithChildLike>
			<mod:findWithChildLike type="shipBlueprint" child-type="maxPower"><mod:selector amount="9" /></mod:findWithChildLike>
		</mod:par>
	</mod:par>
	<mod:findLike type="systemList">
		<mod:findLike type="shields">
			<mod:setAttributes power="3" />
		</mod:findLike>
		<mod:findLike type="weapons">
			<mod:setAttributes power="3" />
		</mod:findLike>
	</mod:findLike>
</mod:findComposite>
 Looks like I just didn't understand the expected structure.
 Looks like I just didn't understand the expected structure.