Karatekid5
Warlord
I feel bad about making all of these threads but I seem to keep running into headaches with this mod. Most of my custom civilizations make use of Unique Diplomacy Utilities, and I have much experience with it so normally I can easily get it working. However, on my newest Civilization it simply doesn't want to work. I set it up in the exact same way as I usually do, the only difference is that I'm using Unique Diplomacy Utilities v3 this time instead of v2. 'UniqueDiplomacyUtilitiesv3.lua' is set to VFS = True, The Lua containing the responses is set to InGameUIAddin and pointed correctly, and the response text is set to OnModUpdate > UpdateDatabase. Originally I had some errors in the text file, but after fixing those the problem persists. Now there are no errors in the Database Log, no errors in Stopwatch.log, no errors in the Lua log. The code appears to be running since it is successfully checking for the leader I am playing as and detecting that leader. Yet it still insists on using the default responses instead of the custom ones. This is happening for any leader I set to trigger a custom response, not just specific ones.
Lua file:
The unique responses text file:
The log output:
Thanks in advance!
Lua file:
Code:
-- NezuUniqueDiplomacy
-- Author: Karatekid1717
-- DateCreated: 10/17/2018 3:31:22 PM
--------------------------------------------------------------
include("UniqueDiplomacyUtilsV3.lua")
-- ============================================================================
-- Leader Variables
-- ============================================================================
-- Superheroes
local tSuperheroLeaders = {
["LEADER_STATESMAN"] = true,
["LEADER_WONDERWOMAN"] = true,
["LEADER_OPTIMUS_PRIME"] = true,
["LEADER_WOW"] = true,
["LEADER_JGR"] = true,
["LEADER_SPI"] = true,
["LEADER_WOL"] = true,
["LEADER_MSM"] = true,
["LEADER_THO"] = true,
["LEADER_GLA"] = true,
["LEADER_FLA"] = true,
["LEADER_STA"] = true,
["LEADER_EMM"] = true,
["LEADER_GRA"] = true
}
-- Quirkless Superheroes
local tNoQuirkSuperheroLeaders = {
["LEADER_BATMAN"] = true,
["LEADER_BAT"] = true,
["LEADER_CAP"] = true,
["LEADER_IRO"] = true
}
-- Overwatch Leaders
local tOverwatchLeaders = {
["LEADER_DY_TRACER"] = true,
["LEADER_JACK"] = true
}
-- Villains
local tVillainLeaders = {
["LEADER_EVIL"] = true,
["LEADER_RECLUSE"] = true,
["LEADER_TYRANT"] = true,
["LEADER_NEMESIS"] = true,
["LEADER_HRODTOHZ"] = true,
["LEADER_MEGATRON"] = true,
["LEADER_VEN"] = true
}
-- Video Game Villains
local tGameVillainLeaders = {
["LEADER_ROBOTNIK"] = true,
["LEADER_BOWSER"] = true,
["LEADER_DJOCTAVIO"] = true,
["LEADER_BM_DR_WILY"] = true,
["LEADER_ARFOIRE"] = true,
["LEADER_BWH_ARFOIRE"] = true
}
-- NepNep
local tNepNepLeaders = {
["LEADER_NEPTUNE"] = true,
["LEADER_VV_NEPTUNE"] = true,
["LEADER_UZUME"] = true
}
--Culture Japan
local tCultureJapanLeaders = {
["LEADER_TYPH_MIRAI_SUENAGA"] = true,
["LEADER_TYPH_MIRAI_SUENAGA_WINTER"] = true,
["LEADER_TYPH_MIRAI_SUENAGA_BONUS"] = true
}
-- Other Leaders
local sLeaderCharlie = "LEADER_CAPTAIN_CHARLIE"
local sLeaderPleco = "LEADER_EMPEROR_PLECO"
local sLeaderEddy = "LEADER_EDDY"
local sLeaderValentine = "LEADER_FUNNY_VALENTINE"
local sLeaderWashington = "LEADER_WASHINGTON"
local sLeaderMario = "LEADER_MARIO"
local sLeaderDK = "LEADER_DK"
local sLeaderJohnMadden = "LEADER_JOHN_MADDEN"
local sLeaderPlankton = "LEADER_PLANKTON"
local sLeaderRobbie = "LEADER_ROBBIE_ROTTEN"
local sLeaderDeedle = "LEADER_DEDEDE"
local sLeaderWario = "LEADER_TYPH_WARIO"
local sLeaderWaluigi = "LEADER_WALUIGI"
local sLeaderBanB = "LEADER_GANGWON_BANB"
local sLeaderTharja = "LEADER_EMPEROR_THOTJA"
local sLeaderReimu = "LEADER_BM_REIMU"
local sLeaderKnuckles = "LEADER_KNUCKLES"
local sLeaderCortex = "LEADER_CORTEX"
-- ============================================================================
-- Setting Diplomacy Responces
-- ============================================================================
function NezuUniqueResponses()
print ("The Nezu response routine is running!");
local pActivePlayer = Players[Game.GetActivePlayer()]
local sLeaderType = GameInfo.Leaders[pActivePlayer:GetLeaderType()].Type
if (tSuperheroLeaders[sLeaderType]) then
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_FIRST_GREETING", "TXT_KEY_LEADER_PRINCIPAL_NEZU_FIRSTGREETING%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_FIRSTGREETING%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_TRADE_ACCEPT_GENEROUS", "TXT_KEY_LEADER_PRINCIPAL_NEZU_TRADE_ACCEPT_GENEROUS%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_TRADE_ACCEPT_GENEROUS%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_WORK_WITH_US", "TXT_KEY_LEADER_PRINCIPAL_NEZU_DEC_FRIENDSHIP%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_DEC_FRIENDSHIP%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_COOP_WAR_REQUEST", "TXT_KEY_LEADER_PRINCIPAL_NEZU_COOP_WAR_REQUEST%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_COOP_WAR_REQUEST%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_GREETING_AT_WAR_WANTS_PEACE", "TXT_KEY_LEADER_PRINCIPAL_NEZU_GREETING_AT_WAR_WANTS_PEACE%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_GREETING_AT_WAR_WANTS_PEACE%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_GREETING_FRIENDLY_STRONG_MILITARY", "TXT_KEY_LEADER_PRINCIPAL_NEZU_GREETING_FRIENDLY_STRONG_MILITARY%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_GREETING_FRIENDLY_STRONG_MILITARY%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_RESPONSE_TO_BEING_DENOUNCED", "TXT_KEY_LEADER_PRINCIPAL_NEZU_RESPONSE_TO_BEING_DENOUNCED%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_RESPONSE_TO_BEING_DENOUNCED%");
print ("The player is playing as a superhero! Setting diplomacy responces...");
end
if (tNoQuirkSuperheroLeaders[sLeaderType]) then
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_FIRST_GREETING", "TXT_KEY_LEADER_PRINCIPAL_NEZU_FIRSTGREETING%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_QUIRKLESS_FIRSTGREETING%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_TRADE_ACCEPT_GENEROUS", "TXT_KEY_LEADER_PRINCIPAL_NEZU_TRADE_ACCEPT_GENEROUS%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_TRADE_ACCEPT_GENEROUS%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_WORK_WITH_US", "TXT_KEY_LEADER_PRINCIPAL_NEZU_DEC_FRIENDSHIP%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_DEC_FRIENDSHIP%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_COOP_WAR_REQUEST", "TXT_KEY_LEADER_PRINCIPAL_NEZU_COOP_WAR_REQUEST%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_COOP_WAR_REQUEST%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_GREETING_AT_WAR_WANTS_PEACE", "TXT_KEY_LEADER_PRINCIPAL_NEZU_GREETING_AT_WAR_WANTS_PEACE%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_GREETING_AT_WAR_WANTS_PEACE%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_RESPONSE_TO_BEING_DENOUNCED", "TXT_KEY_LEADER_PRINCIPAL_NEZU_RESPONSE_TO_BEING_DENOUNCED%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_RESPONSE_TO_BEING_DENOUNCED%");
print ("The player is playing as a superhero without powers! Setting diplomacy responces...");
end
if (tOverwatchLeaders[sLeaderType]) then
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_FIRST_GREETING", "TXT_KEY_LEADER_PRINCIPAL_NEZU_FIRSTGREETING%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_OVERWATCH_FIRSTGREETING%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_GREETING_POLITE_HELLO", "TXT_KEY_LEADER_PRINCIPAL_NEZU_GREETING_POLITE_HELLO%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_OVERWATCH_GREETING_POLITE_HELLO%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_TRADE_ACCEPT_GENEROUS", "TXT_KEY_LEADER_PRINCIPAL_NEZU_TRADE_ACCEPT_GENEROUS%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_TRADE_ACCEPT_GENEROUS%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_WORK_WITH_US", "TXT_KEY_LEADER_PRINCIPAL_NEZU_DEC_FRIENDSHIP%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_DEC_FRIENDSHIP%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_COOP_WAR_REQUEST", "TXT_KEY_LEADER_PRINCIPAL_NEZU_COOP_WAR_REQUEST%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_COOP_WAR_REQUEST%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_GREETING_AT_WAR_WANTS_PEACE", "TXT_KEY_LEADER_PRINCIPAL_NEZU_GREETING_AT_WAR_WANTS_PEACE%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_GREETING_AT_WAR_WANTS_PEACE%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_RESPONSE_TO_BEING_DENOUNCED", "TXT_KEY_LEADER_PRINCIPAL_NEZU_RESPONSE_TO_BEING_DENOUNCED%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_RESPONSE_TO_BEING_DENOUNCED%");
print ("The player is playing as an Overwatch agent! Setting diplomacy reponces...");
end
if (tVillainLeaders[sLeaderType]) then
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_FIRST_GREETING", "TXT_KEY_LEADER_PRINCIPAL_NEZU_FIRSTGREETING%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_FIRSTGREETING%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_TRADE_ACCEPT_GENEROUS", "TXT_KEY_LEADER_PRINCIPAL_NEZU_TRADE_ACCEPT_GENEROUS%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_TRADE_ACCEPT_GENEROUS%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_TRADE_ACCEPT_ACCEPTABLE", "TXT_KEY_LEADER_PRINCIPAL_NEZU_TRADE_ACCEPT_ACCEPTABLE%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_TRADE_ACCEPT_ACCEPTABLE%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_WORK_WITH_US", "TXT_KEY_LEADER_PRINCIPAL_NEZU_DEC_FRIENDSHIP%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_DEC_FRIENDSHIP%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_DOW_GENERIC", "TXT_KEY_LEADER_PRINCIPAL_NEZU_DOW_GENERIC%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_DOW_GENERIC%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_TOO_SOON_FOR_DOF", "TXT_KEY_LEADER_PRINCIPAL_NEZU_TOO_SOON_FOR_DOF%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_TOO_SOON_FOR_DOF%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_EXPANSION_BROKEN_PROMISE", "TXT_KEY_LEADER_PRINCIPAL_NEZU_EXPANSION_BROKEN_PROMISE%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_EXPANSION_BROKEN_PROMISE%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_DOW_LAND", "TXT_KEY_LEADER_PRINCIPAL_NEZU_DOW_LAND%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_DOW_LAND%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_DOW_BACKSTAB", "TXT_KEY_LEADER_PRINCIPAL_NEZU_DOW_BACKSTAB%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_DOW_BACKSTAB%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_EXPANSION_WARNING", "TXT_KEY_LEADER_PRINCIPAL_NEZU_EXPANSION_WARNING%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_EXPANSION_WARNING%");
print ("The player is playing as a villain! Setting diplomacy responces...");
end
if (tGameVillainLeaders[sLeaderType]) then
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_FIRST_GREETING", "TXT_KEY_LEADER_PRINCIPAL_NEZU_FIRSTGREETING%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_GAMEVILLAIN_FIRSTGREETING%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_TRADE_ACCEPT_GENEROUS", "TXT_KEY_LEADER_PRINCIPAL_NEZU_TRADE_ACCEPT_GENEROUS%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_TRADE_ACCEPT_GENEROUS%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_TRADE_ACCEPT_ACCEPTABLE", "TXT_KEY_LEADER_PRINCIPAL_NEZU_TRADE_ACCEPT_ACCEPTABLE%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_TRADE_ACCEPT_ACCEPTABLE%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_WORK_WITH_US", "TXT_KEY_LEADER_PRINCIPAL_NEZU_DEC_FRIENDSHIP%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_DEC_FRIENDSHIP%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_DOW_GENERIC", "TXT_KEY_LEADER_PRINCIPAL_NEZU_DOW_GENERIC%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_GAMEVILLAIN_DOW_GENERIC%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_TOO_SOON_FOR_DOF", "TXT_KEY_LEADER_PRINCIPAL_NEZU_TOO_SOON_FOR_DOF%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_TOO_SOON_FOR_DOF%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_EXPANSION_BROKEN_PROMISE", "TXT_KEY_LEADER_PRINCIPAL_NEZU_EXPANSION_BROKEN_PROMISE%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_EXPANSION_BROKEN_PROMISE%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_DOW_LAND", "TXT_KEY_LEADER_PRINCIPAL_NEZU_DOW_LAND%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_DOW_LAND%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_DOW_BACKSTAB", "TXT_KEY_LEADER_PRINCIPAL_NEZU_DOW_BACKSTAB%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_DOW_BACKSTAB%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_EXPANSION_WARNING", "TXT_KEY_LEADER_PRINCIPAL_NEZU_EXPANSION_WARNING%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_EXPANSION_WARNING%");
print ("The player is playing as a villain from a game! Setting diplomacy responces...");
end
if (tNepNepLeaders[sLeaderType]) then
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_FIRST_GREETING", "TXT_KEY_LEADER_PRINCIPAL_NEZU_FIRSTGREETING%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_NEPTUNE_FIRSTGREETING%")
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_WORK_WITH_US", "TXT_KEY_LEADER_PRINCIPAL_NEZU_DEC_FRIENDSHIP%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_NEPTUNE_DEC_FRIENDSHIP%")
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_GREETING_NEUTRAL_HELLO", "TXT_KEY_LEADER_PRINCIPAL_NEZU_GREETING_NEUTRAL_HELLO%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_NEPTUNE_GREETING_NEUTRAL_HELLO%")
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_GREETING_POLITE_HELLO", "TXT_KEY_LEADER_PRINCIPAL_NEZU_GREETING_POLITE_HELLO%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_NEPTUNE_GREETING_POLITE_HELLO%")
print ("The player is playing as Neptune or Uzume! Setting diplomacy responces...")
end
if (tCultureJapanLeaders[sLeaderType]) then
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_FIRST_GREETING", "TXT_KEY_LEADER_PRINCIPAL_NEZU_FIRSTGREETING%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_CULTUREJAPAN_FIRSTGREETING%");
print ("The player is playing as Mirai Suenaga! Setting diplomacy responces...");
end
if (sLeaderType == sLeaderCharlie) then
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_FIRST_GREETING", "TXT_KEY_LEADER_PRINCIPAL_NEZU_FIRSTGREETING%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_CHARLIE_FIRSTGREETING%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_FIRST_GREETING", "TXT_KEY_LEADER_PRINCIPAL_NEZU_FIRSTGREETING%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_FIRSTGREETING%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_TRADE_ACCEPT_GENEROUS", "TXT_KEY_LEADER_PRINCIPAL_NEZU_TRADE_ACCEPT_GENEROUS%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_TRADE_ACCEPT_GENEROUS%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_WORK_WITH_US", "TXT_KEY_LEADER_PRINCIPAL_NEZU_DEC_FRIENDSHIP%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_DEC_FRIENDSHIP%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_COOP_WAR_REQUEST", "TXT_KEY_LEADER_PRINCIPAL_NEZU_COOP_WAR_REQUEST%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_COOP_WAR_REQUEST%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_GREETING_AT_WAR_WANTS_PEACE", "TXT_KEY_LEADER_PRINCIPAL_NEZU_GREETING_AT_WAR_WANTS_PEACE%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_GREETING_AT_WAR_WANTS_PEACE%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_RESPONSE_TO_BEING_DENOUNCED", "TXT_KEY_LEADER_PRINCIPAL_NEZU_RESPONSE_TO_BEING_DENOUNCED%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_RESPONSE_TO_BEING_DENOUNCED%");
print ("The player is playing as Captain Charlie! Setting diplomacy responces...");
end
if (sLeaderType == sLeaderPleco) then
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_FIRST_GREETING", "TXT_KEY_LEADER_PRINCIPAL_NEZU_FIRSTGREETING%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_PLECO_FIRSTGREETING%");
print ("The player is playing as Emperor Pleco! Setting diplomacy responces...");
end
if (sLeaderType == sLeaderEddy) then
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_FIRST_GREETING", "TXT_KEY_LEADER_PRINCIPAL_NEZU_FIRSTGREETING%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_EDDY_FIRSTGREETING%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_REPEAT_TRADE", "TXT_KEY_LEADER_PRINCIPAL_NEZU_REPEAT_TRADE%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_EDDY_REPEAT_TRADE%");
print ("The player is playing as Eddy! Setting diplomacy responces...");
end
if (sLeaderType == sLeaderValentine) then
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_FIRST_GREETING", "TXT_KEY_LEADER_PRINCIPAL_NEZU_FIRSTGREETING%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_VALENTINE_FIRSTGREETING%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_TRADE_ACCEPT_GENEROUS", "TXT_KEY_LEADER_PRINCIPAL_NEZU_TRADE_ACCEPT_GENEROUS%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_TRADE_ACCEPT_GENEROUS%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_TRADE_ACCEPT_ACCEPTABLE", "TXT_KEY_LEADER_PRINCIPAL_NEZU_TRADE_ACCEPT_ACCEPTABLE%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_TRADE_ACCEPT_ACCEPTABLE%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_WORK_WITH_US", "TXT_KEY_LEADER_PRINCIPAL_NEZU_DEC_FRIENDSHIP%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_DEC_FRIENDSHIP%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_DOW_GENERIC", "TXT_KEY_LEADER_PRINCIPAL_NEZU_DOW_GENERIC%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_DOW_GENERIC%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_TOO_SOON_FOR_DOF", "TXT_KEY_LEADER_PRINCIPAL_NEZU_TOO_SOON_FOR_DOF%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_TOO_SOON_FOR_DOF%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_EXPANSION_BROKEN_PROMISE", "TXT_KEY_LEADER_PRINCIPAL_NEZU_EXPANSION_BROKEN_PROMISE%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_EXPANSION_BROKEN_PROMISE%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_DOW_LAND", "TXT_KEY_LEADER_PRINCIPAL_NEZU_DOW_LAND%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_DOW_LAND%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_DOW_BACKSTAB", "TXT_KEY_LEADER_PRINCIPAL_NEZU_DOW_BACKSTAB%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_DOW_BACKSTAB%");
print ("The player is playing as Funny Valentine! Setting diplomacy responces...");
end
if (sLeaderType == sLeaderWashington) then
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_FIRST_GREETING", "TXT_KEY_LEADER_PRINCIPAL_NEZU_FIRSTGREETING%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_WASHINGTON_FIRSTGREETING%");
print ("The player is playing as George Washington! Setting diplomacy responces...");
end
if (sLeaderType == sLeaderMario) then
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_FIRST_GREETING", "TXT_KEY_LEADER_PRINCIPAL_NEZU_FIRSTGREETING%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_MARIO_FIRSTGREETING%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_GREETING_NEUTRAL_HELLO", "TXT_KEY_LEADER_PRINCIPAL_NEZU_GREETING_NEUTRAL_HELLO%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_MARIO_GREETING_NEUTRAL_HELLO%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_TRADE_ACCEPT_GENEROUS", "TXT_KEY_LEADER_PRINCIPAL_NEZU_TRADE_ACCEPT_GENEROUS%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_TRADE_ACCEPT_GENEROUS%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_WORK_WITH_US", "TXT_KEY_LEADER_PRINCIPAL_NEZU_DEC_FRIENDSHIP%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_DEC_FRIENDSHIP%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_COOP_WAR_REQUEST", "TXT_KEY_LEADER_PRINCIPAL_NEZU_COOP_WAR_REQUEST%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_COOP_WAR_REQUEST%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_GREETING_AT_WAR_WANTS_PEACE", "TXT_KEY_LEADER_PRINCIPAL_NEZU_GREETING_AT_WAR_WANTS_PEACE%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_GREETING_AT_WAR_WANTS_PEACE%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_GREETING_FRIENDLY_STRONG_MILITARY", "TXT_KEY_LEADER_PRINCIPAL_NEZU_GREETING_FRIENDLY_STRONG_MILITARY%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_GREETING_FRIENDLY_STRONG_MILITARY%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_RESPONSE_TO_BEING_DENOUNCED", "TXT_KEY_LEADER_PRINCIPAL_NEZU_RESPONSE_TO_BEING_DENOUNCED%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_RESPONSE_TO_BEING_DENOUNCED%");
print ("The player is playing as Mario! Setting diplomacy responces...");
end
if (sLeaderType == sLeaderDK) then
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_FIRST_GREETING", "TXT_KEY_LEADER_PRINCIPAL_NEZU_FIRSTGREETING%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_DK_FIRSTGREETING%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_GREETING_NEUTRAL_HELLO", "TXT_KEY_LEADER_PRINCIPAL_NEZU_GREETING_NEUTRAL_HELLO%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_MARIO_GREETING_NEUTRAL_HELLO%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_TRADE_ACCEPT_GENEROUS", "TXT_KEY_LEADER_PRINCIPAL_NEZU_TRADE_ACCEPT_GENEROUS%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_TRADE_ACCEPT_GENEROUS%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_WORK_WITH_US", "TXT_KEY_LEADER_PRINCIPAL_NEZU_DEC_FRIENDSHIP%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_DEC_FRIENDSHIP%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_COOP_WAR_REQUEST", "TXT_KEY_LEADER_PRINCIPAL_NEZU_COOP_WAR_REQUEST%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_COOP_WAR_REQUEST%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_GREETING_AT_WAR_WANTS_PEACE", "TXT_KEY_LEADER_PRINCIPAL_NEZU_GREETING_AT_WAR_WANTS_PEACE%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_GREETING_AT_WAR_WANTS_PEACE%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_GREETING_FRIENDLY_STRONG_MILITARY", "TXT_KEY_LEADER_PRINCIPAL_NEZU_GREETING_FRIENDLY_STRONG_MILITARY%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_GREETING_FRIENDLY_STRONG_MILITARY%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_RESPONSE_TO_BEING_DENOUNCED", "TXT_KEY_LEADER_PRINCIPAL_NEZU_RESPONSE_TO_BEING_DENOUNCED%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_DK_RESPONSE_TO_BEING_DENOUNCED%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_GREETING_POLITE_HELLO", "TXT_KEY_LEADER_PRINCIPAL_NEZU_GREETING_POLITE_HELLO%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_DK_GREETING_POLITE_HELLO%");
print ("The player is playing as Donkey Kong! Setting diplomacy responces...");
end
if (sLeaderType == sLeaderJohnMadden) then
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_FIRST_GREETING", "TXT_KEY_LEADER_PRINCIPAL_NEZU_FIRSTGREETING%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_MADDEN_FIRSTGREETING%");
print ("The player is playing as John Madden! Setting diplomacy responces...");
end
if (sLeaderType == sLeaderPlankton) then
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_FIRST_GREETING", "TXT_KEY_LEADER_PRINCIPAL_NEZU_FIRSTGREETING%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_PLANKTON_FIRSTGREETING%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_GREETING_POLITE_HELLO", "TXT_KEY_LEADER_PRINCIPAL_NEZU_GREETING_POLITE_HELLO%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_OVERWATCH_GREETING_POLITE_HELLO%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_TRADE_ACCEPT_GENEROUS", "TXT_KEY_LEADER_PRINCIPAL_NEZU_TRADE_ACCEPT_GENEROUS%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_TRADE_ACCEPT_GENEROUS%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_WORK_WITH_US", "TXT_KEY_LEADER_PRINCIPAL_NEZU_DEC_FRIENDSHIP%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_DEC_FRIENDSHIP%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_COOP_WAR_REQUEST", "TXT_KEY_LEADER_PRINCIPAL_NEZU_COOP_WAR_REQUEST%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_COOP_WAR_REQUEST%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_GREETING_AT_WAR_WANTS_PEACE", "TXT_KEY_LEADER_PRINCIPAL_NEZU_GREETING_AT_WAR_WANTS_PEACE%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_GREETING_AT_WAR_WANTS_PEACE%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_RESPONSE_TO_BEING_DENOUNCED", "TXT_KEY_LEADER_PRINCIPAL_NEZU_RESPONSE_TO_BEING_DENOUNCED%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_RESPONSE_TO_BEING_DENOUNCED%");
print ("The player is playing as Plankton! Setting diplomacy responces...");
end
if (sLeaderType == sLeaderRobbie) then
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_FIRST_GREETING", "TXT_KEY_LEADER_PRINCIPAL_NEZU_FIRSTGREETING%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_ROBBIE_ROTTEN_FIRSTGREETING%");
print ("The player is playing as Robbie Rotten! Setting diplomacy responces...");
end
if (sLeaderType == sLeaderDeedle) then
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_FIRST_GREETING", "TXT_KEY_LEADER_PRINCIPAL_NEZU_FIRSTGREETING%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_DEEDLE_FIRSTGREETING%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_GREETING_POLITE_HELLO", "TXT_KEY_LEADER_PRINCIPAL_NEZU_GREETING_POLITE_HELLO%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_DEEDLE_GREETING_POLITE_HELLO%");
print ("The player is playing as King Dedede! Setting diplomacy responces...");
end
if (sLeaderType == sLeaderWario) then
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_FIRST_GREETING", "TXT_KEY_LEADER_PRINCIPAL_NEZU_FIRSTGREETING%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_WARIO_FIRSTGREETING%");
print ("The player is playing as Wario! Setting diplomacy responces...");
end
if (sLeaderType == sLeaderWaluigi) then
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_FIRST_GREETING", "TXT_KEY_LEADER_PRINCIPAL_NEZU_FIRSTGREETING%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_WALUIGI_FIRSTGREETING%");
print ("The player is playing as Waluigi! Setting diplomacy responces...");
end
if (sLeaderType == sLeaderBanB) then
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_FIRST_GREETING", "TXT_KEY_LEADER_PRINCIPAL_NEZU_FIRSTGREETING%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_BANB_FIRSTGREETING%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_WORK_WITH_US", "TXT_KEY_LEADER_PRINCIPAL_NEZU_DEC_FRIENDSHIP%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_BANB_DEC_FRIENDSHIP%");
print ("The player is playing as Ban-B! Setting diplomacy responces...");
end
if (sLeaderType == sLeaderTharja) then
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_FIRST_GREETING", "TXT_KEY_LEADER_PRINCIPAL_NEZU_FIRSTGREETING%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_THARJA_FIRSTGREETING%");
print ("The player is playing as Christmas Tharja. Setting diplomacy responces...");
end
if (sLeaderType == sLeaderReimu) then
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_FIRST_GREETING", "TXT_KEY_LEADER_PRINCIPAL_NEZU_FIRSTGREETING%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_REIMU_FIRSTGREETING%");
print ("The player is playing as Reimu! Setting diplomacy responces...");
end
if (sLeaderType == sLeaderKnuckles) then
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_FIRST_GREETING", "TXT_KEY_LEADER_PRINCIPAL_NEZU_FIRSTGREETING%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_KNUCKLES_FIRSTGREETING%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_TRADE_ACCEPT_GENEROUS", "TXT_KEY_LEADER_PRINCIPAL_NEZU_TRADE_ACCEPT_GENEROUS%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_TRADE_ACCEPT_GENEROUS%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_WORK_WITH_US", "TXT_KEY_LEADER_PRINCIPAL_NEZU_DEC_FRIENDSHIP%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_DEC_FRIENDSHIP%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_COOP_WAR_REQUEST", "TXT_KEY_LEADER_PRINCIPAL_NEZU_COOP_WAR_REQUEST%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_COOP_WAR_REQUEST%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_GREETING_AT_WAR_WANTS_PEACE", "TXT_KEY_LEADER_PRINCIPAL_NEZU_GREETING_AT_WAR_WANTS_PEACE%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_GREETING_AT_WAR_WANTS_PEACE%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_GREETING_FRIENDLY_STRONG_MILITARY", "TXT_KEY_LEADER_PRINCIPAL_NEZU_GREETING_FRIENDLY_STRONG_MILITARY%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_GREETING_FRIENDLY_STRONG_MILITARY%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_RESPONSE_TO_BEING_DENOUNCED", "TXT_KEY_LEADER_PRINCIPAL_NEZU_RESPONSE_TO_BEING_DENOUNCED%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_RESPONSE_TO_BEING_DENOUNCED%");
print ("The player is playing as Knuckles! Setting diplomacy responces...");
end
if (sLeaderType == sLeaderCortex) then
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_FIRST_GREETING", "TXT_KEY_LEADER_PRINCIPAL_NEZU_FIRSTGREETING%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_CORTEX_FIRSTGREETING%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_TRADE_ACCEPT_GENEROUS", "TXT_KEY_LEADER_PRINCIPAL_NEZU_TRADE_ACCEPT_GENEROUS%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_TRADE_ACCEPT_GENEROUS%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_TRADE_ACCEPT_ACCEPTABLE", "TXT_KEY_LEADER_PRINCIPAL_NEZU_TRADE_ACCEPT_ACCEPTABLE%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_TRADE_ACCEPT_ACCEPTABLE%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_WORK_WITH_US", "TXT_KEY_LEADER_PRINCIPAL_NEZU_DEC_FRIENDSHIP%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_DEC_FRIENDSHIP%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_DOW_GENERIC", "TXT_KEY_LEADER_PRINCIPAL_NEZU_DOW_GENERIC%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_CORTEX_DOW_GENERIC%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_TOO_SOON_FOR_DOF", "TXT_KEY_LEADER_PRINCIPAL_NEZU_TOO_SOON_FOR_DOF%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_TOO_SOON_FOR_DOF%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_EXPANSION_BROKEN_PROMISE", "TXT_KEY_LEADER_PRINCIPAL_NEZU_EXPANSION_BROKEN_PROMISE%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_EXPANSION_BROKEN_PROMISE%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_DOW_LAND", "TXT_KEY_LEADER_PRINCIPAL_NEZU_DOW_LAND%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_DOW_LAND%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_DOW_BACKSTAB", "TXT_KEY_LEADER_PRINCIPAL_NEZU_DOW_BACKSTAB%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_DOW_BACKSTAB%");
ChangeDiplomacyResponse("LEADER_PRINCIPAL_NEZU", "RESPONSE_EXPANSION_WARNING", "TXT_KEY_LEADER_PRINCIPAL_NEZU_EXPANSION_WARNING%", "TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_EXPANSION_WARNING%");
print ("The player is playing as Dr. Neo Cortex! Setting diplomacy responces...");
end
end
-- ============================================================================
-- Function
-- ============================================================================
for iPlayer = 0, GameDefines.MAX_MAJOR_CIVS - 1, 1 do
local pPlayer = Players[iPlayer]
if pPlayer ~= nil and pPlayer:IsAlive() and not pPlayer:IsHuman() and (pPlayer:GetCivilizationType() == GameInfo.Civilizations.CIVILIZATION_UA_HIGH.ID) then
Events.SequenceGameInitComplete.Add(NezuUniqueResponses);
break
end
end
The unique responses text file:
Code:
<GameData>
<Language_en_US>
<!-- ==================================== Superheroes ==================================== -->
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_FIRSTGREETING_1">
<Text>Well isn't this an honor! a professional hero visits our school from across the sea! You may stay with us as long as you like, the students could learn a lot from you. Now, how about a nice cup of tea?</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_TRADE_ACCEPT_GENEROUS_1">
<Text>Thank you very much! As expected of a hero of your stature!</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_DEC_FRIENDSHIP_1">
<Text>We've seen your heroic acts and would love to make you an official affiliate of U.A.! Would you like to join my alliance of heroes?</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_COOP_WAR_REQUEST_1">
<Text>We can't let the dangers of {1_CivName} continue to operate. Great hero, will you assist us in this endeavor?</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_GREETING_AT_WAR_WANTS_PEACE_1">
<Text>We are both heroes in this world, and we cannot sully our reputation with these pointless conflicts. It simply isn't our job. For the good of heroes and humanity, we need to make peace.</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_GREETING_FRIENDLY_STRONG_MILITARY_1">
<Text>My my, you have a powerful quirk! Care to show the students? They've all been curious!</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_SUPERHERO_RESPONSE_TO_BEING_DENOUNCED_1">
<Text>I can't believe you would do this, that a great hero like yourself would make such an accusation. Then again, not all good heroes are good people.</Text>
</Row>
<!-- ==================================== Quirkless Heroes ==================================== -->
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_QUIRKLESS_FIRSTGREETING_1">
<Text>Well isn't this an honor! a professional hero visits our school from across the sea! Though something here is a little off. You appear to have no quirk, yet you took up a successful hero career regardless. All I can do is congratulate you for going beyond and pushing through your disadvantage! Now, let's enjoy a cup of tea!</Text>
</Row>
<!-- ==================================== Overwatch Leaders ==================================== -->
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_OVERWATCH_FIRSTGREETING_1">
<Text>Now this is surely something, a real hero from the once-famous organization Overwatch! It is a real treat to see someone of your standing, and I can assure you that here your activities will not be criminalized. While some of your fellow members have acted questionably in the past, we will not deny the profession of those with genuine heroism! Now, let's relax and enjoy a cup of tea.</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_OVERWATCH_GREETING_POLITE_HELLO_1">
<Text>So I heard you know Winston, correct? Another extremely intelligent animal, just like me! I'd be honored to meet him some time, there is a lot we could collaborate on.</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_OVERWATCH_GREETING_POLITE_HELLO_2">
<Text>Hello there, agent! Care for a cup of tea?</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_OVERWATCH_GREETING_POLITE_HELLO_3">
<Text>You're just in time for one of our meetings! Please, sit in if you'd like, your unique perspective could provide a lot of useful input!</Text>
</Row>
<!-- ==================================== Villains ==================================== -->
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_FIRSTGREETING_1">
<Text>A villain, oh this isn't good. Tell me, how did you get through the U.A. Barrier? We've been doubling down on security lately so we could avoid this. Oh, a diplomatic mission you say? I'm skeptical, but I suppose you've done no harm...yet. Just stay away from our students.</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_TRADE_ACCEPT_GENEROUS_1">
<Text>You may be a heartless villain but a least you know generosity.</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_TRADE_ACCEPT_ACCEPTABLE_1">
<Text>This is good, though I'm surprised that a villain was willing to play fair.</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_DEC_FRIENDSHIP_1">
<Text>In all honesty you aren't quite as bad as you seem. Maybe a declaration of friendship would be enough to reform you.</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_DOW_GENERIC_1">
<Text>It's destiny that heroes and villains fight, you should've seen this coming! It'll be just like a Saturday morning cartoon!</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_DOW_LAND_1">
<Text>AHAHAHAHA!!! It's time to raid your hideout!</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_DOW_BACKSTAB_1">
<Text>Villains are never honest, but two can play at that game! How does it feel?</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_TOO_SOON_FOR_DOF_1">
<Text>You're a villain and we've just met each other, what makes you think I'd befriend you? I have absolutely no reason to trust you.</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_EXPANSION_WARNING_1">
<Text>The last thing we need is more villain hideouts so close to our school. We're going to need to take drastic action if you don't stop.</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_VILLAIN_EXPANSION_BROKEN_PROMISE_1">
<Text>In all honesty I didn't expect you to keep your expansion promise anyway. You're a villain, you have no shame. But do not expect this to go unopposed.</Text>
</Row>
<!-- ==================================== Game Villains ==================================== -->
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_GAMEVILLAIN_FIRSTGREETING_1">
<Text>A villain, oh this isn't good...wait, you look a little odd, a bit...cartoonish. I could've sworn I've seen you in a game before. You're likely as not as much of a threat as I thought you were. Still, I've got my eye on you.</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_GAMEVILLAIN_DOW_GENERIC_1">
<Text>This is the end of the game where you inevitably lose! Now, roll those developer names!</Text>
</Row>
<!-- ==================================== Neptune and Uzume ==================================== -->
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_NEPTUNE_FIRSTGREETING_1">
<Text>Oh hello! You're certainly a unique leader, such soft hair and cozy clothes. What? The Sega Neptune? We haven't heard of that before! Maybe Present Mic knows, he plays a lot of games.</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_NEPTUNE_DEC_FRIENDSHIP_1">
<Text>A cute fuzzy girl and a cute fuzzy animal! We'd make the perfect duo, isn't that nice?</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_NEPTUNE_GREETING_NEUTRAL_HELLO_1">
<Text>Just a little advice! All of that pudding isn't very healthy for you, and you stay up late playing games! If you're going to be a great hero, you need to eat a little healthier and get more sleep, it'll make your fur lusterous! Well, I know you don't have fur, but it'll still help!</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_NEPTUNE_GREETING_NEUTRAL_HELLO_2">
<Text>Care to discuss business over a cup of tea? Do you drink tea?</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_NEPTUNE_GREETING_NEUTRAL_HELLO_3">
<Text>We always welcome positive diplomatic interations here at our school. What is your business today?</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_NEPTUNE_GREETING_NEUTRAL_HELLO_4">
<Text>Have you been having pleasent dreams?</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_NEPTUNE_GREETING_POLITE_HELLO_1">
<Text>Welcome back, young CPU! Care for some tea?</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_NEPTUNE_GREETING_POLITE_HELLO_2">
<Text>Well, hello there! Come take a seat, I had Lunch Rush make some pudding!</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_NEPTUNE_GREETING_POLITE_HELLO_3">
<Text>You're just in time for one of our meetings! Please, sit in if you'd like. Then again, you might find it pretty boring...</Text>
</Row>
<!-- ==================================== Mirai Suenaga ==================================== -->
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_CULTUREJAPAN_FIRSTGREETING_1">
<Text>Oh hello! I've seen you in articles, you're eager to teach the world about Japanese culture! Well, since today's youth have a great interest in anime, please put in a good word for shounen. It's how I exist after all!</Text>
</Row>
<!-- ==================================== Captain Charlie (Pikmin series) ==================================== -->
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_CHARLIE_FIRSTGREETING_1">
<Text>If it isn't the quick-witted and sharp-minded Captain Charlie! You and your crew were the heroes of your planet, and characters such as yourself are always welcome within our halls! Planning, teamwork, some of our students could learn from you.</Text>
</Row>
<!-- ==================================== Emperor Pleco ==================================== -->
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_PLECO_FIRSTGREETING_1">
<Text>A fish? Wait, this can't be... another animal with High-Spec? Amazing! Please, come in, we have a lot to discuss!</Text>
</Row>
<!-- ==================================== Eddy (Ed Edd n' Eddy) ==================================== -->
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_EDDY_FIRSTGREETING_1">
<Text>I'm sorry kid, but this areea is for faculty only. Wait, you're the leader? Well isn't this something. Quirk enhancing candy you say? ...no, not at that price, this is definitely a scam.</Text>
</Row>
<Row Tag="TTXT_KEY_LEADER_PRINCIPAL_NEZU_EDDY_REPEAT_TRADE_1">
<Text>I've already told you, kid, I can see through your scams... Fair trade or no trade.</Text>
</Row>
<!-- ==================================== Funny Valentine ==================================== -->
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_VALENTINE_FIRSTGREETING_1">
<Text>If it isn't the president of the United States of America! All-Might, our #1 hero, spent a lot of time in your country training! ...wait, you aren't in any historical records. Not legitimate, but a notorious and villanous president from another dimension. I don't know your name, but you're no American hero.</Text>
</Row>
<!-- ==================================== George Washington ==================================== -->
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_WASHINGTON_FIRSTGREETING_1">
<Text>If it isn't the president of the United States of America! It is a great honor to be in your presence, General Washington. All-Might, our #1 hero, spent a lot of time in your country training! I've read of your military and political history, you are a true American hero!</Text>
</Row>
<!-- ==================================== Mario ==================================== -->
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_MARIO_FIRSTGREETING_1">
<Text>It's 'a you, Super Mario! You are one of the greatest heroes of all-time, and it is an incredible honor to have you here at our school! You should do a demonstration for our students, it would be a great way to boost morale!</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_MARIO_GREETING_NEUTRAL_HELLO_1">
<Text>We've used artwork of you and your foes to teach the exam rules to aspiring applicants! Present Mic is a huge fan of yours so it's no surprise. Though we had to replace those when going into animation, we didn't want to upset your lawyers. But we promise, it was all in good honor!</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_MARIO_GREETING_NEUTRAL_HELLO_2">
<Text>Care to discuss business over a slice of cake? It's not like what the Princess can make, but it's as close as we could get!</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_MARIO_GREETING_NEUTRAL_HELLO_3">
<Text>We always welcome positive diplomatic interations here at our school. What is your business today?</Text>
</Row>
<!-- ==================================== Donkey Kong ==================================== -->
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_DK_FIRSTGREETING_1">
<Text>From the Kongo Jungle, straight to my office, it's the great Donkey Kong! Some of my colleagues call you a villain, but I myself am well aware that it was actually your grandfather who did that for awhile. Either way, as intelligent animal leaders, we have to stick together!</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_DK_RESPONSE_TO_BEING_DENOUNCED_1">
<Text>No need to be toxic, Dankey Stank!</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_DK_GREETING_POLITE_HELLO_1">
<Text>Welcome back, DK! Have some special banana tea, brewed just for you!</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_DK_GREETING_POLITE_HELLO_2">
<Text>Well, hello there! Come take a seat, Sato has baked us a delicious coconut cream pie!</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_DK_GREETING_POLITE_HELLO_3">
<Text>You're just in time for one of our meetings! Please, sit in if you'd like. Always happy to have more animal representation!</Text>
</Row>
<!-- ==================================== John Madden ==================================== -->
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_MADDEN_FIRSTGREETING_1">
<Text>Dada dada dada da da daa daaaaaaaaaaaaaa! PLUS ULTRA PLUS ULTRA PLUS ULTRA PLUS ULTRA UUUUUUUUUUUUUUUUUUUUUUUUUUU 15 15 15 15 HOLLA HOLLA GET DOLLA JOHN MADDEN JOHN MADDEN JOHN MADDEN JOHN MADDEN JOHN MADDEN JOHN MADDEN JOHN MADDEN JOHN MADDEN aeiou TEA TIME TEA TIME TEA TIME UUUUUUUUUUUUUUUUUUU ?!?!?!?!?!?! JOHN MADDEN JOHN MADEN ALL-MIIIIIIIIIIIIIIGHT Here comes another Power-Loader earthquake ebrbrbrbrbrbbrrbbrbrbrrbrbrbrbbrrbbrrbbrbrbrrbrbrbrbrbrbrbrbrbrbrbrbrbrbrbrb!!!!!</Text>
</Row>
<!-- ==================================== Plankton ==================================== -->
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_PLANKTON_FIRSTGREETING_1">
<Text>Aren't you..the shortest villain I've ever seen, and if what I've heard is true, not very competent. Shift into maximum overdrive and play a harmonica solo for the faculty, or else it's off to the authorities for you. Then again, you likely arent much of a threat.</Text>
</Row>
<!-- ==================================== Robbie Rotten ==================================== -->
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_ROBBIE_ROTTEN_FIRSTGREETING_1">
<Text>You call yourself the Villain Number One! True, your exploits have caused much trouble for pro hero Sportacus...but in all honesty you're harmless and misunderstood. I see a sweet man inside you, one that has heroic potential! Now, would you care for some tea?</Text>
</Row>
<!-- ==================================== King Dedede ==================================== -->
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_DEEDLE_FIRSTGREETING_1">
<Text>What do we have here? The famous King Dedede of Pop Star! It's quite an honor, your Majesty. While you are greedy, you have a heart of gold, and have had some time as a hero yourself! Hm? Why yes, we do have plenty of food!</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_DEEDLE_GREETING_POLITE_HELLO_1">
<Text>Welcome back, your majesty! Care for some tea and snacks?</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_DEEDLE_GREETING_POLITE_HELLO_2">
<Text>Well, hello there! Come take a seat, I had Lunch Rush make a huge meal for you!</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_DEEDLE_GREETING_POLITE_HELLO_3">
<Text>If possible, would young Monoma be able to intern under Kirby?</Text>
</Row>
<!-- ==================================== Wario ==================================== -->
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_WARIO_FIRSTGREETING_1">
<Text>An anti-hero with plenty of cash, always an interesting sight. Welcome to U.A.! A word of advice, don't let all of that greed get to your head, too many good heroes have fallen to this as heroism became a paid profession... Do I see golden coins in your eyes?</Text>
</Row>
<!-- ==================================== Waluigi ==================================== -->
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_WALUIGI_FIRSTGREETING_1">
<Text>A skinny, purple-clad man appears to us! What is your name? Oh, we've heard of you, how you cheat and steal to get ahead. But I can't help but admire you a little, as your tale is also that of an underdog! If you clean up your act and keep up the effort, you can be a hero, too!</Text>
</Row>
<!-- ==================================== Ban-B ==================================== -->
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_BANB_FIRSTGREETING_1">
<Text>Another cute, fuzzy mammal on the world stage! This is certainly something, I thought I was the only one. Wait, why are you carrying a sack of potatoes?</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_BANB_DEC_FRIENDSHIP_1">
<Text>We would like to make an official Declaration of Friendship, we are birds of a feather after all! Well, not birds, but you know what I mean.</Text>
</Row>
<!-- ==================================== Christmas Tharja ==================================== -->
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_THARJA_FIRSTGREETING_1">
<Text>Another leader...Miss, please put on some more clothing. You're in a professional environment, this is pure indecency. Yes, we have Midnight, but she is much different.</Text>
</Row>
<!-- ==================================== Reimu ==================================== -->
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_REIMU_FIRSTGREETING_1">
<Text>A shrine maiden? Gorgeous attire, I must say! I've actually heard about you, Miss Hakurei, and your incredible initiative to help others! It is the backbone of what makes a great hero! Though, you are often quick to anger as well and attack before assessing the situation, which isn't good for your public image. But I'm sure one of my behavioral philosophies will help! Come, take a seat.[NEWLINE]*You have only just met him and yet the lectures have already begun*</Text>
</Row>
<!-- ==================================== Knuckles the Echidna ==================================== -->
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_KNUCKLES_FIRSTGREETING_1">
<Text>A mighty warrior from Angel Island, the unbreakable hero Knuckles the Echidna! It is a great honor to welcome you to our school. While you can be rather gullible you always know the right thing to do. Though, now that you're out, who's protecting the Master Emerald?</Text>
</Row>
<!-- ==================================== Dr. Neo Cortex ==================================== -->
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_CORTEX_FIRSTGREETING_1">
<Text>A villain steps through our gates, no wonder the Barrier was down. Dr. Neo Cortex, I've heard stories about you, the experiments you perform on animals, and the heroes you created and tried to dispose of. I'm intelligent thanks to my quirk, no trip needed through your Evolve-O-Ray. Yet I've had my fair share of experiments performed on me unwillingly for this, so do not expect us to get along.</Text>
</Row>
<Row Tag="TXT_KEY_LEADER_PRINCIPAL_NEZU_CORTEX_DOW_GENERIC_1">
<Text>This isn't an invasion, this is a rescue mission. I will channel the spirit of the orange hero and save my buddies from their horrible fate! We will not stop until your Vortex is destroyed! AHAHAHAHA!!!</Text>
</Row>
</Language_en_US>
</GameData>
The log output:
Code:
[862437.062] NezuUniqueDiplomacy: The Nezu response routine is running!
[862437.171] NezuUniqueDiplomacy: The player is playing as a villain from a game! Setting diplomacy responces...
Thanks in advance!