I assume this ship with the Healing Cluster Bomb is the same mod you were asking about in the CE thread when you were concerned about keeping CE events out of AE?
Unfortunately, the event DISTRESS_STATION_DISEASE is an AE event, so you will need to use some SMM advanced tags in order to add your artillery option without adding CE content to AE for this event.
Try testing this code in events.xml.append:
Code: Select all
<mod:findName type="event" name="DISTRESS_STATION_DISEASE">
<mod:findLike type="choice"> <mod:selector req="medbay"/>
<mod:findLike type="event">
<mod-append:choice hidden="true" req="CLUSTER_HEAL">
<text>(Artillery) Use the cluster healing bomb to quickly disperse the cure.</text>
<event>
<text>You reconfigure your ship's artillery system to disperse the cure in the colony. In a matter of minutes all of the workers are cured. The leaders can hardly believe what you have achieved. They offer you what they can as payment.</text>
<autoReward level="HIGH">weapon</autoReward>
</event>
</mod-append:choice>
</mod:findLike>
</mod:findLike>
</mod:findName>
Then there is the MANTIS_NAMED_THIEF_DEFEAT event. It appears to be asking for an artillery system at level 2 instead of the CLUSTER_HEAL. This is obviously bad because of artillery on other ships. I haven't gotten around to re-writing this event for you, but you can make it look for the CLUSTER_HEAL first, preventing other ships from using their incorrect artillery for this event, then have it check the level of the artillery afterwards to determine the final result.
edit: I've looked at MANTIS_NAMED_THIEF_DEFEAT again and noticed that CE edits this event, so I've made some potential SMM code for this event. Unfortunately, the reward for this event is what CE edits, so you may either make a CE and non-CE version of your mod, or allow the CE reward to be given in AE. I think it would be fine to give the CE reward in AE (random augment rather than mantis pheromones), so that is what I did in the code I'll post here.
Code: Select all
<mod:findName type="event" name="MANTIS_NAMED_THIEF_DEFEAT">
<mod:findLike type="choice"> <mod:selector req="teleporter"/>
<mod:findLike type="event">
<mod-append:choice hidden="true" req="CLUSTER_HEAL">
<text>(Artillery) Quickly drop a cluster healing bomb on him.</text>
<event>
<text>Your ship prepares to fire a cluster healing bomb in order to save the life of KazaaakplethKilik.</text>
<choice hidden="true" req="artillery" max_lvl="1" blue="false">
<text>Continue...</text>
<event>
<text>While waiting for the cluster healing bomb, KazaaakplethKilik uses the last of his strength and gives up the location of his secret stash before dying. You strip the ship wondering what other secrets went with him to the grave.</text>
<quest event="MANTIS_NAMED_THIEF_STASH" />
<autoReward level="HIGH">standard</autoReward>
</event>
</choice>
<choice hidden="true" req="artillery" lvl="2" blue="false">
<text>Continue...</text>
<event>
<text>Your haste has paid off and the nanobots from the cluster healing bombs are able to bring him back from the brink of death. When his senses return he says, "I never thought I would see this day, but... I am willing to devote myself and my ships to your cause."</text>
<choice hidden="true">
<text>Accept.</text>
<event>
<text>KazaaakplethKilik joins your crew, offers the coordinates for a nearby stash of stolen military goods and transmits the coordinates for a custom cruiser he has been working on. You forward it to the Federation, sure they can make good use of it.</text>
<augment name="RANDOM"/>
<autoReward level="HIGH">scrap_only</autoReward>
<crewMember amount="1" class="mantis" all_skills="2">Kazaaak</crewMember>
<quest event="MANTIS_NAMED_THIEF_STASH" />
<unlockShip id="2">A Mantis cruiser has been unlocked and added to the hangar!</unlockShip>
</event>
</choice>
</event>
</choice>
</event>
</mod-append:choice>
</mod:findLike>
</mod:findLike>
<mod:findLike type="choice"> <mod:selector req="sensors"/>
<mod:findLike type="event">
<mod-append:choice hidden="true" req="CLUSTER_HEAL">
<text>(Artillery) Quickly drop a cluster healing bomb on him.</text>
<event>
<text>Your ship prepares to fire a cluster healing bomb in order to save the life of KazaaakplethKilik while you move in to dock with his ship.</text>
<choice hidden="true" req="artillery" max_lvl="1" blue="false">
<text>Continue...</text>
<event>
<text>While waiting for the cluster healing bomb, KazaaakplethKilik uses the last of his strength and gives up the location of his secret stash before dying. You strip the ship wondering what other secrets went with him to the grave.</text>
<quest event="MANTIS_NAMED_THIEF_STASH" />
<autoReward level="HIGH">standard</autoReward>
</event>
</choice>
<choice hidden="true" req="artillery" lvl="2" blue="false">
<text>Continue...</text>
<event>
<text>Your haste has paid off and the nanobots from the cluster healing bombs are able to bring him back from the brink of death. When his senses return he says, "I never thought I would see this day, but... I am willing to devote myself and my ships to your cause."</text>
<choice hidden="true">
<text>Accept.</text>
<event>
<text>KazaaakplethKilik joins your crew, offers the coordinates for a nearby stash of stolen military goods and transmits the coordinates for a custom cruiser he has been working on. You forward it to the Federation, sure they can make good use of it.</text>
<augment name="RANDOM"/>
<autoReward level="HIGH">scrap_only</autoReward>
<crewMember amount="1" class="mantis" all_skills="2">Kazaaak</crewMember>
<quest event="MANTIS_NAMED_THIEF_STASH" />
<unlockShip id="2">A Mantis cruiser has been unlocked and added to the hangar!</unlockShip>
</event>
</choice>
</event>
</choice>
</event>
</mod-append:choice>
</mod:findLike>
</mod:findLike>
</mod:findName>