Files
dsrc/sku.0/sys.server/compiled/game/script/conversation/naboo_rebel_tier4.java
T
TekaohandGitHub 5c2e112349 Java 11.0.2 migration (#32)
* Code compiles - execution NOT tested

* updating gitignore

* Removed intellij settings files

* Removed more intellij files

* Added exclusion for JDK classes.

* Fixed purchasing script for vendors that have listed coin types.

* Updated script to not kick off until the entire preload is complete.

* adds static name entry for Solo movie poster and tcg9 vendor entry

* clean up empty and orphaned object templates

* adds placeholder black market (static) spawns

* corrects entries for the video game table to correctly set it in tcg series 2 and remove series 1 console errors

* Updated gitignore and removed intellij project files

* Fixed appearance reference for thranta payroll and kashyyyk door, added skipLosCheck objvar due to cannit see issue. Requires updated src

* Fixed appearance and template for terminal (#2)

* Fixed appearance and template for terminal (#3)

* Fixed appearance and template for terminal (#4)

* Deleted another faulty/orphaned object template

* Fixed gcw ranks option on frog. Only issue is that it doesn't award the officer commands or badges.

* Fixed some unneeded java 11 changes
2019-04-18 18:31:52 -05:00

5890 lines
252 KiB
Java
Executable File

package script.conversation;
import script.library.*;
import script.*;
public class naboo_rebel_tier4 extends script.base_script
{
public naboo_rebel_tier4()
{
}
public static String c_stringFile = "conversation/naboo_rebel_tier4";
public boolean naboo_rebel_tier4_condition__defaultCondition(obj_id player, obj_id npc) throws InterruptedException
{
return true;
}
public boolean naboo_rebel_tier4_condition_isWrongFaction(obj_id player, obj_id npc) throws InterruptedException
{
return (!hasSkill(player, "pilot_rebel_navy_novice"));
}
public boolean naboo_rebel_tier4_condition_hasCompletedTier3(obj_id player, obj_id npc) throws InterruptedException
{
return space_flags.hasCompletedTierThree(player);
}
public boolean naboo_rebel_tier4_condition_isOnMission(obj_id player, obj_id npc) throws InterruptedException
{
return (space_quest.hasQuest(player));
}
public boolean naboo_rebel_tier4_condition_faliedMissionOne(obj_id player, obj_id npc) throws InterruptedException
{
if ((space_quest.hasAbortedQuest(player, "survival", "naboo_rebel_tier4_1") || space_quest.hasFailedQuest(player, "survival", "naboo_rebel_tier4_1")) && !space_quest.hasWonQuest(player, "escort", "naboo_rebel_tier4_1_b"))
{
return true;
}
if (space_quest.hasAbortedQuest(player, "escort", "naboo_rebel_tier4_1_b") || space_quest.hasFailedQuest(player, "escort", "naboo_rebel_tier4_1_b"))
{
return true;
}
if (space_quest.hasAbortedQuest(player, "assassinate", "naboo_rebel_tier4_1_a") || space_quest.hasFailedQuest(player, "assassinate", "naboo_rebel_tier4_1_a"))
{
return true;
}
return false;
}
public boolean naboo_rebel_tier4_condition_failedMissionTwo(obj_id player, obj_id npc) throws InterruptedException
{
if ((space_quest.hasAbortedQuest(player, "assassinate", "naboo_rebel_tier4_2") || space_quest.hasFailedQuest(player, "assassinate", "naboo_rebel_tier4_2")) && !space_quest.hasWonQuest(player, "destroy_surpriseattack", "naboo_rebel_tier4_2_b"))
{
return true;
}
if (space_quest.hasAbortedQuest(player, "destroy_surpriseattack", "naboo_rebel_tier4_2_b") || space_quest.hasFailedQuest(player, "destroy_surpriseattack", "naboo_rebel_tier4_2_b"))
{
return true;
}
if (space_quest.hasAbortedQuest(player, "space_battle", "naboo_rebel_tier4_2_a") || space_quest.hasFailedQuest(player, "space_battle", "naboo_rebel_tier4_2_a"))
{
return true;
}
return false;
}
public boolean naboo_rebel_tier4_condition_failedMissionThree(obj_id player, obj_id npc) throws InterruptedException
{
if ((space_quest.hasAbortedQuest(player, "rescue", "naboo_rebel_tier4_3") || space_quest.hasFailedQuest(player, "rescue", "naboo_rebel_tier4_3")) && !space_quest.hasWonQuest(player, "delivery_no_pickup", "naboo_rebel_tier4_3_b"))
{
return true;
}
if (space_quest.hasAbortedQuest(player, "delivery_no_pickup", "naboo_rebel_tier4_3_b") || space_quest.hasFailedQuest(player, "delivery_no_pickup", "naboo_rebel_tier4_3_b"))
{
return true;
}
if (space_quest.hasAbortedQuest(player, "assassinate", "naboo_rebel_tier4_3_a") || space_quest.hasFailedQuest(player, "assassinate", "naboo_rebel_tier4_3_a"))
{
return true;
}
return false;
}
public boolean naboo_rebel_tier4_condition_failedMissionFour(obj_id player, obj_id npc) throws InterruptedException
{
if ((space_quest.hasAbortedQuest(player, "space_battle", "naboo_rebel_tier4_4") || space_quest.hasFailedQuest(player, "space_battle", "naboo_rebel_tier4_4")) && !space_quest.hasWonQuest(player, "survival", "naboo_rebel_tier4_4_b"))
{
return true;
}
if (space_quest.hasAbortedQuest(player, "survival", "naboo_rebel_tier4_4_b") || space_quest.hasFailedQuest(player, "survival", "naboo_rebel_tier4_4_b"))
{
return true;
}
if (space_quest.hasAbortedQuest(player, "space_battle", "naboo_rebel_tier4_4_a") || space_quest.hasFailedQuest(player, "space_battle", "naboo_rebel_tier4_4_a"))
{
return true;
}
return false;
}
public boolean naboo_rebel_tier4_condition_failedMasterMission(obj_id player, obj_id npc) throws InterruptedException
{
if (space_quest.hasAbortedQuestRecursive(player, "destroy", "naboo_rebel_master") || space_quest.hasFailedQuestRecursive(player, "destroy", "naboo_rebel_master"))
{
return true;
}
return false;
}
public boolean naboo_rebel_tier4_condition_isReadyForTraining(obj_id player, obj_id npc) throws InterruptedException
{
if (naboo_rebel_tier4_condition_hasCompletedTier4(player, npc))
{
return false;
}
return (space_quest.isPlayerQualifiedForSkill(player, "pilot_rebel_navy_starships_04"));
}
public boolean naboo_rebel_tier4_condition_hasCompletedTier4(obj_id player, obj_id npc) throws InterruptedException
{
return space_flags.hasCompletedTierFour(player);
}
public boolean naboo_rebel_tier4_condition_hasMasterSkill(obj_id player, obj_id npc) throws InterruptedException
{
return (hasSkill(player, "pilot_rebel_navy_master"));
}
public boolean naboo_rebel_tier4_condition_isGettingMissionOneReward(obj_id player, obj_id npc) throws InterruptedException
{
if (space_quest.hasCompletedQuest(player, "escort", "naboo_rebel_tier4_1_b") || space_quest.hasCompletedQuest(player, "assassinate", "naboo_rebel_tier4_1_a"))
{
if (space_quest.hasReceivedReward(player, "survival", "naboo_rebel_tier4_1"))
{
return false;
}
else
{
return true;
}
}
return false;
}
public boolean naboo_rebel_tier4_condition_isGettingMissionTwoReward(obj_id player, obj_id npc) throws InterruptedException
{
if (space_quest.hasCompletedQuest(player, "destroy_surpriseattack", "naboo_rebel_tier4_2_b") || space_quest.hasCompletedQuest(player, "space_battle", "naboo_rebel_tier4_2_a"))
{
if (space_quest.hasReceivedReward(player, "assassinate", "naboo_rebel_tier4_2"))
{
return false;
}
else
{
return true;
}
}
return false;
}
public boolean naboo_rebel_tier4_condition_isGettingMissionThreeReward(obj_id player, obj_id npc) throws InterruptedException
{
if (space_quest.hasCompletedQuest(player, "delivery_no_pickup", "naboo_rebel_tier4_3_b") || space_quest.hasCompletedQuest(player, "assassinate", "naboo_rebel_tier4_3_a"))
{
if (space_quest.hasReceivedReward(player, "rescue", "naboo_rebel_tier4_3"))
{
return false;
}
else
{
return true;
}
}
return false;
}
public boolean naboo_rebel_tier4_condition_isGettingMissionFourReward(obj_id player, obj_id npc) throws InterruptedException
{
if (space_quest.hasCompletedQuest(player, "survival", "naboo_rebel_tier4_4_b") || space_quest.hasCompletedQuest(player, "space_battle", "naboo_rebel_tier4_4_a"))
{
if (space_quest.hasReceivedReward(player, "space_battle", "naboo_rebel_tier4_4"))
{
return false;
}
else
{
return true;
}
}
return false;
}
public boolean naboo_rebel_tier4_condition_isGettingMasterMissionReward(obj_id player, obj_id npc) throws InterruptedException
{
if (!space_quest.hasCompletedQuestRecursive(player, "destroy", "naboo_rebel_master"))
{
return false;
}
if (!space_quest.hasReceivedReward(player, "destroy", "naboo_rebel_master"))
{
return true;
}
else
{
return false;
}
}
public boolean naboo_rebel_tier4_condition_onMyTrack(obj_id player, obj_id npc) throws InterruptedException
{
return space_flags.isSpaceTrack(player, space_flags.REBEL_NABOO);
}
public boolean naboo_rebel_tier4_condition_canFlyNonTrackDuty(obj_id player, obj_id npc) throws InterruptedException
{
if (space_flags.hasCompletedTierOne(player) && !space_quest.hasQuest(player))
{
return true;
}
return false;
}
public boolean naboo_rebel_tier4_condition_isPilot(obj_id player, obj_id npc) throws InterruptedException
{
return space_flags.hasAnyPilotSkill(player);
}
public boolean naboo_rebel_tier4_condition_hasDroid04(obj_id player, obj_id npc) throws InterruptedException
{
return hasSkill(player, "pilot_rebel_navy_droid_04");
}
public boolean naboo_rebel_tier4_condition_hasStarship04(obj_id player, obj_id npc) throws InterruptedException
{
return hasSkill(player, "pilot_rebel_navy_starships_04");
}
public boolean naboo_rebel_tier4_condition_hasProcedure04(obj_id player, obj_id npc) throws InterruptedException
{
return hasSkill(player, "pilot_rebel_navy_procedures_04");
}
public boolean naboo_rebel_tier4_condition_hasWeapons04(obj_id player, obj_id npc) throws InterruptedException
{
return hasSkill(player, "pilot_rebel_navy_weapons_04");
}
public boolean naboo_rebel_tier4_condition_readyForMissionOne(obj_id player, obj_id npc) throws InterruptedException
{
if ((hasSkill(player, "pilot_rebel_navy_starships_04") || hasSkill(player, "pilot_rebel_navy_weapons_04") || hasSkill(player, "pilot_rebel_navy_procedures_04") || hasSkill(player, "pilot_rebel_navy_droid_04")) && space_flags.hasSpaceFlag(player, "vortexPilot") && !space_quest.hasReceivedReward(player, "survival", "naboo_rebel_tier4_1"))
{
return true;
}
else
{
return false;
}
}
public boolean naboo_rebel_tier4_condition_readyForMissionTwo(obj_id player, obj_id npc) throws InterruptedException
{
String[] skills =
{
"pilot_rebel_navy_starships_04",
"pilot_rebel_navy_weapons_04",
"pilot_rebel_navy_procedures_04",
"pilot_rebel_navy_droid_04"
};
int j = 0;
for (String skill : skills) {
if (hasSkill(player, skill)) {
j++;
}
}
if ((j == 2) && space_flags.hasSpaceFlag(player, "vortexPilot") && !space_quest.hasReceivedReward(player, "assassinate", "naboo_rebel_tier4_2"))
{
return true;
}
else
{
return false;
}
}
public boolean naboo_rebel_tier4_condition_readyForMissionThree(obj_id player, obj_id npc) throws InterruptedException
{
String[] skills =
{
"pilot_rebel_navy_starships_04",
"pilot_rebel_navy_weapons_04",
"pilot_rebel_navy_procedures_04",
"pilot_rebel_navy_droid_04"
};
int j = 0;
for (String skill : skills) {
if (hasSkill(player, skill)) {
j++;
}
}
if ((j == 3) && space_flags.hasSpaceFlag(player, "vortexPilot") && !space_quest.hasReceivedReward(player, "rescue", "naboo_rebel_tier4_3"))
{
return true;
}
else
{
return false;
}
}
public boolean naboo_rebel_tier4_condition_readyForMissionFour(obj_id player, obj_id npc) throws InterruptedException
{
String[] skills =
{
"pilot_rebel_navy_starships_04",
"pilot_rebel_navy_weapons_04",
"pilot_rebel_navy_procedures_04",
"pilot_rebel_navy_droid_04"
};
int j = 0;
for (String skill : skills) {
if (hasSkill(player, skill)) {
j++;
}
}
if ((j == 4) && space_flags.hasSpaceFlag(player, "vortexPilot") && !space_quest.hasReceivedReward(player, "space_battle", "naboo_rebel_tier4_4"))
{
return true;
}
else
{
return false;
}
}
public boolean naboo_rebel_tier4_condition_hasMetMe(obj_id player, obj_id npc) throws InterruptedException
{
return space_flags.hasSpaceFlag(player, "metTier4");
}
public boolean naboo_rebel_tier4_condition_hasNegativeFaction(obj_id player, obj_id npc) throws InterruptedException
{
return (factions.getFactionStanding(player, factions.FACTION_REBEL) < 0.0f);
}
public void naboo_rebel_tier4_action_grantMissionOne(obj_id player, obj_id npc) throws InterruptedException
{
space_quest.clearQuestFlags(player, "escort", "naboo_rebel_tier4_1_b");
space_quest.clearQuestFlags(player, "assassinate", "naboo_rebel_tier4_1_a");
space_quest.grantQuest(player, "survival", "naboo_rebel_tier4_1");
}
public void naboo_rebel_tier4_action_grantMissionTwo(obj_id player, obj_id npc) throws InterruptedException
{
space_quest.clearQuestFlags(player, "destroy_surpriseattack", "naboo_rebel_tier4_2_b");
space_quest.clearQuestFlags(player, "space_battle", "naboo_rebel_tier4_2_a");
space_quest.grantQuest(player, "assassinate", "naboo_rebel_tier4_2");
}
public void naboo_rebel_tier4_action_grantMissionThree(obj_id player, obj_id npc) throws InterruptedException
{
space_quest.clearQuestFlags(player, "delivery_no_pickup", "naboo_rebel_tier4_3_b");
space_quest.clearQuestFlags(player, "assassinate", "naboo_rebel_tier4_3_a");
space_quest.grantQuest(player, "rescue", "naboo_rebel_tier4_3");
}
public void naboo_rebel_tier4_action_grantMissionFour(obj_id player, obj_id npc) throws InterruptedException
{
space_quest.clearQuestFlags(player, "survival", "naboo_rebel_tier4_4_b");
space_quest.clearQuestFlags(player, "space_battle", "naboo_rebel_tier4_4_a");
space_quest.grantQuest(player, "space_battle", "naboo_rebel_tier4_4");
}
public void naboo_rebel_tier4_action_grantMasterMission(obj_id player, obj_id npc) throws InterruptedException
{
space_quest.grantQuest(player, "destroy", "naboo_rebel_master");
}
public void naboo_rebel_tier4_action_grantDutyMissionOne(obj_id player, obj_id npc) throws InterruptedException
{
space_quest.grantQuest(player, "destroy_duty", "naboo_rebel_tier4_1");
}
public void naboo_rebel_tier4_action_grantDutyMissionTwo(obj_id player, obj_id npc) throws InterruptedException
{
space_quest.grantQuest(player, "escort_duty", "naboo_rebel_tier4_1");
}
public void naboo_rebel_tier4_action_grantDutyMissionThree(obj_id player, obj_id npc) throws InterruptedException
{
space_quest.grantQuest(player, "recovery_duty", "naboo_rebel_tier4_1");
}
public void naboo_rebel_tier4_action_grantDutyMissionFour(obj_id player, obj_id npc) throws InterruptedException
{
space_quest.grantQuest(player, "rescue_duty", "naboo_rebel_tier4_1");
}
public void naboo_rebel_tier4_action_rewardForMissionOne(obj_id player, obj_id npc) throws InterruptedException
{
if (!space_quest.hasReceivedReward(player, "survival", "naboo_rebel_tier4_1"))
{
space_quest.giveReward(player, "survival", "naboo_rebel_tier4_1", 10000, "object/tangible/ship/components/shield_generator/shd_mission_reward_rebel_taim_military_grade.iff");
factions.addFactionStanding(player, factions.FACTION_REBEL, 150.0f);
}
}
public void naboo_rebel_tier4_action_rewardForMissionTwo(obj_id player, obj_id npc) throws InterruptedException
{
if (!space_quest.hasReceivedReward(player, "assassinate", "naboo_rebel_tier4_2"))
{
space_quest.giveReward(player, "assassinate", "naboo_rebel_tier4_2", 10000, "object/tangible/ship/components/droid_interface/ddi_mission_reward_rebel_novaldex_low_latency.iff");
factions.addFactionStanding(player, factions.FACTION_REBEL, 150.0f);
}
}
public void naboo_rebel_tier4_action_rewardForMissionThree(obj_id player, obj_id npc) throws InterruptedException
{
if (!space_quest.hasReceivedReward(player, "rescue", "naboo_rebel_tier4_3"))
{
space_quest.giveReward(player, "rescue", "naboo_rebel_tier4_3", 10000, "object/tangible/ship/components/booster/bst_mission_reward_rebel_qualdex_halcyon.iff");
factions.addFactionStanding(player, factions.FACTION_REBEL, 150.0f);
}
}
public void naboo_rebel_tier4_action_rewardForMissionFour(obj_id player, obj_id npc) throws InterruptedException
{
if (!space_quest.hasReceivedReward(player, "space_battle", "naboo_rebel_tier4_4"))
{
space_quest.giveReward(player, "space_battle", "naboo_rebel_tier4_4", 10000, "object/tangible/ship/components/weapon/wpn_mission_reward_rebel_incom_tricannon.iff");
factions.addFactionStanding(player, factions.FACTION_REBEL, 150.0f);
}
}
public void naboo_rebel_tier4_action_rewardForMasterMission(obj_id player, obj_id npc) throws InterruptedException
{
if (!space_quest.hasReceivedReward(player, "destroy", "naboo_rebel_master"))
{
space_quest.giveReward(player, "destroy", "naboo_rebel_master", 5000);
grantSkill(player, "pilot_rebel_navy_master");
}
}
public void naboo_rebel_tier4_action_buyWeaponsSkill04(obj_id player, obj_id npc) throws InterruptedException
{
skill.purchaseSkill(player, "pilot_rebel_navy_weapons_04");
playMusic(player, "sound/music_themequest_acc_general.snd");
}
public void naboo_rebel_tier4_action_buyStartshipsSkill04(obj_id player, obj_id npc) throws InterruptedException
{
skill.purchaseSkill(player, "pilot_rebel_navy_starships_04");
playMusic(player, "sound/music_themequest_acc_general.snd");
}
public void naboo_rebel_tier4_action_buyDroidSkill04(obj_id player, obj_id npc) throws InterruptedException
{
skill.purchaseSkill(player, "pilot_rebel_navy_droid_04");
playMusic(player, "sound/music_themequest_acc_general.snd");
}
public void naboo_rebel_tier4_action_buyProceduresSkill04(obj_id player, obj_id npc) throws InterruptedException
{
skill.purchaseSkill(player, "pilot_rebel_navy_procedures_04");
playMusic(player, "sound/music_themequest_acc_general.snd");
}
public void naboo_rebel_tier4_action_setMetMe(obj_id player, obj_id npc) throws InterruptedException
{
space_flags.setSpaceFlag(player, "metTier4", true);
}
public int naboo_rebel_tier4_handleBranch1(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_b3218dae"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "wave_on_dismissing");
string_id message = new string_id(c_stringFile, "s_8fc2022a");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
if (response.equals("s_4c695dbd"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "wave_on_dismissing");
string_id message = new string_id(c_stringFile, "s_7");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch4(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_11"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "wave_on_dismissing");
string_id message = new string_id(c_stringFile, "s_13");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
if (response.equals("s_15"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "wave_on_dismissing");
string_id message = new string_id(c_stringFile, "s_17");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch7(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_457a7010"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "explain");
string_id message = new string_id(c_stringFile, "s_8a64732d");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_c7932482");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 8);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch8(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_c7932482"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "explain");
string_id message = new string_id(c_stringFile, "s_6b14c8d");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch10(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_dab8fd8e"))
{
if (naboo_rebel_tier4_condition_canFlyNonTrackDuty(player, npc))
{
doAnimationAction(npc, "rub_chin_thoughtful");
string_id message = new string_id(c_stringFile, "s_127c7ddc");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_c82e9a2f");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 11);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_942559a7");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch11(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_c82e9a2f"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_272");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_274");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 131);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch13(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_c2d98904"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "dismiss");
string_id message = new string_id(c_stringFile, "s_4d41f7fe");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
if (response.equals("s_13f3baf7"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "dismiss");
string_id message = new string_id(c_stringFile, "s_35065223");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch16(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_d92f71f"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "wave_on_dismissing");
string_id message = new string_id(c_stringFile, "s_481965b0");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
if (response.equals("s_9b43a7ee"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "wave_on_dismissing");
string_id message = new string_id(c_stringFile, "s_49707203");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch19(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_47443361"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "stamp_feet");
naboo_rebel_tier4_action_grantMissionOne(player, npc);
string_id message = new string_id(c_stringFile, "s_c8592539");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
if (response.equals("s_b9b677c2"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "gesticulate_wildly");
naboo_rebel_tier4_action_grantMissionOne(player, npc);
string_id message = new string_id(c_stringFile, "s_4a835de4");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch22(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_25a79f70"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "point_up");
naboo_rebel_tier4_action_grantMissionTwo(player, npc);
string_id message = new string_id(c_stringFile, "s_80803e51");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
if (response.equals("s_d4928d9c"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "slit_throat");
naboo_rebel_tier4_action_grantDutyMissionTwo(player, npc);
string_id message = new string_id(c_stringFile, "s_13010c2d");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch25(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_23b92517"))
{
doAnimationAction(player, "shrug_hands");
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "tap_head");
naboo_rebel_tier4_action_grantMissionThree(player, npc);
string_id message = new string_id(c_stringFile, "s_34a99b58");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
if (response.equals("s_461e9b3f"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "smack_self");
naboo_rebel_tier4_action_grantMissionThree(player, npc);
string_id message = new string_id(c_stringFile, "s_84f5730a");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch28(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_f5427310"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "point_away");
naboo_rebel_tier4_action_grantMissionFour(player, npc);
string_id message = new string_id(c_stringFile, "s_3de94b24");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
prose_package pp = new prose_package();
pp.stringId = message;
pp.actor.set(player);
pp.target.set(npc);
npcEndConversationWithMessage(player, pp);
return SCRIPT_CONTINUE;
}
}
if (response.equals("s_28a543ae"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "check_wrist_device");
naboo_rebel_tier4_action_grantMissionFour(player, npc);
string_id message = new string_id(c_stringFile, "s_be8a1d81");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch31(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_6b169ba1"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "shake_head_no");
string_id message = new string_id(c_stringFile, "s_ba0973a6");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
if (response.equals("s_d9cced1f"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "salute1");
string_id message = new string_id(c_stringFile, "s_e9e695cf");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch34(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_88099422"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "shrug_shoulders");
string_id message = new string_id(c_stringFile, "s_2e34ca37");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_77e7784");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 35);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
if (response.equals("s_a2454aa3"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "laugh");
string_id message = new string_id(c_stringFile, "s_d520f8e9");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch35(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_77e7784"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_62074d0");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch38(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_6371b34a"))
{
doAnimationAction(player, "pose_proudly");
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "laugh");
string_id message = new string_id(c_stringFile, "s_85e568");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
if (response.equals("s_2c61b117"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_c48bab68");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch41(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_2928468c"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "salute1");
string_id message = new string_id(c_stringFile, "s_cc6fef40");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
prose_package pp = new prose_package();
pp.stringId = message;
pp.actor.set(player);
pp.target.set(npc);
npcEndConversationWithMessage(player, pp);
return SCRIPT_CONTINUE;
}
}
if (response.equals("s_cbb055c6"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "laugh");
string_id message = new string_id(c_stringFile, "s_ac8b75ef");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
prose_package pp = new prose_package();
pp.stringId = message;
pp.actor.set(player);
pp.target.set(npc);
npcEndConversationWithMessage(player, pp);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch44(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_5d4e24a2"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "pound_fist_palm");
string_id message = new string_id(c_stringFile, "s_a07914ba");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_38f1d025");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 45);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
if (response.equals("s_9f4dbe82"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "explain");
string_id message = new string_id(c_stringFile, "s_2c5be3f2");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_101");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 53);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch45(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_38f1d025"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "nod_head_once");
string_id message = new string_id(c_stringFile, "s_14192a1b");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_841d27db");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 46);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch46(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_841d27db"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "slit_throat");
string_id message = new string_id(c_stringFile, "s_5d9fd0db");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_88");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 47);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch47(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_88"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_80ecabfc");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_6798dc03");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 48);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch48(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_6798dc03"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "explain");
string_id message = new string_id(c_stringFile, "s_1e25d8e3");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_b76c91c2");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 49);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch49(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_b76c91c2"))
{
doAnimationAction(player, "nod_head_once");
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "explain");
string_id message = new string_id(c_stringFile, "s_9b0c24f5");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_52917b0d");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 50);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch50(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_52917b0d"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "point_forward");
string_id message = new string_id(c_stringFile, "s_e7a8a370");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_16d870fe");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 51);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch51(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_16d870fe"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "salute1");
doAnimationAction(player, "salute1");
naboo_rebel_tier4_action_grantMissionFour(player, npc);
string_id message = new string_id(c_stringFile, "s_122f0ea4");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch53(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_101"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "explain");
string_id message = new string_id(c_stringFile, "s_18da605a");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_104");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 54);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch54(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_104"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "tap_head");
string_id message = new string_id(c_stringFile, "s_106");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_108");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 55);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch55(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_108"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "point_forward");
string_id message = new string_id(c_stringFile, "s_110");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_112");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 56);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch56(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_112"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "salute2");
doAnimationAction(player, "salute2");
naboo_rebel_tier4_action_grantMissionFour(player, npc);
string_id message = new string_id(c_stringFile, "s_114");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch58(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_d17adb67"))
{
doAnimationAction(player, "laugh");
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "nod_head_once");
string_id message = new string_id(c_stringFile, "s_c424c512");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_db140dbf");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 59);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
if (response.equals("s_3b45e8ed"))
{
doAnimationAction(player, "flex_biceps");
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "applause_polite");
string_id message = new string_id(c_stringFile, "s_a753d65f");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_137");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 68);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch59(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_db140dbf"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_a8144f6");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_d0b9a993");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 60);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch60(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_d0b9a993"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "shake_head_no");
string_id message = new string_id(c_stringFile, "s_8dc4fc41");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_25dc6fac");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 61);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch61(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_25dc6fac"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "whisper");
string_id message = new string_id(c_stringFile, "s_a747531a");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_113f3fb6");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 62);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch62(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_113f3fb6"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "shrug_hands");
string_id message = new string_id(c_stringFile, "s_d8845dfe");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_46787375");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 63);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch63(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_46787375"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "whisper");
string_id message = new string_id(c_stringFile, "s_fc616447");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_711e6727");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 64);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch64(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_711e6727"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_7d47427d");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_2c4789b");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 65);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch65(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_2c4789b"))
{
doAnimationAction(player, "nod_head_once");
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "rub_chin_thoughtful");
string_id message = new string_id(c_stringFile, "s_6daeb64a");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_c8b9717d");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 66);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch66(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_c8b9717d"))
{
doAnimationAction(player, "stamp_feet");
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
naboo_rebel_tier4_action_grantMissionThree(player, npc);
string_id message = new string_id(c_stringFile, "s_4e0bf82f");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch68(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_137"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_ef2200e9");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_897a43f2");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 69);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch69(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_897a43f2"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "shake_head_no");
string_id message = new string_id(c_stringFile, "s_363f5a49");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_23c4339a");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 70);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch70(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_23c4339a"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_ca05e460");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_89488f10");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 71);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch71(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_89488f10"))
{
doAnimationAction(player, "point_to_self");
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
naboo_rebel_tier4_action_grantMissionThree(player, npc);
string_id message = new string_id(c_stringFile, "s_dd76100c");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch73(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_d3c79ae3"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "nod_head_once");
string_id message = new string_id(c_stringFile, "s_803445b");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_f4640a5b");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 74);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
if (response.equals("s_61dcb099"))
{
doAnimationAction(player, "threaten_combat");
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_175");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_177");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 87);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch74(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_f4640a5b"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "applause_excited");
string_id message = new string_id(c_stringFile, "s_d082cea6");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_422deda3");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 75);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch75(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_422deda3"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "shake_head_no");
string_id message = new string_id(c_stringFile, "s_5796fa91");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_15e6446");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 76);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch76(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_15e6446"))
{
doAnimationAction(player, "pound_fist_palm");
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "nod_head_once");
string_id message = new string_id(c_stringFile, "s_d8a1ee7e");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_45387989");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 77);
prose_package pp = new prose_package();
pp.stringId = message;
pp.actor.set(player);
pp.target.set(npc);
npcSpeak(player, pp);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
prose_package pp = new prose_package();
pp.stringId = message;
pp.actor.set(player);
pp.target.set(npc);
npcEndConversationWithMessage(player, pp);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch77(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_45387989"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_f20ed4c3");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_a13b304c");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 78);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch78(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_a13b304c"))
{
doAnimationAction(player, "flex_biceps");
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "whisper");
string_id message = new string_id(c_stringFile, "s_6a348e56");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_8a212117");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 79);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch79(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_8a212117"))
{
doAnimationAction(player, "shake_head_disgust");
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "tap_head");
string_id message = new string_id(c_stringFile, "s_422da50");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_290b6cd5");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 80);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch80(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_290b6cd5"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_de00af5");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_1c8bddbb");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 81);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch81(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_1c8bddbb"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "explain");
string_id message = new string_id(c_stringFile, "s_f8a134c0");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_d91a074");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 82);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch82(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_d91a074"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "shrug_hands");
string_id message = new string_id(c_stringFile, "s_3d213ae3");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_3069ecae");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 83);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch83(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_3069ecae"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_3678a87c");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_2896ca81");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 84);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch84(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_2896ca81"))
{
doAnimationAction(player, "point_to_self");
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "explain");
string_id message = new string_id(c_stringFile, "s_7294f771");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_171");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 85);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch85(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_171"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "salute1");
doAnimationAction(player, "salute1");
naboo_rebel_tier4_action_grantMissionTwo(player, npc);
string_id message = new string_id(c_stringFile, "s_4eaf90e6");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch87(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_177"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "explain");
string_id message = new string_id(c_stringFile, "s_179");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_181");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 88);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch88(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_181"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "shrug_hands");
string_id message = new string_id(c_stringFile, "s_183");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_185");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 89);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch89(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_185"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_3ff3b52b");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_2592b2f2");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 90);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch90(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_2592b2f2"))
{
doAnimationAction(player, "point_to_self");
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "explain");
string_id message = new string_id(c_stringFile, "s_189");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_191");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 91);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch91(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_191"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "salute2");
doAnimationAction(player, "salute1");
naboo_rebel_tier4_action_grantMissionTwo(player, npc);
string_id message = new string_id(c_stringFile, "s_193");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch93(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_a399c876"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "pound_fist_palm");
string_id message = new string_id(c_stringFile, "s_cf9c9506");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_23048e75");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 94);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
if (response.equals("s_426e2f6c"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "nod_head_once");
string_id message = new string_id(c_stringFile, "s_d082018b");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_214");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 102);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch94(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_23048e75"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "nod_head_once");
string_id message = new string_id(c_stringFile, "s_9ecb7fcf");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_d284d072");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 95);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch95(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_d284d072"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "laugh");
string_id message = new string_id(c_stringFile, "s_47eb0778");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_bfc53dde");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 96);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch96(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_bfc53dde"))
{
doAnimationAction(player, "shrug_shoulders");
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_ed0a67e");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_cc335afa");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 97);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch97(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_cc335afa"))
{
doAnimationAction(player, "nod_head_once");
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "explain");
string_id message = new string_id(c_stringFile, "s_e9c05f6b");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_d1be90a9");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 98);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch98(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_d1be90a9"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_c49d2b1");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_14ff5df8");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 99);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch99(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_14ff5df8"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "shake_head_no");
string_id message = new string_id(c_stringFile, "s_ae934c27");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_80d8485c");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 100);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch100(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_80d8485c"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "salute1");
doAnimationAction(player, "salute1");
naboo_rebel_tier4_action_grantMissionOne(player, npc);
string_id message = new string_id(c_stringFile, "s_df1c8925");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch102(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_214"))
{
doAnimationAction(player, "nod_head_once");
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "explain");
string_id message = new string_id(c_stringFile, "s_a7a9e2a7");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_217");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 103);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch103(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_217"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_219");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_221");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 104);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch104(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_221"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "shake_head_no");
string_id message = new string_id(c_stringFile, "s_223");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_225");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 105);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch105(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_225"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "salute2");
doAnimationAction(player, "salute2");
naboo_rebel_tier4_action_grantMissionOne(player, npc);
string_id message = new string_id(c_stringFile, "s_227");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch107(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_300"))
{
if (!naboo_rebel_tier4_condition_hasStarship04(player, npc))
{
string_id message = new string_id(c_stringFile, "s_301");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_305");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 108);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
if (!naboo_rebel_tier4_condition_hasWeapons04(player, npc))
{
string_id message = new string_id(c_stringFile, "s_302");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_307");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 110);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
if (!naboo_rebel_tier4_condition_hasProcedure04(player, npc))
{
string_id message = new string_id(c_stringFile, "s_303");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_309");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 112);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_304");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_311");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 114);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch108(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_305"))
{
naboo_rebel_tier4_action_buyStartshipsSkill04(player, npc);
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "nod_head_once");
string_id message = new string_id(c_stringFile, "s_315");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch110(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_307"))
{
naboo_rebel_tier4_action_buyWeaponsSkill04(player, npc);
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_317");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch112(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_309"))
{
naboo_rebel_tier4_action_buyProceduresSkill04(player, npc);
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "nod_head_once");
string_id message = new string_id(c_stringFile, "s_319");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch114(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_311"))
{
naboo_rebel_tier4_action_buyDroidSkill04(player, npc);
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "nod_head_once");
string_id message = new string_id(c_stringFile, "s_321");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch116(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_4265144c"))
{
doAnimationAction(player, "salute1");
naboo_rebel_tier4_action_setMetMe(player, npc);
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "salute1");
string_id message = new string_id(c_stringFile, "s_b5eac7c2");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_dcc126b1");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 117);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch117(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_dcc126b1"))
{
doAnimationAction(player, "shrug_shoulders");
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "point_to_self");
string_id message = new string_id(c_stringFile, "s_f789d42a");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_b3e9c738");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 118);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch118(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_b3e9c738"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "nod_head_once");
string_id message = new string_id(c_stringFile, "s_7dec31dd");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_9c236354");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 119);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch119(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_9c236354"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
doAnimationAction(npc, "nod_head_once");
string_id message = new string_id(c_stringFile, "s_e67c13ca");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_94d8d136");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 120);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch120(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_94d8d136"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_e26b9261");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_1adbadc4");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 121);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch121(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_1adbadc4"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_7455cef5");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_5e2a2bb1");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 122);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch122(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_5e2a2bb1"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_ae528424");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_61657d0f");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 123);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch123(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_61657d0f"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_e5a30f12");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_6598178f");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 124);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch124(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_6598178f"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_b5815881");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
boolean hasResponse1 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse1 = true;
}
boolean hasResponse2 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse2 = true;
}
boolean hasResponse3 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse3 = true;
}
boolean hasResponse4 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse4 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_1b9c5097");
}
if (hasResponse1)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_e01d95b6");
}
if (hasResponse2)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_df069f76");
}
if (hasResponse3)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_2477938c");
}
if (hasResponse4)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_49805f81");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 126);
prose_package pp = new prose_package();
pp.stringId = message;
pp.actor.set(player);
pp.target.set(npc);
npcSpeak(player, pp);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
prose_package pp = new prose_package();
pp.stringId = message;
pp.actor.set(player);
pp.target.set(npc);
npcEndConversationWithMessage(player, pp);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch125(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_1b9c5097"))
{
doAnimationAction(player, "pound_fist_palm");
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
naboo_rebel_tier4_action_grantDutyMissionOne(player, npc);
string_id message = new string_id(c_stringFile, "s_adc84c63");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
if (response.equals("s_e01d95b6"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
naboo_rebel_tier4_action_grantDutyMissionTwo(player, npc);
string_id message = new string_id(c_stringFile, "s_c28b3318");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
if (response.equals("s_df069f76"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
naboo_rebel_tier4_action_grantDutyMissionThree(player, npc);
string_id message = new string_id(c_stringFile, "s_c9329734");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
prose_package pp = new prose_package();
pp.stringId = message;
pp.actor.set(player);
pp.target.set(npc);
npcEndConversationWithMessage(player, pp);
return SCRIPT_CONTINUE;
}
}
if (response.equals("s_2477938c"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
naboo_rebel_tier4_action_grantDutyMissionFour(player, npc);
string_id message = new string_id(c_stringFile, "s_b83725b");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
prose_package pp = new prose_package();
pp.stringId = message;
pp.actor.set(player);
pp.target.set(npc);
npcEndConversationWithMessage(player, pp);
return SCRIPT_CONTINUE;
}
}
if (response.equals("s_49805f81"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_272");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_274");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 131);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch126(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_1b9c5097"))
{
doAnimationAction(player, "pound_fist_palm");
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
naboo_rebel_tier4_action_grantDutyMissionOne(player, npc);
string_id message = new string_id(c_stringFile, "s_adc84c63");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
if (response.equals("s_e01d95b6"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
naboo_rebel_tier4_action_grantDutyMissionTwo(player, npc);
string_id message = new string_id(c_stringFile, "s_c28b3318");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
if (response.equals("s_df069f76"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
naboo_rebel_tier4_action_grantDutyMissionThree(player, npc);
string_id message = new string_id(c_stringFile, "s_c9329734");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
prose_package pp = new prose_package();
pp.stringId = message;
pp.actor.set(player);
pp.target.set(npc);
npcEndConversationWithMessage(player, pp);
return SCRIPT_CONTINUE;
}
}
if (response.equals("s_2477938c"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
naboo_rebel_tier4_action_grantDutyMissionFour(player, npc);
string_id message = new string_id(c_stringFile, "s_b83725b");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
prose_package pp = new prose_package();
pp.stringId = message;
pp.actor.set(player);
pp.target.set(npc);
npcEndConversationWithMessage(player, pp);
return SCRIPT_CONTINUE;
}
}
if (response.equals("s_49805f81"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_272");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_274");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 131);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch131(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_274"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_276");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_278");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 132);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch132(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_278"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_280");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_282");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 133);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch133(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_282"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_c2129c67");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
boolean hasResponse1 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse1 = true;
}
boolean hasResponse2 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse2 = true;
}
boolean hasResponse3 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse3 = true;
}
boolean hasResponse4 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse4 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_1b9c5097");
}
if (hasResponse1)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_e01d95b6");
}
if (hasResponse2)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_df069f76");
}
if (hasResponse3)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_2477938c");
}
if (hasResponse4)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_49805f81");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 126);
prose_package pp = new prose_package();
pp.stringId = message;
pp.actor.set(player);
pp.target.set(npc);
npcSpeak(player, pp);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
prose_package pp = new prose_package();
pp.stringId = message;
pp.actor.set(player);
pp.target.set(npc);
npcEndConversationWithMessage(player, pp);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch134(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_1b9c5097"))
{
doAnimationAction(player, "pound_fist_palm");
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
naboo_rebel_tier4_action_grantDutyMissionOne(player, npc);
string_id message = new string_id(c_stringFile, "s_adc84c63");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
if (response.equals("s_e01d95b6"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
naboo_rebel_tier4_action_grantDutyMissionTwo(player, npc);
string_id message = new string_id(c_stringFile, "s_c28b3318");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
if (response.equals("s_df069f76"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
naboo_rebel_tier4_action_grantDutyMissionThree(player, npc);
string_id message = new string_id(c_stringFile, "s_c9329734");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
prose_package pp = new prose_package();
pp.stringId = message;
pp.actor.set(player);
pp.target.set(npc);
npcEndConversationWithMessage(player, pp);
return SCRIPT_CONTINUE;
}
}
if (response.equals("s_2477938c"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
naboo_rebel_tier4_action_grantDutyMissionFour(player, npc);
string_id message = new string_id(c_stringFile, "s_b83725b");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
prose_package pp = new prose_package();
pp.stringId = message;
pp.actor.set(player);
pp.target.set(npc);
npcEndConversationWithMessage(player, pp);
return SCRIPT_CONTINUE;
}
}
if (response.equals("s_49805f81"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_272");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_274");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 131);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch135(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_a65d4a43"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_839a8471");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_86677c6b");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 136);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
if (response.equals("s_fcbee9cd"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_45ceb48b");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_e0907aab");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 141);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch136(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_86677c6b"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_e1aa63d");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
boolean hasResponse1 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse1 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_df8d90f1");
}
if (hasResponse1)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_cb44839f");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 137);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch137(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_df8d90f1"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_ce74555e");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
if (response.equals("s_cb44839f"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_96d9696a");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_8efde2ae");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 139);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch139(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_8efde2ae"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_c9014c96");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch141(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_e0907aab"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_de5265b4");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_e63887f");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 142);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch142(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_e63887f"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_20ace535");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_310");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 143);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch143(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_310"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_2808ade7");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int naboo_rebel_tier4_handleBranch145(obj_id player, obj_id npc, string_id response) throws InterruptedException
{
if (response.equals("s_1b9c5097"))
{
doAnimationAction(player, "pound_fist_palm");
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
naboo_rebel_tier4_action_grantDutyMissionOne(player, npc);
string_id message = new string_id(c_stringFile, "s_adc84c63");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
if (response.equals("s_e01d95b6"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
naboo_rebel_tier4_action_grantDutyMissionTwo(player, npc);
string_id message = new string_id(c_stringFile, "s_c28b3318");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
return SCRIPT_CONTINUE;
}
}
if (response.equals("s_df069f76"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
naboo_rebel_tier4_action_grantDutyMissionThree(player, npc);
string_id message = new string_id(c_stringFile, "s_c9329734");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
prose_package pp = new prose_package();
pp.stringId = message;
pp.actor.set(player);
pp.target.set(npc);
npcEndConversationWithMessage(player, pp);
return SCRIPT_CONTINUE;
}
}
if (response.equals("s_2477938c"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
naboo_rebel_tier4_action_grantDutyMissionFour(player, npc);
string_id message = new string_id(c_stringFile, "s_b83725b");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
prose_package pp = new prose_package();
pp.stringId = message;
pp.actor.set(player);
pp.target.set(npc);
npcEndConversationWithMessage(player, pp);
return SCRIPT_CONTINUE;
}
}
if (response.equals("s_49805f81"))
{
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_272");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_274");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 131);
npcSpeak(player, message);
npcSetConversationResponses(player, responses);
}
else
{
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
npcEndConversationWithMessage(player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
public int OnInitialize(obj_id self) throws InterruptedException
{
if ((!isMob(self)) || (isPlayer(self)))
{
detachScript(self, "conversation.naboo_rebel_tier4");
}
setCondition(self, CONDITION_CONVERSABLE);
setCondition(self, CONDITION_SPACE_INTERESTING);
setInvulnerable(self, true);
factions.setFaction(self, factions.FACTION_REBEL);
return SCRIPT_CONTINUE;
}
public int OnAttach(obj_id self) throws InterruptedException
{
setCondition(self, CONDITION_CONVERSABLE);
setCondition(self, CONDITION_SPACE_INTERESTING);
setInvulnerable(self, true);
factions.setFaction(self, factions.FACTION_REBEL);
return SCRIPT_CONTINUE;
}
public int OnObjectMenuRequest(obj_id self, obj_id player, menu_info menuInfo) throws InterruptedException
{
int menu = menuInfo.addRootMenu(menu_info_types.CONVERSE_START, null);
menu_info_data menuInfoData = menuInfo.getMenuItemById(menu);
menuInfoData.setServerNotify(false);
faceTo(self, player);
return SCRIPT_CONTINUE;
}
public int OnIncapacitated(obj_id self, obj_id killer) throws InterruptedException
{
clearCondition(self, CONDITION_CONVERSABLE);
detachScript(self, "conversation.naboo_rebel_tier4");
return SCRIPT_CONTINUE;
}
public boolean npcStartConversation(obj_id player, obj_id npc, String convoName, string_id greetingId, prose_package greetingProse, string_id[] responses) throws InterruptedException
{
Object[] objects = new Object[responses.length];
System.arraycopy(responses, 0, objects, 0, responses.length);
return npcStartConversation(player, npc, convoName, greetingId, greetingProse, objects);
}
public int OnStartNpcConversation(obj_id self, obj_id player) throws InterruptedException
{
obj_id npc = self;
if (ai_lib.isInCombat(npc) || ai_lib.isInCombat(player))
{
return SCRIPT_OVERRIDE;
}
if (!naboo_rebel_tier4_condition_isPilot(player, npc))
{
doAnimationAction(npc, "rub_chin_thoughtful");
string_id message = new string_id(c_stringFile, "s_3daae2ee");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
boolean hasResponse1 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse1 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_b3218dae");
}
if (hasResponse1)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_4c695dbd");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 1);
npcStartConversation(player, npc, "naboo_rebel_tier4", message, responses);
}
else
{
chat.chat(npc, player, message);
}
return SCRIPT_CONTINUE;
}
if (naboo_rebel_tier4_condition_isWrongFaction(player, npc))
{
doAnimationAction(npc, "rub_chin_thoughtful");
string_id message = new string_id(c_stringFile, "s_9");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
boolean hasResponse1 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse1 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_11");
}
if (hasResponse1)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_15");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 4);
npcStartConversation(player, npc, "naboo_rebel_tier4", message, responses);
}
else
{
chat.chat(npc, player, message);
}
return SCRIPT_CONTINUE;
}
if (naboo_rebel_tier4_condition_hasNegativeFaction(player, npc))
{
doAnimationAction(npc, "point_accusingly");
string_id message = new string_id(c_stringFile, "s_2f2320af");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_457a7010");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 7);
prose_package pp = new prose_package();
pp.stringId = message;
pp.actor.set(player);
pp.target.set(npc);
npcStartConversation(player, npc, "naboo_rebel_tier4", null, pp, responses);
}
else
{
prose_package pp = new prose_package();
pp.stringId = message;
pp.actor.set(player);
pp.target.set(npc);
chat.chat(npc, player, null, null, pp);
}
return SCRIPT_CONTINUE;
}
if (!naboo_rebel_tier4_condition_onMyTrack(player, npc))
{
string_id message = new string_id(c_stringFile, "s_8cd97e8b");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_dab8fd8e");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 10);
npcStartConversation(player, npc, "naboo_rebel_tier4", message, responses);
}
else
{
chat.chat(npc, player, message);
}
return SCRIPT_CONTINUE;
}
if (!naboo_rebel_tier4_condition_hasCompletedTier3(player, npc))
{
string_id message = new string_id(c_stringFile, "s_243a81bd");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
boolean hasResponse1 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse1 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_c2d98904");
}
if (hasResponse1)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_13f3baf7");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 13);
npcStartConversation(player, npc, "naboo_rebel_tier4", message, responses);
}
else
{
chat.chat(npc, player, message);
}
return SCRIPT_CONTINUE;
}
if (naboo_rebel_tier4_condition_isOnMission(player, npc))
{
string_id message = new string_id(c_stringFile, "s_e59caef0");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
boolean hasResponse1 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse1 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_d92f71f");
}
if (hasResponse1)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_9b43a7ee");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 16);
npcStartConversation(player, npc, "naboo_rebel_tier4", message, responses);
}
else
{
chat.chat(npc, player, message);
}
return SCRIPT_CONTINUE;
}
if (naboo_rebel_tier4_condition_faliedMissionOne(player, npc))
{
doAnimationAction(npc, "gesticulate_wildly");
string_id message = new string_id(c_stringFile, "s_e8a5b38");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
boolean hasResponse1 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse1 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_47443361");
}
if (hasResponse1)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_b9b677c2");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 19);
npcStartConversation(player, npc, "naboo_rebel_tier4", message, responses);
}
else
{
chat.chat(npc, player, message);
}
return SCRIPT_CONTINUE;
}
if (naboo_rebel_tier4_condition_failedMissionTwo(player, npc))
{
doAnimationAction(npc, "hands_above_head");
string_id message = new string_id(c_stringFile, "s_4e4d6d23");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
boolean hasResponse1 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse1 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_25a79f70");
}
if (hasResponse1)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_d4928d9c");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 22);
npcStartConversation(player, npc, "naboo_rebel_tier4", message, responses);
}
else
{
chat.chat(npc, player, message);
}
return SCRIPT_CONTINUE;
}
if (naboo_rebel_tier4_condition_failedMissionThree(player, npc))
{
string_id message = new string_id(c_stringFile, "s_d9bfbc18");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
boolean hasResponse1 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse1 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_23b92517");
}
if (hasResponse1)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_461e9b3f");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 25);
npcStartConversation(player, npc, "naboo_rebel_tier4", message, responses);
}
else
{
chat.chat(npc, player, message);
}
return SCRIPT_CONTINUE;
}
if (naboo_rebel_tier4_condition_failedMissionFour(player, npc))
{
doAnimationAction(npc, "gesticulate_wildly");
string_id message = new string_id(c_stringFile, "s_82450216");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
boolean hasResponse1 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse1 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_f5427310");
}
if (hasResponse1)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_28a543ae");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 28);
npcStartConversation(player, npc, "naboo_rebel_tier4", message, responses);
}
else
{
chat.chat(npc, player, message);
}
return SCRIPT_CONTINUE;
}
if (naboo_rebel_tier4_condition_isGettingMissionOneReward(player, npc))
{
doAnimationAction(npc, "nod_head_once");
naboo_rebel_tier4_action_rewardForMissionOne(player, npc);
string_id message = new string_id(c_stringFile, "s_4222dbd0");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
boolean hasResponse1 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse1 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_6b169ba1");
}
if (hasResponse1)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_d9cced1f");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 31);
prose_package pp = new prose_package();
pp.stringId = message;
pp.actor.set(player);
pp.target.set(npc);
npcStartConversation(player, npc, "naboo_rebel_tier4", null, pp, responses);
}
else
{
prose_package pp = new prose_package();
pp.stringId = message;
pp.actor.set(player);
pp.target.set(npc);
chat.chat(npc, player, null, null, pp);
}
return SCRIPT_CONTINUE;
}
if (naboo_rebel_tier4_condition_isGettingMissionTwoReward(player, npc))
{
doAnimationAction(npc, "salute1");
naboo_rebel_tier4_action_rewardForMissionTwo(player, npc);
string_id message = new string_id(c_stringFile, "s_e282986e");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
boolean hasResponse1 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse1 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_88099422");
}
if (hasResponse1)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_a2454aa3");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 34);
npcStartConversation(player, npc, "naboo_rebel_tier4", message, responses);
}
else
{
chat.chat(npc, player, message);
}
return SCRIPT_CONTINUE;
}
if (naboo_rebel_tier4_condition_isGettingMissionThreeReward(player, npc))
{
naboo_rebel_tier4_action_rewardForMissionThree(player, npc);
string_id message = new string_id(c_stringFile, "s_75a002d0");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
boolean hasResponse1 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse1 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_6371b34a");
}
if (hasResponse1)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_2c61b117");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 38);
npcStartConversation(player, npc, "naboo_rebel_tier4", message, responses);
}
else
{
chat.chat(npc, player, message);
}
return SCRIPT_CONTINUE;
}
if (naboo_rebel_tier4_condition_isGettingMissionFourReward(player, npc))
{
doAnimationAction(npc, "applause_excited");
naboo_rebel_tier4_action_rewardForMissionFour(player, npc);
string_id message = new string_id(c_stringFile, "s_682985ff");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
boolean hasResponse1 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse1 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_2928468c");
}
if (hasResponse1)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_cbb055c6");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 41);
npcStartConversation(player, npc, "naboo_rebel_tier4", message, responses);
}
else
{
chat.chat(npc, player, message);
}
return SCRIPT_CONTINUE;
}
if (naboo_rebel_tier4_condition_readyForMissionFour(player, npc))
{
doAnimationAction(npc, "salute1");
string_id message = new string_id(c_stringFile, "s_4a858e06");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
boolean hasResponse1 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse1 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_5d4e24a2");
}
if (hasResponse1)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_9f4dbe82");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 44);
npcStartConversation(player, npc, "naboo_rebel_tier4", message, responses);
}
else
{
chat.chat(npc, player, message);
}
return SCRIPT_CONTINUE;
}
if (naboo_rebel_tier4_condition_readyForMissionThree(player, npc))
{
string_id message = new string_id(c_stringFile, "s_fc2f8c4c");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
boolean hasResponse1 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse1 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_d17adb67");
}
if (hasResponse1)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_3b45e8ed");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 58);
npcStartConversation(player, npc, "naboo_rebel_tier4", message, responses);
}
else
{
chat.chat(npc, player, message);
}
return SCRIPT_CONTINUE;
}
if (naboo_rebel_tier4_condition_readyForMissionTwo(player, npc))
{
doAnimationAction(npc, "beckon");
string_id message = new string_id(c_stringFile, "s_41e4adff");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
boolean hasResponse1 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse1 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_d3c79ae3");
}
if (hasResponse1)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_61dcb099");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 73);
npcStartConversation(player, npc, "naboo_rebel_tier4", message, responses);
}
else
{
chat.chat(npc, player, message);
}
return SCRIPT_CONTINUE;
}
if (naboo_rebel_tier4_condition_readyForMissionOne(player, npc))
{
doAnimationAction(npc, "pound_fist_chest");
string_id message = new string_id(c_stringFile, "s_4975777");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
boolean hasResponse1 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse1 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_a399c876");
}
if (hasResponse1)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_426e2f6c");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 93);
prose_package pp = new prose_package();
pp.stringId = message;
pp.actor.set(player);
pp.target.set(npc);
npcStartConversation(player, npc, "naboo_rebel_tier4", null, pp, responses);
}
else
{
prose_package pp = new prose_package();
pp.stringId = message;
pp.actor.set(player);
pp.target.set(npc);
chat.chat(npc, player, null, null, pp);
}
return SCRIPT_CONTINUE;
}
if (naboo_rebel_tier4_condition_isReadyForTraining(player, npc))
{
string_id message = new string_id(c_stringFile, "s_5dbf1a94");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_300");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 107);
npcStartConversation(player, npc, "naboo_rebel_tier4", message, responses);
}
else
{
chat.chat(npc, player, message);
}
return SCRIPT_CONTINUE;
}
if (!naboo_rebel_tier4_condition_hasMetMe(player, npc))
{
string_id message = new string_id(c_stringFile, "s_52ea3d5c");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_4265144c");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 116);
npcStartConversation(player, npc, "naboo_rebel_tier4", message, responses);
}
else
{
chat.chat(npc, player, message);
}
return SCRIPT_CONTINUE;
}
if (!naboo_rebel_tier4_condition_hasCompletedTier4(player, npc))
{
doAnimationAction(npc, "greet");
string_id message = new string_id(c_stringFile, "s_70814158");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
boolean hasResponse1 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse1 = true;
}
boolean hasResponse2 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse2 = true;
}
boolean hasResponse3 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse3 = true;
}
boolean hasResponse4 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse4 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_1b9c5097");
}
if (hasResponse1)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_e01d95b6");
}
if (hasResponse2)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_df069f76");
}
if (hasResponse3)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_2477938c");
}
if (hasResponse4)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_49805f81");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 126);
npcStartConversation(player, npc, "naboo_rebel_tier4", message, responses);
}
else
{
chat.chat(npc, player, message);
}
return SCRIPT_CONTINUE;
}
if (!naboo_rebel_tier4_condition_hasMasterSkill(player, npc))
{
string_id message = new string_id(c_stringFile, "s_75c90fe4");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
boolean hasResponse1 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse1 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_a65d4a43");
}
if (hasResponse1)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_fcbee9cd");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 135);
npcStartConversation(player, npc, "naboo_rebel_tier4", message, responses);
}
else
{
chat.chat(npc, player, message);
}
return SCRIPT_CONTINUE;
}
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
string_id message = new string_id(c_stringFile, "s_fc615cb9");
int numberOfResponses = 0;
boolean hasResponse = false;
boolean hasResponse0 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
boolean hasResponse1 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse1 = true;
}
boolean hasResponse2 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse2 = true;
}
boolean hasResponse3 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse3 = true;
}
boolean hasResponse4 = false;
if (naboo_rebel_tier4_condition__defaultCondition(player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse4 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses[] = new string_id[numberOfResponses];
if (hasResponse0)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_1b9c5097");
}
if (hasResponse1)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_e01d95b6");
}
if (hasResponse2)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_df069f76");
}
if (hasResponse3)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_2477938c");
}
if (hasResponse4)
{
responses[responseIndex++] = new string_id(c_stringFile, "s_49805f81");
}
utils.setScriptVar(player, "conversation.naboo_rebel_tier4.branchId", 126);
npcStartConversation(player, npc, "naboo_rebel_tier4", message, responses);
}
else
{
chat.chat(npc, player, message);
}
return SCRIPT_CONTINUE;
}
chat.chat(npc, "Error: All conditions for OnStartNpcConversation were false.");
return SCRIPT_CONTINUE;
}
public int OnNpcConversationResponse(obj_id self, String conversationId, obj_id player, string_id response) throws InterruptedException
{
if (!conversationId.equals("naboo_rebel_tier4"))
{
return SCRIPT_CONTINUE;
}
obj_id npc = self;
int branchId = utils.getIntScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
if (branchId == 1 && naboo_rebel_tier4_handleBranch1(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 4 && naboo_rebel_tier4_handleBranch4(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 7 && naboo_rebel_tier4_handleBranch7(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 8 && naboo_rebel_tier4_handleBranch8(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 10 && naboo_rebel_tier4_handleBranch10(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 11 && naboo_rebel_tier4_handleBranch11(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 13 && naboo_rebel_tier4_handleBranch13(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 16 && naboo_rebel_tier4_handleBranch16(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 19 && naboo_rebel_tier4_handleBranch19(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 22 && naboo_rebel_tier4_handleBranch22(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 25 && naboo_rebel_tier4_handleBranch25(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 28 && naboo_rebel_tier4_handleBranch28(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 31 && naboo_rebel_tier4_handleBranch31(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 34 && naboo_rebel_tier4_handleBranch34(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 35 && naboo_rebel_tier4_handleBranch35(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 38 && naboo_rebel_tier4_handleBranch38(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 41 && naboo_rebel_tier4_handleBranch41(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 44 && naboo_rebel_tier4_handleBranch44(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 45 && naboo_rebel_tier4_handleBranch45(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 46 && naboo_rebel_tier4_handleBranch46(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 47 && naboo_rebel_tier4_handleBranch47(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 48 && naboo_rebel_tier4_handleBranch48(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 49 && naboo_rebel_tier4_handleBranch49(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 50 && naboo_rebel_tier4_handleBranch50(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 51 && naboo_rebel_tier4_handleBranch51(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 53 && naboo_rebel_tier4_handleBranch53(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 54 && naboo_rebel_tier4_handleBranch54(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 55 && naboo_rebel_tier4_handleBranch55(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 56 && naboo_rebel_tier4_handleBranch56(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 58 && naboo_rebel_tier4_handleBranch58(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 59 && naboo_rebel_tier4_handleBranch59(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 60 && naboo_rebel_tier4_handleBranch60(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 61 && naboo_rebel_tier4_handleBranch61(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 62 && naboo_rebel_tier4_handleBranch62(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 63 && naboo_rebel_tier4_handleBranch63(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 64 && naboo_rebel_tier4_handleBranch64(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 65 && naboo_rebel_tier4_handleBranch65(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 66 && naboo_rebel_tier4_handleBranch66(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 68 && naboo_rebel_tier4_handleBranch68(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 69 && naboo_rebel_tier4_handleBranch69(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 70 && naboo_rebel_tier4_handleBranch70(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 71 && naboo_rebel_tier4_handleBranch71(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 73 && naboo_rebel_tier4_handleBranch73(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 74 && naboo_rebel_tier4_handleBranch74(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 75 && naboo_rebel_tier4_handleBranch75(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 76 && naboo_rebel_tier4_handleBranch76(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 77 && naboo_rebel_tier4_handleBranch77(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 78 && naboo_rebel_tier4_handleBranch78(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 79 && naboo_rebel_tier4_handleBranch79(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 80 && naboo_rebel_tier4_handleBranch80(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 81 && naboo_rebel_tier4_handleBranch81(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 82 && naboo_rebel_tier4_handleBranch82(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 83 && naboo_rebel_tier4_handleBranch83(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 84 && naboo_rebel_tier4_handleBranch84(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 85 && naboo_rebel_tier4_handleBranch85(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 87 && naboo_rebel_tier4_handleBranch87(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 88 && naboo_rebel_tier4_handleBranch88(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 89 && naboo_rebel_tier4_handleBranch89(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 90 && naboo_rebel_tier4_handleBranch90(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 91 && naboo_rebel_tier4_handleBranch91(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 93 && naboo_rebel_tier4_handleBranch93(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 94 && naboo_rebel_tier4_handleBranch94(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 95 && naboo_rebel_tier4_handleBranch95(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 96 && naboo_rebel_tier4_handleBranch96(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 97 && naboo_rebel_tier4_handleBranch97(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 98 && naboo_rebel_tier4_handleBranch98(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 99 && naboo_rebel_tier4_handleBranch99(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 100 && naboo_rebel_tier4_handleBranch100(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 102 && naboo_rebel_tier4_handleBranch102(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 103 && naboo_rebel_tier4_handleBranch103(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 104 && naboo_rebel_tier4_handleBranch104(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 105 && naboo_rebel_tier4_handleBranch105(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 107 && naboo_rebel_tier4_handleBranch107(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 108 && naboo_rebel_tier4_handleBranch108(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 110 && naboo_rebel_tier4_handleBranch110(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 112 && naboo_rebel_tier4_handleBranch112(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 114 && naboo_rebel_tier4_handleBranch114(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 116 && naboo_rebel_tier4_handleBranch116(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 117 && naboo_rebel_tier4_handleBranch117(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 118 && naboo_rebel_tier4_handleBranch118(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 119 && naboo_rebel_tier4_handleBranch119(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 120 && naboo_rebel_tier4_handleBranch120(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 121 && naboo_rebel_tier4_handleBranch121(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 122 && naboo_rebel_tier4_handleBranch122(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 123 && naboo_rebel_tier4_handleBranch123(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 124 && naboo_rebel_tier4_handleBranch124(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 125 && naboo_rebel_tier4_handleBranch125(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 126 && naboo_rebel_tier4_handleBranch126(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 131 && naboo_rebel_tier4_handleBranch131(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 132 && naboo_rebel_tier4_handleBranch132(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 133 && naboo_rebel_tier4_handleBranch133(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 134 && naboo_rebel_tier4_handleBranch134(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 135 && naboo_rebel_tier4_handleBranch135(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 136 && naboo_rebel_tier4_handleBranch136(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 137 && naboo_rebel_tier4_handleBranch137(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 139 && naboo_rebel_tier4_handleBranch139(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 141 && naboo_rebel_tier4_handleBranch141(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 142 && naboo_rebel_tier4_handleBranch142(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 143 && naboo_rebel_tier4_handleBranch143(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
if (branchId == 145 && naboo_rebel_tier4_handleBranch145(player, npc, response) == SCRIPT_CONTINUE)
{
return SCRIPT_CONTINUE;
}
chat.chat(npc, "Error: Fell through all branches and responses for OnNpcConversationResponse.");
utils.removeScriptVar(player, "conversation.naboo_rebel_tier4.branchId");
return SCRIPT_CONTINUE;
}
}