-
Notifications
You must be signed in to change notification settings - Fork 989
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow Substitutions to be defined from Phrases #6981
Comments
Would the following be effectively what you're looking for, just with more steps?
You could then use more branches and events to have more possibilities. Given the overhead required, you'd likely not have as many possibilities as if you could make use of phrases, but this at least allows you to have something while substitutions can't be randomized. |
I had been hoping to avoid having to define every possibility because the idea is that events and missions can effect election outcomes, and we have no way of knowing exactly when a player will get around to doing the missions. I mean, somebody could potentially spend thirty years just trading or fighting pirates before they get to the mission chains. Having said that, though, that would probably be unusual, and having something in place for now would allow the Republic mission chain to move on. Thanks for the suggestion. I'll probably use it for now. I'd appreciate if you could leave the issue open, though, as I imagine having this capability could be useful for others too. |
Problem Description
I want to be able to define several global substitutions which can be dynamically altered by events, but where the specifics of the new entry may not be known. Specifically, I am writing missions to simulate government elections in the Republic and need to define who is the major governing bloc, who is the opposition, the name of the Prime Minister, and the name of the Opposition Leader, as all of these things can be referred to in Missions, News items and Conversations.
However, each of these will change over time, and particularly by player involvement, and so when the Opposition win an election, for example, I would need to be able to switch the Prime Minister and Opposition Leader, and the Incumbent and Opposition.
Furthermore, if a leader is removed for whatever reason (retirement, impeachment, vote of no confidence, assassination, etc.), I need to be able to choose a new name from a list (which would be accomplished by creating a Phrase using either male or female first names, and the family names mentioned in my other Feature Request (6968)).
Related Issue Links
Not specifically for the same issue, but Issue 6968 is related because both are for the same project.
Desired Solution
Currently a global substitution can be changed if you can say specifically what you are changing it to. For example, if you have a substitution, set up to give you "John Smith", you can then use an event to change it to "Tom Jones". I want to be able to;
use the current value of another previously defined substitution, (when the opposition wins an election), and also;
use the result of a phrase which makes up a name from lists of first and family names (when a new leader takes over from an outgoing one)
Alternative Approaches
I have tried using phrases instead of substitutions but, doing it this way would mean that the name of the Prime Minister would be selected randomly every time it is displayed.
Additional Context
No response
The text was updated successfully, but these errors were encountered: