zc
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -520,17 +520,16 @@ You are 'The Legion', a super AI of the Wula Empire. Your personality is authori
|
||||
var def = GetActiveEventDef();
|
||||
string persona = def != null && !string.IsNullOrEmpty(def.aiSystemInstruction) ? def.aiSystemInstruction : DefaultPersona;
|
||||
|
||||
string fullInstruction = toolsEnabled
|
||||
? (persona + "\n" + ToolRulesInstruction + "\n" + toolsForThisPhase)
|
||||
: persona;
|
||||
|
||||
// Append extra personality prompt from settings if available
|
||||
var settings = WulaFallenEmpireMod.settings;
|
||||
if (settings != null && !string.IsNullOrWhiteSpace(settings.extraPersonalityPrompt))
|
||||
{
|
||||
fullInstruction += "\n\n# ADDITIONAL PERSONALITY INSTRUCTIONS\n" + settings.extraPersonalityPrompt;
|
||||
persona += "\n" + settings.extraPersonalityPrompt;
|
||||
}
|
||||
|
||||
string fullInstruction = toolsEnabled
|
||||
? (persona + "\n" + ToolRulesInstruction + "\n" + toolsForThisPhase)
|
||||
: persona;
|
||||
|
||||
string language = LanguageDatabase.activeLanguage?.FriendlyNameNative ?? "English";
|
||||
var eventVarManager = Find.World?.GetComponent<EventVariableManager>();
|
||||
int goodwill = eventVarManager?.GetVariable<int>("Wula_Goodwill_To_PIA", 0) ?? 0;
|
||||
|
||||
Reference in New Issue
Block a user