GCW Invasion Quest Updates

This commit is contained in:
AconiteX
2021-09-19 09:30:11 -04:00
parent 1c97ecd280
commit 2fc6ea8e3b
6 changed files with 43 additions and 4 deletions
@@ -1097,6 +1097,24 @@ public class rebel_general extends script.base_script
{
return SCRIPT_OVERRIDE;
}
if(groundquests.isQuestActive(player, "gcw_eliminate_imperials"))
{
if(groundquests.isTaskActive(player, "gcw_eliminate_imperials", "returnToGeneral"))
{
chat.chat(npc, player, new string_id("conversation/rebel_general", "s_108"));
groundquests.completeQuest(player, "gcw_eliminate_imperials");
return SCRIPT_CONTINUE;
}
}
if(groundquests.isQuestActive(player, "gcw_entertain_fatigue"))
{
if(groundquests.isTaskActive(player, "gcw_entertain_fatigue", "returnToGeneral"))
{
chat.chat(npc, player, new string_id("conversation/rebel_general", "s_128"));
groundquests.completeQuest(player, "gcw_entertain_fatigue");
return SCRIPT_CONTINUE;
}
}
if (rebel_general_condition_isPlayerNeutral(player, npc))
{
string_id message = new string_id(c_stringFile, "s_44");