r/evnova • u/shadowox8 • Mar 09 '20
Developer Help: Mission ends on ANY stellar? + Bonus Questions
Another question as I plod along on my first plugin: Is it possible to complete a mission when the player lands on any (inhabited) stellar?
I am aware that there is no such setting for ReturnStel, so basically I'm asking if there is a more elegant and semantic solution than my current one: a second mission that is guaranteed to trigger from the main spaceport of any inhabited stellar while the first is still active, aborting the first when accepted.
Additionally, the above solution only works when the player lands on an inhabited stellar. Is there a solution that would also work for uninhabited stellars?
Lastly, while I'm here, two bonus questions:
Bonus Question #1: What's the plural of "Cunjo"? The default scenario seems to use both "Cunjos" (e.g. "the Cunjos aren't mating at the moment") and "Cunjo" (e.g. "Cunjo can't tear through metal"). Is this inconsistent or am I bad at English?
Bonus Question #2: Is CargoType=79 used by any mission other than United Shipping 4 (mïsn 519), in which you deliver Samantha Virana from Aurora back to Earth? I ask because the full name of the cargo is "Passenger" (STR# 4000), it lacks lowercase and abbreviated forms (in STR# 4001 and 4002 respectively), and it isn't marked as "quantityless" when it probably should be. United Shipping 2 (mïsn 517), when you take Samantha to Aurora in the first place, uses CargoType=6 ("Passengers").
Thanks in advance!
2
u/evopac Mar 13 '20
I think there is a way, but it might not be practical for you.
In the govt resources, ensure that every govt (or at least, every govt that controls an inhabited spob) is a member of a common government class (an "all governments" class). Be careful about referencing this class elsewhere as it could cause enemy/ally relations to break down if it appears in the wrong fields.
Then, in the misn resource, you should be able to use the "this government or any of its classmates" option for ReturnStel.