A custom system (Iotant) in the Network mod has only two stations, a custom Korolov station and a Charon stronghold. The mission only happens in this system and is available unless the Charon station has been destroyed. This is the only station of this type and the mission only happens once.
The mission is to get a custom weapon from the destroyed Charon station and return it to the Korolov station.
The desired result is to have:
1. a neutral screen description if the mission can't start because the Charon station has been destroyed, it would read something like "You see people busy at their consoles". This would also show after the player declined the mission,
2. a favorable one if the player successfully completes the mission,"Well done on the mission." and
3. a third if the player fails the mission because they stole the weapon, "Get out, thief."
Not sure how to do this.
Currently the Korolov station launches the mission using this code. This is the only mission with the attribute 'D789KorolovIotant'.
Code: Select all
<DockScreens>
<Main>
<Panes>
<Default descID="descDefault">
<Actions>
<Action id="actionCommandCenter" default="1">
(rpgMissionAssignment {
missionCriteria: "n +D789KorolovIotant;"
noMissionTextID: 'descNoMissions
maxPerStation: 1
})
</Action> etc.
Code: Select all
<Text id="descNoMissions">
TODO: 'No missions' text.
</Text>
Any ideas on how to do this?
Also, although not relevant here, is there some way of differentiating between missions that fail for different reasons? eg, if the mission fails because the owner object is destroyed vs the mission fails because a target ship gates out.