|
static string | GenerateBackStories (string contractType, string agency, string topic, string subject, int seed, bool allowGenericIntroduction, bool allowGenericProblem, bool allowGenericConclusion) |
| Puts together a randomized short story that may even make sense in attempting to explain an agency's reasoning for a mission contract. More...
|
|
static void | Setup () |
|
static string Contracts.TextGen.GenerateBackStories |
( |
string |
contractType, |
|
|
string |
agency, |
|
|
string |
topic, |
|
|
string |
subject, |
|
|
int |
seed, |
|
|
bool |
allowGenericIntroduction, |
|
|
bool |
allowGenericProblem, |
|
|
bool |
allowGenericConclusion |
|
) |
| |
|
inlinestatic |
Puts together a randomized short story that may even make sense in attempting to explain an agency's reasoning for a mission contract.
- Parameters
-
contractType | |
agency | The name of the agency offering the contract |
topic | A string for a 'topic' that will be directly substituted in facts and other fields that mention it. Singular noun please. |
subject | A string containing the subject matter at hand (usually a destination like a Celestial Body, Orbit, Srf, see StoryDefs.cfg for examples) |
seed | A seed number, for retrieving the exact same string again when needed (mind the string parameters must also be the same) |
allowGenericIntroduction | |
allowGenericProblem | |
allowGenericConclusion | |
- Returns
- A string telling the story, no guarantees on it making much sense.
static void Contracts.TextGen.Setup |
( |
| ) |
|
|
inlinestatic |
The documentation for this class was generated from the following file:
- KSP/Assets/Scripts/Scenarios/Career Modules/Contracts/ContractUtil/TextGen.cs