Files
dsrc/sku.0/sys.server/compiled/game/script/conversation/tatooine_privateer_tier3.script
T

11861 lines
341 KiB
Plaintext

// ======================================================================
//
// tatooine_privateer_tier3.script
//
//
//
// Created with SwgConversationEditor 1.35 - DO NOT EDIT THIS AUTO-GENERATED FILE!
//
// ======================================================================
// ======================================================================
// Library Includes
// ======================================================================
include library.ai_lib;
include library.chat;
include library.skill;
include library.space_flags;
include library.space_quest;
include library.utils;
// ======================================================================
// Script Constants
// ======================================================================
string c_stringFile = "conversation/tatooine_privateer_tier3";
// ======================================================================
// Script Conditions
// ======================================================================
boolean tatooine_privateer_tier3_condition__defaultCondition (obj_id player, obj_id npc)
{
return true;
}
// ----------------------------------------------------------------------
boolean tatooine_privateer_tier3_condition_isCorrectFaction (obj_id player, obj_id npc)
{
//if this is an Imperial trainer, make sure the player is an Imperial Pilot
//if it is Rebel, then make sure the player is a rebel pilot, etc.
//return FALSE if this NPC should NOT talk to this player!
return ( hasSkill( player, "pilot_neutral_novice" ) );
}
// ----------------------------------------------------------------------
boolean tatooine_privateer_tier3_condition_isReadyForTier3 (obj_id player, obj_id npc)
{
if (space_flags.hasCompletedTierTwo(player) &&
space_quest.hasWonQuest(player, "assassinate", "tatooine_privateer_tier2_1a") &&
space_quest.hasWonQuest(player, "assassinate", "tatooine_privateer_tier2_2a") &&
space_quest.hasWonQuest(player, "assassinate", "tatooine_privateer_tier2_3a") &&
space_quest.hasWonQuest(player, "escort", "tatooine_privateer_tier2_4a"))
return true;
return false;
/*
//if you're missing any of these skills, then you aren't ready for tier3
if (!hasSkill( player, "pilot_neutral_starships_02") )
return false;
else if (!hasSkill( player, "pilot_neutral_procedures_02") )
return false;
else if (!hasSkill( player, "pilot_neutral_weapons_02") )
return false;
else if (!hasSkill( player, "pilot_neutral_droid_02" ) )
return false;
else
return true;
return space_flags.hasCompletedTierTwo(player);
*/
}
// ----------------------------------------------------------------------
boolean tatooine_privateer_tier3_condition_isOnQuest (obj_id player, obj_id npc)
{
return ( space_quest.hasQuest( player ) );
}
// ----------------------------------------------------------------------
boolean tatooine_privateer_tier3_condition_failedQuestOne (obj_id player, obj_id npc)
{
if ( space_quest.hasFailedQuestRecursive( player, "recovery", "tatooine_privateer_tier3_1" ) ||
space_quest.hasAbortedQuestRecursive( player, "recovery", "tatooine_privateer_tier3_1" ) )
{
return true;
}
return false;
}
// ----------------------------------------------------------------------
boolean tatooine_privateer_tier3_condition_failedQuestTwo (obj_id player, obj_id npc)
{
if ( space_quest.hasFailedQuestRecursive( player, "inspect", "tatooine_privateer_tier3_2" ) ||
space_quest.hasAbortedQuestRecursive( player, "inspect", "tatooine_privateer_tier3_2" ) )
{
return true;
}
return false;
}
// ----------------------------------------------------------------------
boolean tatooine_privateer_tier3_condition_failedQuestThree (obj_id player, obj_id npc)
{
if ( space_quest.hasFailedQuestRecursive( player, "delivery_no_pickup", "tatooine_privateer_tier3_3" ) ||
space_quest.hasAbortedQuestRecursive( player, "delivery_no_pickup", "tatooine_privateer_tier3_3" ) )
{
return true;
}
return false;
}
// ----------------------------------------------------------------------
boolean tatooine_privateer_tier3_condition_failedQuestFour (obj_id player, obj_id npc)
{
if ( space_quest.hasFailedQuestRecursive( player, "patrol", "tatooine_privateer_tier3_4" ) ||
space_quest.hasAbortedQuestRecursive( player, "patrol", "tatooine_privateer_tier3_4" ) )
{
return true;
}
return false;
}
// ----------------------------------------------------------------------
boolean tatooine_privateer_tier3_condition_onMyTrack (obj_id player, obj_id npc)
{
return space_flags.isSpaceTrack(player, space_flags.PRIVATEER_TATOOINE);
}
// ----------------------------------------------------------------------
boolean tatooine_privateer_tier3_condition_collectingQuestOneReward (obj_id player, obj_id npc)
{
//if the player has WON this quest, but has not been rewarded for it
//then return TRUE so the NPC can grant the reward!
if ( !space_quest.hasCompletedQuestRecursive( player, "recovery", "tatooine_privateer_tier3_1"))
return false;//you haven't completed it, so you can't be here for the reward
//for quest One, we say they have not been rewarded yet if they have no tier3 skills:
if ( hasSkill( player, "pilot_neutral_starships_03") ||
hasSkill( player, "pilot_neutral_procedures_03") ||
hasSkill( player, "pilot_neutral_weapons_03") ||
hasSkill( player, "pilot_neutral_droid_03" ) )
{
return false;//you have a skill so you must have already been rewarded
}
return true;//you must be here for the reward
}
// ----------------------------------------------------------------------
boolean tatooine_privateer_tier3_condition_collectingQuestTwoReward (obj_id player, obj_id npc)
{
//if the player has WON this quest, but has not been rewarded for it
//then return TRUE so the NPC can grant the reward!
if ( !space_quest.hasCompletedQuestRecursive( player, "inspect", "tatooine_privateer_tier3_2"))
return false;//haven't done it, so must not be here for the reward
//we assume if you have two skills then you have already been rewarded for this quest
int skillCount = 0;
if ( hasSkill( player, "pilot_neutral_starships_03") )
skillCount++;
if ( hasSkill( player, "pilot_neutral_procedures_03") )
skillCount++;
if ( hasSkill( player, "pilot_neutral_weapons_03") )
skillCount++;
if ( hasSkill( player, "pilot_neutral_droid_03" ) )
skillCount++;
if ( skillCount < 2 )
return true;//return true because you have less than 2 skills, must not have been rewarded for this
else
return false;//you must have already been rewarded for this
}
// ----------------------------------------------------------------------
boolean tatooine_privateer_tier3_condition_collectingQuestThreeReward (obj_id player, obj_id npc)
{
//if the player has WON this quest, but has not been rewarded for it
//then return TRUE so the NPC can grant the reward!
if ( !space_quest.hasCompletedQuestRecursive( player, "delivery_no_pickup", "tatooine_privateer_tier3_3"))
return false;//haven't completed this yet, so must not be here for the reward
//we assume if you have three skills then you have already been rewarded for this quest
int skillCount = 0;
if ( hasSkill( player, "pilot_neutral_starships_03") )
skillCount++;
if ( hasSkill( player, "pilot_neutral_procedures_03") )
skillCount++;
if ( hasSkill( player, "pilot_neutral_weapons_03") )
skillCount++;
if ( hasSkill( player, "pilot_neutral_droid_03" ) )
skillCount++;
if ( skillCount < 3 )
return true;//return true because you have less than 3 skills, must not have been rewarded for this
else
return false;//you must have already been rewarded for this
}
// ----------------------------------------------------------------------
boolean tatooine_privateer_tier3_condition_collectingQuestFourReward (obj_id player, obj_id npc)
{
//if the player has WON this quest, but has not been rewarded for it
//then return TRUE so the NPC can grant the reward!
if ( !space_quest.hasCompletedQuestRecursive( player, "patrol", "tatooine_privateer_tier3_4"))
return false;//haven't completed this yet, so must not be here for the reward
//if you do NOT have ALL FOUR skills then you have NOT been rewarded for this quest
if (!hasSkill( player, "pilot_neutral_starships_03") )
return true;//guess you need a reward
if (!hasSkill( player, "pilot_neutral_procedures_03") )
return true;//guess you need a reward
if (!hasSkill( player, "pilot_neutral_weapons_03") )
return true;//guess you need a reward
if (!hasSkill( player, "pilot_neutral_droid_03" ) )
return true;//guess you need a reward
return false;//you must have already been rewarded for this, because you have all the skills
}
// ----------------------------------------------------------------------
boolean tatooine_privateer_tier3_condition_hasCompletedQuestOne (obj_id player, obj_id npc)
{
//return FALSE if the player has not yet done this
//quest, so the npc will assign it to the player
return ( space_quest.hasCompletedQuestRecursive( player, "recovery", "tatooine_privateer_tier3_1"));
}
// ----------------------------------------------------------------------
boolean tatooine_privateer_tier3_condition_hasCompletedQuestTwo (obj_id player, obj_id npc)
{
//return FALSE if the player has not yet done this
//quest, so the npc will assign it to the player
return (space_quest.hasCompletedQuestRecursive( player, "inspect", "tatooine_privateer_tier3_2"));
}
// ----------------------------------------------------------------------
boolean tatooine_privateer_tier3_condition_hasCompletedQuestThree (obj_id player, obj_id npc)
{
//return FALSE if the player has not yet done this
//quest, so the npc will assign it to the player
return (space_quest.hasCompletedQuestRecursive( player, "delivery_no_pickup", "tatooine_privateer_tier3_3"));
}
// ----------------------------------------------------------------------
boolean tatooine_privateer_tier3_condition_hasCompletedQuestFour (obj_id player, obj_id npc)
{
//return FALSE if the player has not yet done this
//quest, so the npc will assign it to the player
return ( space_quest.hasCompletedQuestRecursive( player, "patrol", "tatooine_privateer_tier3_4"));
}
// ----------------------------------------------------------------------
boolean tatooine_privateer_tier3_condition_hasStarship03Skill (obj_id player, obj_id npc)
{
return ( hasSkill( player, "pilot_neutral_starships_03" ) );
}
// ----------------------------------------------------------------------
boolean tatooine_privateer_tier3_condition_hasProcedure03Skill (obj_id player, obj_id npc)
{
return ( hasSkill( player, "pilot_neutral_procedures_03" ) );
}
// ----------------------------------------------------------------------
boolean tatooine_privateer_tier3_condition_hasWeapon03Skill (obj_id player, obj_id npc)
{
return ( hasSkill( player, "pilot_neutral_weapons_03" ) );
}
// ----------------------------------------------------------------------
boolean tatooine_privateer_tier3_condition_hasDroid03Skill (obj_id player, obj_id npc)
{
return ( hasSkill( player, "pilot_neutral_droid_03" ) );
}
// ======================================================================
// Script Actions
// ======================================================================
void tatooine_privateer_tier3_action_grantQuestOne (obj_id player, obj_id npc)
{
space_quest.grantQuest( player, "recovery", "tatooine_privateer_tier3_1");
}
// ----------------------------------------------------------------------
void tatooine_privateer_tier3_action_grantQuestTwo (obj_id player, obj_id npc)
{
space_quest.grantQuest( player, "inspect", "tatooine_privateer_tier3_2");
}
// ----------------------------------------------------------------------
void tatooine_privateer_tier3_action_grantQuestThree (obj_id player, obj_id npc)
{
space_quest.grantQuest( player, "delivery_no_pickup", "tatooine_privateer_tier3_3");
}
// ----------------------------------------------------------------------
void tatooine_privateer_tier3_action_grantQuestFour (obj_id player, obj_id npc)
{
space_quest.grantQuest( player, "patrol", "tatooine_privateer_tier3_4");
}
// ----------------------------------------------------------------------
void tatooine_privateer_tier3_action_rewardForQuestOne (obj_id player, obj_id npc)
{
if (!space_quest.hasReceivedReward( player, "recovery", "tatooine_privateer_tier3_1") )
space_quest.giveReward( player, "recovery", "tatooine_privateer_tier3_1", 25000, "object/tangible/ship/components/reactor/rct_mission_reward_neutral_subpro_military.iff");
}
// ----------------------------------------------------------------------
void tatooine_privateer_tier3_action_rewardForQuestTwo (obj_id player, obj_id npc)
{
if (!space_quest.hasReceivedReward( player, "inspect", "tatooine_privateer_tier3_2") )
space_quest.giveReward( player, "inspect", "tatooine_privateer_tier3_2", 25000, "object/tangible/ship/components/engine/eng_mission_reward_neutral_mandal_inferno.iff");
}
// ----------------------------------------------------------------------
void tatooine_privateer_tier3_action_rewardForQuestThree (obj_id player, obj_id npc)
{
if (!space_quest.hasReceivedReward( player, "delivery_no_pickup", "tatooine_privateer_tier3_3") )
space_quest.giveReward( player, "delivery_no_pickup", "tatooine_privateer_tier3_3", 25000, "object/tangible/ship/components/weapon_capacitor/cap_mission_reward_neutral_sorosuub_v1.iff");
}
// ----------------------------------------------------------------------
void tatooine_privateer_tier3_action_rewardForQuestFour (obj_id player, obj_id npc)
{
if (!space_quest.hasReceivedReward( player, "patrol", "tatooine_privateer_tier3_4") )
space_quest.giveReward( player, "patrol", "tatooine_privateer_tier3_4", 25000, "object/tangible/ship/components/armor/arm_mission_reward_neutral_kse_handcrafted.iff");
}
// ----------------------------------------------------------------------
void tatooine_privateer_tier3_action_grantProceduresSkill (obj_id player, obj_id npc)
{
skill.noisyGrantSkill( player, "pilot_neutral_procedures_03");
}
// ----------------------------------------------------------------------
void tatooine_privateer_tier3_action_grantDroidSkill (obj_id player, obj_id npc)
{
skill.noisyGrantSkill( player, "pilot_neutral_droid_03" );
}
// ----------------------------------------------------------------------
void tatooine_privateer_tier3_action_grantWeaponSkill (obj_id player, obj_id npc)
{
skill.noisyGrantSkill( player, "pilot_neutral_weapons_03");
}
// ----------------------------------------------------------------------
void tatooine_privateer_tier3_action_grantStarshipSkill (obj_id player, obj_id npc)
{
skill.noisyGrantSkill( player, "pilot_neutral_starships_03");
}
// ======================================================================
// Script %TO Tokens
// ======================================================================
// ======================================================================
// Script %DI Tokens
// ======================================================================
// ======================================================================
// Script %DF Tokens
// ======================================================================
// ======================================================================
// handleBranch<n> Functions
// ======================================================================
int tatooine_privateer_tier3_handleBranch2 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Who are you? %TU? Oh, yeah...I've heard of you. Word is you're a pretty fair pilot. What can I do for you?
//-- [RESPONSE NOTE]
//-- PLAYER: I'm looking for work. You got anything?
if (response == "s_615d980b")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: Look. You're good, but not that good. If I go around handing our missions to fresh-meat pilots like you, I'd be Sarlacc food in no time, if you know what I mean. Some other time.
string_id message = new string_id (c_stringFile, "s_59d3a31c");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch4 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE] You're not through tier2 yet!
//-- NPC: Who are you? One of Jabba's new pilots?
//-- [RESPONSE NOTE]
//-- PLAYER: No.
if (response == "s_4c695dbd")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "wave_finger_warning");
//-- NPC: This is Jabba's Palace. Unless you're here to work, scram!
string_id message = new string_id (c_stringFile, "s_15ef997f");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
}
//-- [RESPONSE NOTE]
//-- PLAYER: I don't work for Jabba.
if (response == "s_db3d67b")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "threaten");
//-- NPC: Then I suggest you find the person you DO work for - and stop wasting my time!
string_id message = new string_id (c_stringFile, "s_3a0e2d87");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch7 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE] You are busy. Already on a quest. Go do it.
//-- NPC: Looking for something?
//-- [RESPONSE NOTE]
//-- PLAYER: You, actually.
if (response == "s_11a6885c")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "wave_on_dismissing");
//-- NPC: I don't have anything to say to you - not until you finish your job.
string_id message = new string_id (c_stringFile, "s_25ba96cd");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
}
//-- [RESPONSE NOTE]
//-- PLAYER: Why do you ask?
if (response == "s_5288ea5c")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "cough_polite");
//-- NPC: Because you're supposed to be working. I can't figure out why you'd be shuffling around here.
string_id message = new string_id (c_stringFile, "s_e4b6a4d3");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: My mistake.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_ac7fe93");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 9);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch9 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Because you're supposed to be working. I can't figure out why you'd be shuffling around here.
//-- [RESPONSE NOTE]
//-- PLAYER: My mistake.
if (response == "s_ac7fe93")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "wave_on_dismissing");
//-- NPC: Back to work.
string_id message = new string_id (c_stringFile, "s_8e5921a5");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch11 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE] You failed quest one. You must start over.
//-- NPC: Was it too much for you to handle, %TU?
//-- [RESPONSE NOTE]
//-- PLAYER: Of course not!
if (response == "s_f5427310")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "rub_chin_thoughtful");
//-- NPC: Maybe you're not loyal to Jabba after all.
string_id message = new string_id (c_stringFile, "s_be1391ec");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: I AM. I just ran into a little problem.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_fa1878f7");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 12);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
//-- [RESPONSE NOTE]
//-- PLAYER: Are you kidding? Nothing stops me.
if (response == "s_a042a4cf")
{
doAnimationAction (player, "flex_biceps");
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: Looks like SOMETHING stopped you.
string_id message = new string_id (c_stringFile, "s_fa60efdf");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: It's all part of my plan.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_2feb7c0f");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 14);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch12 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Maybe you're not loyal to Jabba after all.
//-- [RESPONSE NOTE]
//-- PLAYER: I AM. I just ran into a little problem.
if (response == "s_fa1878f7")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "point_accusingly");
tatooine_privateer_tier3_action_grantQuestOne (player, npc);
//-- NPC: I suggest you run OVER that little problem, if you get my drift. Get back out there.
string_id message = new string_id (c_stringFile, "s_c4f23e9b");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch14 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Looks like SOMETHING stopped you.
//-- [RESPONSE NOTE]
//-- PLAYER: It's all part of my plan.
if (response == "s_2feb7c0f")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "laugh");
//-- NPC: Getting shot down is part of your plan? That's quite a plan.
string_id message = new string_id (c_stringFile, "s_c1c1d8a5");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: You just don't understand genius.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_8117e382");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 15);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch15 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Getting shot down is part of your plan? That's quite a plan.
//-- [RESPONSE NOTE]
//-- PLAYER: You just don't understand genius.
if (response == "s_8117e382")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "gesticulate_wildly");
//-- NPC: Ohhhh! I see! Well, genius, why don't you get back to your master plan?
string_id message = new string_id (c_stringFile, "s_53b3094d");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: I will - as soon as you stop talking to me.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_85af2484");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 16);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch16 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Ohhhh! I see! Well, genius, why don't you get back to your master plan?
//-- [RESPONSE NOTE]
//-- PLAYER: I will - as soon as you stop talking to me.
if (response == "s_85af2484")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "laugh_cackle");
tatooine_privateer_tier3_action_grantQuestOne (player, npc);
//-- NPC: Hey, I know when to shut up!
string_id message = new string_id (c_stringFile, "s_f9a25cfc");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch18 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE] You failed quest two. You must start over.
//-- NPC: I didn't expect you back so soon.
//-- [RESPONSE NOTE]
//-- PLAYER: I'm not done yet.
if (response == "s_28a543ae")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: Then why are you here?
string_id message = new string_id (c_stringFile, "s_d87ceb8");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: I missed you.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_4389abe9");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 19);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
//-- [RESPONSE NOTE]
//-- PLAYER: I didn't think those Witchbloods would be so tenacious.
if (response == "s_581da545")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "wave_finger_warning");
//-- NPC: It's not an easy assignment. But then, you're still on thin ice with Jabba.
string_id message = new string_id (c_stringFile, "s_5a2f9ba");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: I guess I better get back to work.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_63684ac5");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 21);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch19 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Then why are you here?
//-- [RESPONSE NOTE]
//-- PLAYER: I missed you.
if (response == "s_4389abe9")
{
doAnimationAction (player, "shrug_shoulders");
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "threaten");
tatooine_privateer_tier3_action_grantQuestTwo (player, npc);
//-- NPC: Get out of here before I blast you myself!
string_id message = new string_id (c_stringFile, "s_f9cb6eac");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch21 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: It's not an easy assignment. But then, you're still on thin ice with Jabba.
//-- [RESPONSE NOTE]
//-- PLAYER: I guess I better get back to work.
if (response == "s_63684ac5")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "nod_head_once");
tatooine_privateer_tier3_action_grantQuestTwo (player, npc);
//-- NPC: I guess so.
string_id message = new string_id (c_stringFile, "s_af22b9b2");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch23 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE] You failed quest three. You must start over.
//-- NPC: The Imperials are going to be VERY upset with you.
//-- [RESPONSE NOTE]
//-- PLAYER: No. They'll be fine. Because I'm going to finish the job.
if (response == "s_a4c5fb69")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "check_wrist_device");
//-- NPC: Sometime this century?
string_id message = new string_id (c_stringFile, "s_80b8ba1c");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: That's the plan.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_e9b69720");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 24);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
//-- [RESPONSE NOTE]
//-- PLAYER: You've got nothing to worry about.
if (response == "s_461e9b3f")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "threaten");
tatooine_privateer_tier3_action_grantQuestThree (player, npc);
//-- NPC: I'm not going to face an angry Jabba on account of you! Get the job done, or I'll find somebody who can.
string_id message = new string_id (c_stringFile, "s_9b22b078");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch24 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Sometime this century?
//-- [RESPONSE NOTE]
//-- PLAYER: That's the plan.
if (response == "s_e9b69720")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "dismiss");
tatooine_privateer_tier3_action_grantQuestThree (player, npc);
//-- NPC: Hurry up.
string_id message = new string_id (c_stringFile, "s_1c10e380");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch27 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE] You failed quest four. You must start over.
//-- NPC: Oh hi!
//-- [RESPONSE NOTE]
//-- PLAYER: Um...hi.
if (response == "s_fbe476b0")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "nod_head_multiple");
//-- NPC: How are you feeling? Good?
string_id message = new string_id (c_stringFile, "s_86313707");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: I guess.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_17c44740");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 28);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
//-- [RESPONSE NOTE]
//-- PLAYER: I know, I know.
if (response == "s_601fa39")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "listen");
//-- NPC: Know what?
string_id message = new string_id (c_stringFile, "s_1875ff4e");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: I know that I haven't finished my job yet!
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_8516d505");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 30);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch28 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: How are you feeling? Good?
//-- [RESPONSE NOTE]
//-- PLAYER: I guess.
if (response == "s_17c44740")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "threaten");
tatooine_privateer_tier3_action_grantQuestFour (player, npc);
//-- NPC: WHY?! You shouldn't feel good! You should feel BAD! Because you haven't finished your job yet! DO IT!!
string_id message = new string_id (c_stringFile, "s_57bbda2a");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch30 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Know what?
//-- [RESPONSE NOTE]
//-- PLAYER: I know that I haven't finished my job yet!
if (response == "s_8516d505")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "threaten");
tatooine_privateer_tier3_action_grantQuestFour (player, npc);
//-- NPC: THAT'S RIGHT! You haven't! So DO IT NOW!!!
string_id message = new string_id (c_stringFile, "s_bb7d89de");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch32 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE] You are here to collect your reward for quest one, so here it is!
//-- NPC: I salute you, %TU, for your brave and loyal service! Jabba is always generous with his employees. He'd like to offer you a training session. Isn't that nice?
//-- [RESPONSE NOTE]
//-- PLAYER: What am I going to learn?
if (response == "s_529")
{
//-- [NOTE]
if (!tatooine_privateer_tier3_condition_hasStarship03Skill (player, npc))
{
tatooine_privateer_tier3_action_grantStarshipSkill (player, npc);
//-- NPC: Today you're going to learn about special warships. Come see me when you are ready. I'll have work for you.
string_id message = new string_id (c_stringFile, "s_530");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
//-- [NOTE]
if (!tatooine_privateer_tier3_condition_hasWeapon03Skill (player, npc))
{
tatooine_privateer_tier3_action_grantWeaponSkill (player, npc);
//-- NPC: Today you're going to learn about advanced starship component use. Come see me when you are ready. I'll have work for you.
string_id message = new string_id (c_stringFile, "s_531");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
//-- [NOTE]
if (!tatooine_privateer_tier3_condition_hasProcedure03Skill (player, npc))
{
tatooine_privateer_tier3_action_grantProceduresSkill (player, npc);
//-- NPC: Today you're going to learn about advanced techniques. Come and see me again sometime. I just love your company.
string_id message = new string_id (c_stringFile, "s_532");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
tatooine_privateer_tier3_action_grantDroidSkill (player, npc);
//-- NPC: Today you're going to learn about system balance programming. Try to learn quickly, I have more exciting missions for you.
string_id message = new string_id (c_stringFile, "s_533");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch37 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE] You are here to collect your reward for quest two, so here it is!
//-- NPC: The winner gets the toys. And you're the winner! Time for more training!
//-- [RESPONSE NOTE]
//-- PLAYER: What am I going to learn?
if (response == "s_529")
{
//-- [NOTE]
if (!tatooine_privateer_tier3_condition_hasStarship03Skill (player, npc))
{
tatooine_privateer_tier3_action_grantStarshipSkill (player, npc);
//-- NPC: Today you're going to learn about special warships. Come see me when you are ready. I'll have work for you.
string_id message = new string_id (c_stringFile, "s_530");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
//-- [NOTE]
if (!tatooine_privateer_tier3_condition_hasWeapon03Skill (player, npc))
{
tatooine_privateer_tier3_action_grantWeaponSkill (player, npc);
//-- NPC: Today you're going to learn about advanced starship component use. Come see me when you are ready. I'll have work for you.
string_id message = new string_id (c_stringFile, "s_531");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
//-- [NOTE]
if (!tatooine_privateer_tier3_condition_hasProcedure03Skill (player, npc))
{
tatooine_privateer_tier3_action_grantProceduresSkill (player, npc);
//-- NPC: Today you're going to learn about advanced techniques. Come and see me again sometime. I just love your company.
string_id message = new string_id (c_stringFile, "s_532");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
tatooine_privateer_tier3_action_grantDroidSkill (player, npc);
//-- NPC: Today you're going to learn about system balance programming. Try to learn quickly, I have more exciting missions for you.
string_id message = new string_id (c_stringFile, "s_533");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch38 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE] You are here to collect your reward for quest three, so here it is!
//-- NPC: The VIPs have all arrived safely. There is going to be a party at the Palace tonight. And what's a party without party favors? The first one's for you. Here, have some more training.
//-- [RESPONSE NOTE]
//-- PLAYER: What am I going to learn?
if (response == "s_529")
{
//-- [NOTE]
if (!tatooine_privateer_tier3_condition_hasStarship03Skill (player, npc))
{
tatooine_privateer_tier3_action_grantStarshipSkill (player, npc);
//-- NPC: Today you're going to learn about special warships. Come see me when you are ready. I'll have work for you.
string_id message = new string_id (c_stringFile, "s_530");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
//-- [NOTE]
if (!tatooine_privateer_tier3_condition_hasWeapon03Skill (player, npc))
{
tatooine_privateer_tier3_action_grantWeaponSkill (player, npc);
//-- NPC: Today you're going to learn about advanced starship component use. Come see me when you are ready. I'll have work for you.
string_id message = new string_id (c_stringFile, "s_531");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
//-- [NOTE]
if (!tatooine_privateer_tier3_condition_hasProcedure03Skill (player, npc))
{
tatooine_privateer_tier3_action_grantProceduresSkill (player, npc);
//-- NPC: Today you're going to learn about advanced techniques. Come and see me again sometime. I just love your company.
string_id message = new string_id (c_stringFile, "s_532");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
tatooine_privateer_tier3_action_grantDroidSkill (player, npc);
//-- NPC: Today you're going to learn about system balance programming. Try to learn quickly, I have more exciting missions for you.
string_id message = new string_id (c_stringFile, "s_533");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch39 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE] You are here to collect your reward for quest four, so here it is!
//-- NPC: Who wants more training?
//-- [RESPONSE NOTE]
//-- PLAYER: What am I going to learn?
if (response == "s_529")
{
//-- [NOTE]
if (!tatooine_privateer_tier3_condition_hasStarship03Skill (player, npc))
{
tatooine_privateer_tier3_action_grantStarshipSkill (player, npc);
//-- NPC: Today you're going to learn about special warships. Come see me when you are ready. I'll have work for you.
string_id message = new string_id (c_stringFile, "s_530");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
//-- [NOTE]
if (!tatooine_privateer_tier3_condition_hasWeapon03Skill (player, npc))
{
tatooine_privateer_tier3_action_grantWeaponSkill (player, npc);
//-- NPC: Today you're going to learn about advanced starship component use. Come see me when you are ready. I'll have work for you.
string_id message = new string_id (c_stringFile, "s_531");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
//-- [NOTE]
if (!tatooine_privateer_tier3_condition_hasProcedure03Skill (player, npc))
{
tatooine_privateer_tier3_action_grantProceduresSkill (player, npc);
//-- NPC: Today you're going to learn about advanced techniques. Come and see me again sometime. I just love your company.
string_id message = new string_id (c_stringFile, "s_532");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
tatooine_privateer_tier3_action_grantDroidSkill (player, npc);
//-- NPC: Today you're going to learn about system balance programming. Try to learn quickly, I have more exciting missions for you.
string_id message = new string_id (c_stringFile, "s_533");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch40 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE] You haven't done quest one yet, so go do it.
//-- NPC: So YOU'RE the fool!
//-- [RESPONSE NOTE]
//-- PLAYER: Have we met?
if (response == "s_9ea143d7")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: I know all about you. You were working with Lady Valarian. Going against Jabba! Are you crazy?
string_id message = new string_id (c_stringFile, "s_dea9aa2e");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: I don't have to explain myself to you.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_8ecd2ed0");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 41);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
//-- [RESPONSE NOTE]
//-- PLAYER: You're hurting my feelings.
if (response == "s_ea84693")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "laugh");
//-- NPC: Excellent! Then we're getting off to the right start. I'm Beissa. I'll be your commanding officer today.
string_id message = new string_id (c_stringFile, "s_f5f8f818");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Nobody orders me around.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_de174124");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 66);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch41 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: I know all about you. You were working with Lady Valarian. Going against Jabba! Are you crazy?
//-- [RESPONSE NOTE]
//-- PLAYER: I don't have to explain myself to you.
if (response == "s_8ecd2ed0")
{
doAnimationAction (player, "embarrassed");
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "wave_finger_warning");
//-- NPC: You might want to be a little more friendly, %TU. I'm your contact for Jabba. You don't want me telling him what a sourpuss you are, do you?
string_id message = new string_id (c_stringFile, "s_e2e25101");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: No.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
//-- PLAYER: I don't care what you tell him.
boolean hasResponse1 = false;
if (tatooine_privateer_tier3_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_74");
if (hasResponse1)
responses [responseIndex++] = new string_id (c_stringFile, "s_40a19463");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 42);
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.tatooine_privateer_tier3.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;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch42 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: You might want to be a little more friendly, %TU. I'm your contact for Jabba. You don't want me telling him what a sourpuss you are, do you?
//-- [RESPONSE NOTE]
//-- PLAYER: No.
if (response == "s_74")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: I didn't think so. Why did you come back, anyway?
string_id message = new string_id (c_stringFile, "s_e610029c");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Jabba invited me.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_fccc4442");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 43);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
//-- [RESPONSE NOTE] [i'm a broker] branch
//-- PLAYER: I don't care what you tell him.
if (response == "s_40a19463")
{
doAnimationAction (player, "shrug_shoulders");
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "wave_finger_warning");
//-- NPC: You better START caring. I broker pilots for Jabba. My opinion carries a lot of weight with him.
string_id message = new string_id (c_stringFile, "s_40d4f979");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Is that right?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_535a48bf");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 56);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch43 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: I didn't think so. Why did you come back, anyway?
//-- [RESPONSE NOTE]
//-- PLAYER: Jabba invited me.
if (response == "s_fccc4442")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: Doesn't that seem strange? You WERE working for the competition, after all.
string_id message = new string_id (c_stringFile, "s_ef696d16");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: It's a little strange, I guess.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_d6d5b88c");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 44);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch44 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Doesn't that seem strange? You WERE working for the competition, after all.
//-- [RESPONSE NOTE]
//-- PLAYER: It's a little strange, I guess.
if (response == "s_d6d5b88c")
{
doAnimationAction (player, "shrug_shoulders");
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: Maybe he brought you back so that he could have you killed. Did you ever think of that?
string_id message = new string_id (c_stringFile, "s_eb9f64f0");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: [no answer]
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_1110a04b");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 45);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch45 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Maybe he brought you back so that he could have you killed. Did you ever think of that?
//-- [RESPONSE NOTE]
//-- PLAYER: [no answer]
if (response == "s_1110a04b")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "listen");
//-- NPC: Well? Cat got your tongue?
string_id message = new string_id (c_stringFile, "s_6a5f1bad");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Well...then I'd be dead by now, right?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_4d5af593");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 46);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch46 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Well? Cat got your tongue?
//-- [RESPONSE NOTE]
//-- PLAYER: Well...then I'd be dead by now, right?
if (response == "s_4d5af593")
{
doAnimationAction (player, "rub_chin_thoughtful");
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "laugh");
//-- NPC: Maybe! Or maybe he just has some use for you. And that's where I come in! I have a job for you.
string_id message = new string_id (c_stringFile, "s_48a3c712");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: I'm ready.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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.tatooine_privateer_tier3.branchId", 47);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch47 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Maybe! Or maybe he just has some use for you. And that's where I come in! I have a job for you.
//-- [RESPONSE NOTE]
//-- PLAYER: I'm ready.
if (response == "s_1adbadc4")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "stretch");
//-- NPC: Are you? I hope so. These aren't fluff jobs. You've got something to prove to Jabba. He expects to see loyalty.
string_id message = new string_id (c_stringFile, "s_15349399");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: And loyalty is what he'll get.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_438512f8");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 48);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch48 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Are you? I hope so. These aren't fluff jobs. You've got something to prove to Jabba. He expects to see loyalty.
//-- [RESPONSE NOTE]
//-- PLAYER: And loyalty is what he'll get.
if (response == "s_438512f8")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: Very nice. First, you'll recover a weapons shipment. Somebody stole it from Jabba. Can you believe the nerve?
string_id message = new string_id (c_stringFile, "s_ff68e70a");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Shocking.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_4d69a104");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 49);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch49 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Very nice. First, you'll recover a weapons shipment. Somebody stole it from Jabba. Can you believe the nerve?
//-- [RESPONSE NOTE]
//-- PLAYER: Shocking.
if (response == "s_4d69a104")
{
doAnimationAction (player, "smack_self");
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "tap_head");
//-- NPC: After that, Jabba would like you to clear a few of his enemies out of this system. It's getting a little crowded.
string_id message = new string_id (c_stringFile, "s_505c7932");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Who?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_719a036e");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 50);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch50 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: After that, Jabba would like you to clear a few of his enemies out of this system. It's getting a little crowded.
//-- [RESPONSE NOTE]
//-- PLAYER: Who?
if (response == "s_719a036e")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: Your old friends, Lady Valarian's thugs. You remember the Valarians, don't you?
string_id message = new string_id (c_stringFile, "s_f5dff86f");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Hey, why me? I'm friends with some of those people.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_8c796cbf");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 51);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch51 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Your old friends, Lady Valarian's thugs. You remember the Valarians, don't you?
//-- [RESPONSE NOTE]
//-- PLAYER: Hey, why me? I'm friends with some of those people.
if (response == "s_8c796cbf")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "nod_head_multiple");
//-- NPC: Makes you the perfect person for the job, doesn't it? You know how they think. Remember, this is your big chance to show Jabba how loyal you are.
string_id message = new string_id (c_stringFile, "s_f3d30738");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Got it.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_bc375f79");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 52);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch52 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Makes you the perfect person for the job, doesn't it? You know how they think. Remember, this is your big chance to show Jabba how loyal you are.
//-- [RESPONSE NOTE]
//-- PLAYER: Got it.
if (response == "s_bc375f79")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "explain");
//-- NPC: The Imperials and Rebels in this system are fighting like cats and dogs, which leaves the whole area ripe for the picking. Play your cards right, and you could find yourself a very wealthy pilot.
string_id message = new string_id (c_stringFile, "s_acbfc0cc");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: That's why I'm here.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_31960979");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 53);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch53 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: The Imperials and Rebels in this system are fighting like cats and dogs, which leaves the whole area ripe for the picking. Play your cards right, and you could find yourself a very wealthy pilot.
//-- [RESPONSE NOTE]
//-- PLAYER: That's why I'm here.
if (response == "s_31960979")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "shrug_shoulders");
//-- NPC: First, get that weapons shipment. I'll transmit your other orders later.
string_id message = new string_id (c_stringFile, "s_c6e0e27");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: More orders from you! I can't wait.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_ad7db4d");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 54);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch54 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: First, get that weapons shipment. I'll transmit your other orders later.
//-- [RESPONSE NOTE]
//-- PLAYER: More orders from you! I can't wait.
if (response == "s_ad7db4d")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "wave_on_dismissing");
tatooine_privateer_tier3_action_grantQuestOne (player, npc);
//-- NPC: Me neither. Intercept that freighter in near Yavin. See you later, %TU.
string_id message = new string_id (c_stringFile, "s_c9979b12");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.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;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch56 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: You better START caring. I broker pilots for Jabba. My opinion carries a lot of weight with him.
//-- [RESPONSE NOTE]
//-- PLAYER: Is that right?
if (response == "s_535a48bf")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: Don't believe me? Just cross me once. You'll find out how much pull I have. And remember. Jabba's rancors are ALWAYS hungry.
string_id message = new string_id (c_stringFile, "s_a75b6949");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Oh, I'm scared.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_79a6c35c");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 57);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch57 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Don't believe me? Just cross me once. You'll find out how much pull I have. And remember. Jabba's rancors are ALWAYS hungry.
//-- [RESPONSE NOTE]
//-- PLAYER: Oh, I'm scared.
if (response == "s_79a6c35c")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "shake_head_no");
//-- NPC: I can see that. Look, let's start over. YOU'RE with Jabba, and I'M with Jabba. That's all that matters right now. And I have a job for you.
string_id message = new string_id (c_stringFile, "s_70969772");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Good.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_5dc82348");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 58);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch58 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: I can see that. Look, let's start over. YOU'RE with Jabba, and I'M with Jabba. That's all that matters right now. And I have a job for you.
//-- [RESPONSE NOTE]
//-- PLAYER: Good.
if (response == "s_5dc82348")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "explain");
//-- NPC: OK. You've got a couple of items on your to-do list. First, you'll recover a weapons shipment. Somebody stole it from Jabba. Can you believe the nerve?
string_id message = new string_id (c_stringFile, "s_dc7d2ed4");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Shocking.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_109");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 59);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch59 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: OK. You've got a couple of items on your to-do list. First, you'll recover a weapons shipment. Somebody stole it from Jabba. Can you believe the nerve?
//-- [RESPONSE NOTE]
//-- PLAYER: Shocking.
if (response == "s_109")
{
doAnimationAction (player, "smack_self");
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: After that, Jabba would like you to clear a few of his enemies out of this system. It's getting a little crowded.
string_id message = new string_id (c_stringFile, "s_111");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Who?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_113");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 60);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch60 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: After that, Jabba would like you to clear a few of his enemies out of this system. It's getting a little crowded.
//-- [RESPONSE NOTE]
//-- PLAYER: Who?
if (response == "s_113")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: Your old friends, Lady Valarian's thugs. You remember the Valarians, don't you?
string_id message = new string_id (c_stringFile, "s_115");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Hey, why me? I'm friends with some of those people.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_117");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 61);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch61 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Your old friends, Lady Valarian's thugs. You remember the Valarians, don't you?
//-- [RESPONSE NOTE]
//-- PLAYER: Hey, why me? I'm friends with some of those people.
if (response == "s_117")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: Makes you the perfect person for the job, doesn't it? You know how they think. Remember, this is your big chance to show Jabba how loyal you are.
string_id message = new string_id (c_stringFile, "s_119");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Got it.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_121");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 62);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch62 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Makes you the perfect person for the job, doesn't it? You know how they think. Remember, this is your big chance to show Jabba how loyal you are.
//-- [RESPONSE NOTE]
//-- PLAYER: Got it.
if (response == "s_121")
{
doAnimationAction (player, "salute1");
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "explain");
//-- NPC: The Imperials and Rebels in this system are fighting like cats and dogs, which leaves the whole area ripe for the picking. Play your cards right, and you could find yourself a very wealthy pilot.
string_id message = new string_id (c_stringFile, "s_123");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: That's why I'm here.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_125");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 63);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch63 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: The Imperials and Rebels in this system are fighting like cats and dogs, which leaves the whole area ripe for the picking. Play your cards right, and you could find yourself a very wealthy pilot.
//-- [RESPONSE NOTE]
//-- PLAYER: That's why I'm here.
if (response == "s_125")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: First, get that weapons shipment. I'll transmit your other orders later.
string_id message = new string_id (c_stringFile, "s_127");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: More orders from you! I can't wait.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_129");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 64);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch64 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: First, get that weapons shipment. I'll transmit your other orders later.
//-- [RESPONSE NOTE]
//-- PLAYER: More orders from you! I can't wait.
if (response == "s_129")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
tatooine_privateer_tier3_action_grantQuestOne (player, npc);
//-- NPC: Me neither. Intercept that freighter in near Yavin. See you later, %TU.
string_id message = new string_id (c_stringFile, "s_131");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.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;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch66 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Excellent! Then we're getting off to the right start. I'm Beissa. I'll be your commanding officer today.
//-- [RESPONSE NOTE]
//-- PLAYER: Nobody orders me around.
if (response == "s_de174124")
{
doAnimationAction (player, "point_to_self");
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "threaten");
//-- NPC: You'll take MY orders, if you want to live! You're on thin ice with Jabba as it is.
string_id message = new string_id (c_stringFile, "s_315f6f1a");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Fine. Whatever.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_5413ef97");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 67);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch67 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: You'll take MY orders, if you want to live! You're on thin ice with Jabba as it is.
//-- [RESPONSE NOTE]
//-- PLAYER: Fine. Whatever.
if (response == "s_5413ef97")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: Lady Valarian...you know how to choose the losing team. Don't you realize that Jabba is unstoppable?
string_id message = new string_id (c_stringFile, "s_b9ca256f");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: I've learned the error of my ways.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
//-- PLAYER: Valarians are good pilots. Good people, too.
boolean hasResponse1 = false;
if (tatooine_privateer_tier3_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_f20d43a6");
if (hasResponse1)
responses [responseIndex++] = new string_id (c_stringFile, "s_54d1d117");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 68);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch68 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Lady Valarian...you know how to choose the losing team. Don't you realize that Jabba is unstoppable?
//-- [RESPONSE NOTE]
//-- PLAYER: I've learned the error of my ways.
if (response == "s_f20d43a6")
{
doAnimationAction (player, "shrug_shoulders");
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: This system is ripe for the picking. And Jabba's got plans, big plans. You'd be wise to show your loyalty.
string_id message = new string_id (c_stringFile, "s_1ad6a2e4");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: What do I have to do?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_c0b27fdb");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 69);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
//-- [RESPONSE NOTE]
//-- PLAYER: Valarians are good pilots. Good people, too.
if (response == "s_54d1d117")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "cover_ears_mocking");
//-- NPC: Oh yeah? Are they your best friends forever or something?
string_id message = new string_id (c_stringFile, "s_3024ad9d");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Back off! What did I ever do to you?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_66ec8629");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 77);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch69 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: This system is ripe for the picking. And Jabba's got plans, big plans. You'd be wise to show your loyalty.
//-- [RESPONSE NOTE]
//-- PLAYER: What do I have to do?
if (response == "s_c0b27fdb")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: First, you'll recover a weapons shipment. Somebody had the nerve to steal it from Jabba. Can you believe the nerve?
string_id message = new string_id (c_stringFile, "s_98504882");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Shocking.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_143");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 70);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch70 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: First, you'll recover a weapons shipment. Somebody had the nerve to steal it from Jabba. Can you believe the nerve?
//-- [RESPONSE NOTE]
//-- PLAYER: Shocking.
if (response == "s_143")
{
doAnimationAction (player, "smack_self");
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: After that, Jabba would like you to clear a few of his enemies out of this system. It's getting a little crowded.
string_id message = new string_id (c_stringFile, "s_145");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Who?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_147");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 71);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch71 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: After that, Jabba would like you to clear a few of his enemies out of this system. It's getting a little crowded.
//-- [RESPONSE NOTE]
//-- PLAYER: Who?
if (response == "s_147")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "tap_head");
//-- NPC: Your old friends, the Valarians. You remember them, don't you?
string_id message = new string_id (c_stringFile, "s_e17cca44");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: I know those people.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_44285b8f");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 72);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch72 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Your old friends, the Valarians. You remember them, don't you?
//-- [RESPONSE NOTE]
//-- PLAYER: I know those people.
if (response == "s_44285b8f")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "nod_head_multiple");
//-- NPC: Makes you the perfect person for the job, doesn't it? You know how they think. Remember, this is your big chance to show Jabba how loyal you are.
string_id message = new string_id (c_stringFile, "s_151");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Got it.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_153");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 73);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch73 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Makes you the perfect person for the job, doesn't it? You know how they think. Remember, this is your big chance to show Jabba how loyal you are.
//-- [RESPONSE NOTE]
//-- PLAYER: Got it.
if (response == "s_153")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: The Imperials and Rebels in this system are fighting like cats and dogs, which leaves the whole area ripe for the picking. Play your cards right, and you could find yourself a very wealthy pilot.
string_id message = new string_id (c_stringFile, "s_155");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: That's why I'm here.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_157");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 74);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch74 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: The Imperials and Rebels in this system are fighting like cats and dogs, which leaves the whole area ripe for the picking. Play your cards right, and you could find yourself a very wealthy pilot.
//-- [RESPONSE NOTE]
//-- PLAYER: That's why I'm here.
if (response == "s_157")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "shrug_shoulders");
//-- NPC: First, get that weapons shipment. I'll transmit your other orders later.
string_id message = new string_id (c_stringFile, "s_159");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: More orders from you! I can't wait.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_161");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 75);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch75 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: First, get that weapons shipment. I'll transmit your other orders later.
//-- [RESPONSE NOTE]
//-- PLAYER: More orders from you! I can't wait.
if (response == "s_161")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "wave_on_dismissing");
tatooine_privateer_tier3_action_grantQuestOne (player, npc);
//-- NPC: Me neither! Go intercept that freighter in near Yavin. See you later, %TU.
string_id message = new string_id (c_stringFile, "s_5d667e15");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.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;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch77 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Oh yeah? Are they your best friends forever or something?
//-- [RESPONSE NOTE]
//-- PLAYER: Back off! What did I ever do to you?
if (response == "s_66ec8629")
{
doAnimationAction (player, "threaten");
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "point_accusingly");
//-- NPC: You showed up. THAT'S what you did. And now you're MY problem. I don't like problems. So you can just forget about those Valarians right now.
string_id message = new string_id (c_stringFile, "s_589dbb5b");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: [stay quiet]
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_9532fb5c");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 78);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch78 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: You showed up. THAT'S what you did. And now you're MY problem. I don't like problems. So you can just forget about those Valarians right now.
//-- [RESPONSE NOTE]
//-- PLAYER: [stay quiet]
if (response == "s_9532fb5c")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "tap_head");
//-- NPC: This system is ripe for the picking. And Jabba's got plans, big plans. You'd be wise to show your loyalty.
string_id message = new string_id (c_stringFile, "s_169");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: What do I have to do?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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.tatooine_privateer_tier3.branchId", 79);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch79 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: This system is ripe for the picking. And Jabba's got plans, big plans. You'd be wise to show your loyalty.
//-- [RESPONSE NOTE]
//-- PLAYER: What do I have to do?
if (response == "s_171")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "explain");
//-- NPC: First, you'll recover a weapons shipment. Somebody had the nerve to steal it from Jabba. Can you believe the nerve?
string_id message = new string_id (c_stringFile, "s_173");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Shocking.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_175");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 80);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch80 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: First, you'll recover a weapons shipment. Somebody had the nerve to steal it from Jabba. Can you believe the nerve?
//-- [RESPONSE NOTE]
//-- PLAYER: Shocking.
if (response == "s_175")
{
doAnimationAction (player, "smack_self");
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "explain");
//-- NPC: After that, Jabba would like you to clear a few of his enemies out of this system. It's getting a little crowded.
string_id message = new string_id (c_stringFile, "s_177");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Who?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_179");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 81);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch81 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: After that, Jabba would like you to clear a few of his enemies out of this system. It's getting a little crowded.
//-- [RESPONSE NOTE]
//-- PLAYER: Who?
if (response == "s_179")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: Your old friends, the Valarians. You remember them, don't you?
string_id message = new string_id (c_stringFile, "s_181");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: I know those people.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_183");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 82);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch82 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Your old friends, the Valarians. You remember them, don't you?
//-- [RESPONSE NOTE]
//-- PLAYER: I know those people.
if (response == "s_183")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "laugh");
//-- NPC: Makes you the perfect person for the job, doesn't it? You know how they think. Remember, this is your big chance to show Jabba how loyal you are.
string_id message = new string_id (c_stringFile, "s_185");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Got it.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_187");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 83);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch83 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Makes you the perfect person for the job, doesn't it? You know how they think. Remember, this is your big chance to show Jabba how loyal you are.
//-- [RESPONSE NOTE]
//-- PLAYER: Got it.
if (response == "s_187")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: First, get that weapons shipment. I'll transmit your other orders later.
string_id message = new string_id (c_stringFile, "s_189");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: More orders from you! I can't wait.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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.tatooine_privateer_tier3.branchId", 84);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch84 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: First, get that weapons shipment. I'll transmit your other orders later.
//-- [RESPONSE NOTE]
//-- PLAYER: More orders from you! I can't wait.
if (response == "s_191")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "wave_on_dismissing");
tatooine_privateer_tier3_action_grantQuestOne (player, npc);
//-- NPC: Me neither! Go intercept that freighter in near Yavin. See you later, %TU.
string_id message = new string_id (c_stringFile, "s_193");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.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;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch86 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE] You haven't done quest two yet, so go do it.
//-- NPC: Those Valarians really put up a fight!
//-- [RESPONSE NOTE]
//-- PLAYER: I did my job.
if (response == "s_8255ca09")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "nod_head_once");
//-- NPC: Yes, you did. Jabba thanks you. I don't think Lady Valaria will want to see you again anytime soon.
string_id message = new string_id (c_stringFile, "s_ef2cceae");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Probably not.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_b984dc7a");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 87);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
//-- [RESPONSE NOTE]
//-- PLAYER: Was killing them really necessary?
if (response == "s_db509386")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "shrug_shoulders");
//-- NPC: No. But it's nice to know that you'll do what you're told. Shamdon found some talented replacements for you! I wasn't sure you were going to make it back alive.
string_id message = new string_id (c_stringFile, "s_26790919");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Well here I am.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_d7c19f3f");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 131);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch87 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Yes, you did. Jabba thanks you. I don't think Lady Valaria will want to see you again anytime soon.
//-- [RESPONSE NOTE]
//-- PLAYER: Probably not.
if (response == "s_b984dc7a")
{
doAnimationAction (player, "shrug_shoulders");
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: Jabba's very impressed. In fact, he'd like me to let you in on his secret plans.
string_id message = new string_id (c_stringFile, "s_bc7d4c35");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: What plans?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_6ec06027");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 88);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch88 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Jabba's very impressed. In fact, he'd like me to let you in on his secret plans.
//-- [RESPONSE NOTE]
//-- PLAYER: What plans?
if (response == "s_6ec06027")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "whisper");
//-- NPC: This is confidential information. You cannot share this, with anybody.
string_id message = new string_id (c_stringFile, "s_fcb2370");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Of course not.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_cd0dcead");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 89);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch89 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: This is confidential information. You cannot share this, with anybody.
//-- [RESPONSE NOTE]
//-- PLAYER: Of course not.
if (response == "s_cd0dcead")
{
doAnimationAction (player, "nod_head_once");
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "point_to_self");
//-- NPC: If it were up to me, I wouldn't tell you anything!
string_id message = new string_id (c_stringFile, "s_2e7619b1");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: But it's not up to you. is it?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_61412ebf");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 90);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch90 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: If it were up to me, I wouldn't tell you anything!
//-- [RESPONSE NOTE]
//-- PLAYER: But it's not up to you. is it?
if (response == "s_61412ebf")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "point_accusingly");
//-- NPC: Watch your mouth. Now listen up. Jabba's decided that he's ready to move his operations into Dathomir. It's ripe. There's plenty of contraband in the area - and plenty of potential customers, too.
string_id message = new string_id (c_stringFile, "s_2a03f752");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: I believe it! Seems like a plan that's way overdue.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_5a8556d4");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 91);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch91 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Watch your mouth. Now listen up. Jabba's decided that he's ready to move his operations into Dathomir. It's ripe. There's plenty of contraband in the area - and plenty of potential customers, too.
//-- [RESPONSE NOTE]
//-- PLAYER: I believe it! Seems like a plan that's way overdue.
if (response == "s_5a8556d4")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "tap_head");
//-- NPC: And you can be a part of it, but only if you work with Jabba. This is going to be a juicy deal, and he's not going to let anybody outside of his organization have a taste.
string_id message = new string_id (c_stringFile, "s_bcad400e");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: I get it! What do I have to do?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
//-- PLAYER: But the Imperials are bound to hear about this.
boolean hasResponse1 = false;
if (tatooine_privateer_tier3_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_731189e6");
if (hasResponse1)
responses [responseIndex++] = new string_id (c_stringFile, "s_3e7d2d37");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 92);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch92 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: And you can be a part of it, but only if you work with Jabba. This is going to be a juicy deal, and he's not going to let anybody outside of his organization have a taste.
//-- [RESPONSE NOTE]
//-- PLAYER: I get it! What do I have to do?
if (response == "s_731189e6")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: For now, you need to get the Witchblood clan under control.
string_id message = new string_id (c_stringFile, "s_a8371342");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: What is the Witchblood clan?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
//-- PLAYER: Uh oh. Those witches are Force sensitive.
boolean hasResponse1 = false;
if (tatooine_privateer_tier3_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_edd73236");
if (hasResponse1)
responses [responseIndex++] = new string_id (c_stringFile, "s_2675f275");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 93);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
//-- [RESPONSE NOTE]
//-- PLAYER: But the Imperials are bound to hear about this.
if (response == "s_3e7d2d37")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "tap_head");
//-- NPC: Exactly. Which is why it's important that we start making inroads with them now. We'll scratch their back, and then they'll scratch ours. Or something like that. Anyway! Back to my point.
string_id message = new string_id (c_stringFile, "s_e0114da3");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Do you have a point?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_9b113074");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 111);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch93 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: For now, you need to get the Witchblood clan under control.
//-- [RESPONSE NOTE]
//-- PLAYER: What is the Witchblood clan?
if (response == "s_edd73236")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "explain");
//-- NPC: You've never heard of them? They live on Dathomir. Been there for centuries. They have their own ideas about how things should work. AND they're Force sensitive.
string_id message = new string_id (c_stringFile, "s_221dc44d");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Hm! Sounds dangerous.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_aea8a145");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 94);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
//-- [RESPONSE NOTE]
//-- PLAYER: Uh oh. Those witches are Force sensitive.
if (response == "s_2675f275")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "laugh");
//-- NPC: Don't tell me you believe in the Force! Please. You should just use their superstitious nature to your advantage. We have to get them under control, for Jabba's sake.
string_id message = new string_id (c_stringFile, "s_c4fdcde1");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: You have an idea?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_d793b51");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 103);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch94 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: You've never heard of them? They live on Dathomir. Been there for centuries. They have their own ideas about how things should work. AND they're Force sensitive.
//-- [RESPONSE NOTE]
//-- PLAYER: Hm! Sounds dangerous.
if (response == "s_aea8a145")
{
doAnimationAction (player, "rub_chin_thoughtful");
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "point_forward");
//-- NPC: That's why Jabba assigned the mission to YOU!
string_id message = new string_id (c_stringFile, "s_26c54c13");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: What am I supposed to do?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_e1ffebd7");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 95);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch95 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: That's why Jabba assigned the mission to YOU!
//-- [RESPONSE NOTE]
//-- PLAYER: What am I supposed to do?
if (response == "s_e1ffebd7")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "explain");
//-- NPC: These witches are obsessed with respect. They want everybody who comes to Dathomir to respect them. Whatever! That is their weakness, as far as I'm concerned. I want you to find the clan's burial ground. It's an asteroid base somewhere nearby.
string_id message = new string_id (c_stringFile, "s_7a9d89cc");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: How do I find it?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_4f4e1c4e");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 96);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch96 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: These witches are obsessed with respect. They want everybody who comes to Dathomir to respect them. Whatever! That is their weakness, as far as I'm concerned. I want you to find the clan's burial ground. It's an asteroid base somewhere nearby.
//-- [RESPONSE NOTE]
//-- PLAYER: How do I find it?
if (response == "s_4f4e1c4e")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: Their soldiers will know. I suggest you commandeer one of their ships and interrogate the captain. He'll tell you what you need to know.
string_id message = new string_id (c_stringFile, "s_81ed00dd");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: And once I've found the burial ground?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_a7edf0be");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 97);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch97 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Their soldiers will know. I suggest you commandeer one of their ships and interrogate the captain. He'll tell you what you need to know.
//-- [RESPONSE NOTE]
//-- PLAYER: And once I've found the burial ground?
if (response == "s_a7edf0be")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: You're going to go there for a little visit.
string_id message = new string_id (c_stringFile, "s_66f326f");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: That's it?!
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_d59f78b0");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 98);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch98 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: You're going to go there for a little visit.
//-- [RESPONSE NOTE]
//-- PLAYER: That's it?!
if (response == "s_d59f78b0")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "gesticulate_wildly");
//-- NPC: That's EVERYTHING, as far as the witches are concerned. Non-believers like you will desecrate their sacred burial ground! They'll be entirely focused on you.
string_id message = new string_id (c_stringFile, "s_974272bf");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: That might get me killed, but I don't understand how this helps Jabba.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_a609e8c");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 99);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch99 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: That's EVERYTHING, as far as the witches are concerned. Non-believers like you will desecrate their sacred burial ground! They'll be entirely focused on you.
//-- [RESPONSE NOTE]
//-- PLAYER: That might get me killed, but I don't understand how this helps Jabba.
if (response == "s_a609e8c")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: You know that Jabba has a whole cadre of assassins at his disposal.
string_id message = new string_id (c_stringFile, "s_2cb5d040");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Sure.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_8be640b8");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 100);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch100 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: You know that Jabba has a whole cadre of assassins at his disposal.
//-- [RESPONSE NOTE]
//-- PLAYER: Sure.
if (response == "s_8be640b8")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: While you're distracting the witches with your shenanigans, his assassins will move in and rig up explosives. We'll blast those crazy ladies sky-high.
string_id message = new string_id (c_stringFile, "s_50b517b8");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Ahh. I see.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_5dd29234");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 101);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch101 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: While you're distracting the witches with your shenanigans, his assassins will move in and rig up explosives. We'll blast those crazy ladies sky-high.
//-- [RESPONSE NOTE]
//-- PLAYER: Ahh. I see.
if (response == "s_5dd29234")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "tap_head");
tatooine_privateer_tier3_action_grantQuestTwo (player, npc);
//-- NPC: Yes, quite ingenious! Once the Witchbloods are under control, we can move forward with our plans. It all hinges on you. Get to your ship!
string_id message = new string_id (c_stringFile, "s_ed7786ee");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch103 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Don't tell me you believe in the Force! Please. You should just use their superstitious nature to your advantage. We have to get them under control, for Jabba's sake.
//-- [RESPONSE NOTE]
//-- PLAYER: You have an idea?
if (response == "s_d793b51")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "explain");
//-- NPC: Of course! You know how these witches are obsessed with respect. They want everybody who comes to Dathomir to respect them. Whatever! That is their weakness, as far as I'm concerned. I want you to find the clan's burial ground. It's an asteroid base somewhere nearby.
string_id message = new string_id (c_stringFile, "s_84c0df0e");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: How do I find it?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_232");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 104);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch104 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Of course! You know how these witches are obsessed with respect. They want everybody who comes to Dathomir to respect them. Whatever! That is their weakness, as far as I'm concerned. I want you to find the clan's burial ground. It's an asteroid base somewhere nearby.
//-- [RESPONSE NOTE]
//-- PLAYER: How do I find it?
if (response == "s_232")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: Their soldiers will know. I suggest you commandeer one of their ships and interrogate the captain. He'll tell you what you need to know.
string_id message = new string_id (c_stringFile, "s_234");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: And once I've found the burial ground?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_236");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 105);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch105 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Their soldiers will know. I suggest you commandeer one of their ships and interrogate the captain. He'll tell you what you need to know.
//-- [RESPONSE NOTE]
//-- PLAYER: And once I've found the burial ground?
if (response == "s_236")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: You're going to go there for a little visit.
string_id message = new string_id (c_stringFile, "s_238");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: That's it?!
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_240");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 106);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch106 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: You're going to go there for a little visit.
//-- [RESPONSE NOTE]
//-- PLAYER: That's it?!
if (response == "s_240")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "gesticulate_wildly");
//-- NPC: That's EVERYTHING, as far as the witches are concerned. Non-believers like you will desecrate their sacred burial ground! They'll be entirely focused on you.
string_id message = new string_id (c_stringFile, "s_242");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: That might get me killed, but I don't understand how this helps Jabba.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_244");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 107);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch107 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: That's EVERYTHING, as far as the witches are concerned. Non-believers like you will desecrate their sacred burial ground! They'll be entirely focused on you.
//-- [RESPONSE NOTE]
//-- PLAYER: That might get me killed, but I don't understand how this helps Jabba.
if (response == "s_244")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: You know that Jabba has a whole cadre of assassins at his disposal.
string_id message = new string_id (c_stringFile, "s_246");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Sure.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_248");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 108);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch108 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: You know that Jabba has a whole cadre of assassins at his disposal.
//-- [RESPONSE NOTE]
//-- PLAYER: Sure.
if (response == "s_248")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: While you're distracting the witches with your shenanigans, his assassins will move in and rig up explosives. We'll blast those crazy ladies sky-high.
string_id message = new string_id (c_stringFile, "s_250");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Ahh. I see.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_252");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 109);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch109 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: While you're distracting the witches with your shenanigans, his assassins will move in and rig up explosives. We'll blast those crazy ladies sky-high.
//-- [RESPONSE NOTE]
//-- PLAYER: Ahh. I see.
if (response == "s_252")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "tap_head");
tatooine_privateer_tier3_action_grantQuestTwo (player, npc);
//-- NPC: Yes, quite ingenious! Once the Witchbloods are under control, we can move forward with our plans. It all hinges on you. Get to your ship!
string_id message = new string_id (c_stringFile, "s_254");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch111 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Exactly. Which is why it's important that we start making inroads with them now. We'll scratch their back, and then they'll scratch ours. Or something like that. Anyway! Back to my point.
//-- [RESPONSE NOTE]
//-- PLAYER: Do you have a point?
if (response == "s_9b113074")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "stamp_feet");
//-- NPC: Yes I do, thank you very much! Jabba's got a plan. It'll make our life easier, and it's a good way to earn points with the Imperials.
string_id message = new string_id (c_stringFile, "s_5e53a3dd");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: What is it?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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.tatooine_privateer_tier3.branchId", 112);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch112 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Yes I do, thank you very much! Jabba's got a plan. It'll make our life easier, and it's a good way to earn points with the Imperials.
//-- [RESPONSE NOTE]
//-- PLAYER: What is it?
if (response == "s_1c8bddbb")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: You're going to get the Witchblood clan under control.
string_id message = new string_id (c_stringFile, "s_5ba23093");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: What is the Witchblood clan?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
//-- PLAYER: Uh oh. Those witches are Force sensitive.
boolean hasResponse1 = false;
if (tatooine_privateer_tier3_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_262");
if (hasResponse1)
responses [responseIndex++] = new string_id (c_stringFile, "s_298");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 113);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch113 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: You're going to get the Witchblood clan under control.
//-- [RESPONSE NOTE]
//-- PLAYER: What is the Witchblood clan?
if (response == "s_262")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "explain");
//-- NPC: You've never heard of them? They live on Dathomir. Been there for centuries. They have their own ideas about how things should work. AND they're Force sensitive.
string_id message = new string_id (c_stringFile, "s_264");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Hm! Sounds dangerous.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_266");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 114);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
//-- [RESPONSE NOTE]
//-- PLAYER: Uh oh. Those witches are Force sensitive.
if (response == "s_298")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "laugh");
//-- NPC: Don't tell me you believe in the Force! Please. You should just use their superstitious nature to your advantage. We have to get them under control, for Jabba's sake.
string_id message = new string_id (c_stringFile, "s_300");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: You have an idea?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_302");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 123);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch114 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: You've never heard of them? They live on Dathomir. Been there for centuries. They have their own ideas about how things should work. AND they're Force sensitive.
//-- [RESPONSE NOTE]
//-- PLAYER: Hm! Sounds dangerous.
if (response == "s_266")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "point_forward");
//-- NPC: That's why Jabba assigned the mission to YOU!
string_id message = new string_id (c_stringFile, "s_268");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: What am I supposed to do?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_270");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 115);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch115 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: That's why Jabba assigned the mission to YOU!
//-- [RESPONSE NOTE]
//-- PLAYER: What am I supposed to do?
if (response == "s_270")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "explain");
//-- NPC: These witches are obsessed with respect. They want everybody who comes to Dathomir to respect them. Whatever! That is their weakness, as far as I'm concerned. I want you to find the clan's burial ground. It's an asteroid base somewhere nearby.
string_id message = new string_id (c_stringFile, "s_272");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: How do I find it?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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.tatooine_privateer_tier3.branchId", 116);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch116 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: These witches are obsessed with respect. They want everybody who comes to Dathomir to respect them. Whatever! That is their weakness, as far as I'm concerned. I want you to find the clan's burial ground. It's an asteroid base somewhere nearby.
//-- [RESPONSE NOTE]
//-- PLAYER: How do I find it?
if (response == "s_274")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: Their soldiers will know. I suggest you commandeer one of their ships and interrogate the captain. He'll tell you what you need to know.
string_id message = new string_id (c_stringFile, "s_276");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: And once I've found the burial ground?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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.tatooine_privateer_tier3.branchId", 117);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch117 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Their soldiers will know. I suggest you commandeer one of their ships and interrogate the captain. He'll tell you what you need to know.
//-- [RESPONSE NOTE]
//-- PLAYER: And once I've found the burial ground?
if (response == "s_278")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: You're going to go there for a little visit.
string_id message = new string_id (c_stringFile, "s_280");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: That's it?!
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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.tatooine_privateer_tier3.branchId", 118);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch118 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: You're going to go there for a little visit.
//-- [RESPONSE NOTE]
//-- PLAYER: That's it?!
if (response == "s_282")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "gesticulate_wildly");
//-- NPC: That's EVERYTHING, as far as the witches are concerned. Non-believers like you will desecrate their sacred burial ground! They'll be entirely focused on you.
string_id message = new string_id (c_stringFile, "s_284");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: That might get me killed, but I don't understand how this helps Jabba.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_286");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 119);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch119 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: That's EVERYTHING, as far as the witches are concerned. Non-believers like you will desecrate their sacred burial ground! They'll be entirely focused on you.
//-- [RESPONSE NOTE]
//-- PLAYER: That might get me killed, but I don't understand how this helps Jabba.
if (response == "s_286")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: You know that Jabba has a whole cadre of assassins at his disposal.
string_id message = new string_id (c_stringFile, "s_288");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Sure.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_290");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 120);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch120 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: You know that Jabba has a whole cadre of assassins at his disposal.
//-- [RESPONSE NOTE]
//-- PLAYER: Sure.
if (response == "s_290")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: While you're distracting the witches with your shenanigans, his assassins will move in and rig up explosives. We'll blast those crazy ladies sky-high.
string_id message = new string_id (c_stringFile, "s_292");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Ahh. I see.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_294");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 121);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch121 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: While you're distracting the witches with your shenanigans, his assassins will move in and rig up explosives. We'll blast those crazy ladies sky-high.
//-- [RESPONSE NOTE]
//-- PLAYER: Ahh. I see.
if (response == "s_294")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "tap_head");
tatooine_privateer_tier3_action_grantQuestTwo (player, npc);
//-- NPC: Yes, quite ingenious! Once the Witchbloods are under control, we can move forward with our plans. It all hinges on you. Get to your ship!
string_id message = new string_id (c_stringFile, "s_296");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch123 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Don't tell me you believe in the Force! Please. You should just use their superstitious nature to your advantage. We have to get them under control, for Jabba's sake.
//-- [RESPONSE NOTE]
//-- PLAYER: You have an idea?
if (response == "s_302")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "shrug_shoulders");
//-- NPC: Of course! You know how these witches are obsessed with respect. They want everybody who comes to Dathomir to respect them. Whatever! That is their weakness, as far as I'm concerned. I want you to find the clan's burial ground. It's an asteroid base somewhere nearby.
string_id message = new string_id (c_stringFile, "s_304");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: How do I find it?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_306");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 124);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch124 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Of course! You know how these witches are obsessed with respect. They want everybody who comes to Dathomir to respect them. Whatever! That is their weakness, as far as I'm concerned. I want you to find the clan's burial ground. It's an asteroid base somewhere nearby.
//-- [RESPONSE NOTE]
//-- PLAYER: How do I find it?
if (response == "s_306")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: Their soldiers will know. I suggest you commandeer one of their ships and interrogate the captain. He'll tell you what you need to know.
string_id message = new string_id (c_stringFile, "s_308");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: And once I've found the burial ground?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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.tatooine_privateer_tier3.branchId", 125);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch125 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Their soldiers will know. I suggest you commandeer one of their ships and interrogate the captain. He'll tell you what you need to know.
//-- [RESPONSE NOTE]
//-- PLAYER: And once I've found the burial ground?
if (response == "s_310")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: You're going to go there for a little visit.
string_id message = new string_id (c_stringFile, "s_312");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: That's it?!
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_314");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 126);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch126 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: You're going to go there for a little visit.
//-- [RESPONSE NOTE]
//-- PLAYER: That's it?!
if (response == "s_314")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "gesticulate_wildly");
//-- NPC: That's EVERYTHING, as far as the witches are concerned. Non-believers like you will desecrate their sacred burial ground! They'll be entirely focused on you.
string_id message = new string_id (c_stringFile, "s_316");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: That might get me killed, but I don't understand how this helps Jabba.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_318");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 127);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch127 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: That's EVERYTHING, as far as the witches are concerned. Non-believers like you will desecrate their sacred burial ground! They'll be entirely focused on you.
//-- [RESPONSE NOTE]
//-- PLAYER: That might get me killed, but I don't understand how this helps Jabba.
if (response == "s_318")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: You know that Jabba has a whole cadre of assassins at his disposal.
string_id message = new string_id (c_stringFile, "s_320");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Sure.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_322");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 128);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch128 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: You know that Jabba has a whole cadre of assassins at his disposal.
//-- [RESPONSE NOTE]
//-- PLAYER: Sure.
if (response == "s_322")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: While you're distracting the witches with your shenanigans, his assassins will move in and rig up explosives. We'll blast those crazy ladies sky-high.
string_id message = new string_id (c_stringFile, "s_324");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Ahh. I see.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_326");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 129);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch129 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: While you're distracting the witches with your shenanigans, his assassins will move in and rig up explosives. We'll blast those crazy ladies sky-high.
//-- [RESPONSE NOTE]
//-- PLAYER: Ahh. I see.
if (response == "s_326")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "tap_head");
tatooine_privateer_tier3_action_grantQuestTwo (player, npc);
//-- NPC: Yes, quite ingenious! Once the Witchbloods are under control, we can move forward with our plans. It all hinges on you. Get to your ship!
string_id message = new string_id (c_stringFile, "s_328");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch131 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: No. But it's nice to know that you'll do what you're told. Shamdon found some talented replacements for you! I wasn't sure you were going to make it back alive.
//-- [RESPONSE NOTE]
//-- PLAYER: Well here I am.
if (response == "s_d7c19f3f")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "applause_polite");
//-- NPC: Welcome back. I have an idea about how to use you. But first, tell me, can you work alongside the Imperials?
string_id message = new string_id (c_stringFile, "s_2d9d7c64");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Sure - when I have to.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_9fc316af");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 132);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch132 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Welcome back. I have an idea about how to use you. But first, tell me, can you work alongside the Imperials?
//-- [RESPONSE NOTE]
//-- PLAYER: Sure - when I have to.
if (response == "s_9fc316af")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: Hm. That's good to know, because Imperials are a force to be reckoned with in Dathomir.
string_id message = new string_id (c_stringFile, "s_38f0bcdf");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Dathomir?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_2bbcaa92");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 133);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch133 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Hm. That's good to know, because Imperials are a force to be reckoned with in Dathomir.
//-- [RESPONSE NOTE]
//-- PLAYER: Dathomir?
if (response == "s_2bbcaa92")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "nod_head_once");
//-- NPC: Jabba's decided that he's ready to move his operations into Dathomir. It's ripe. There's plenty of contraband in the area - and plenty of potential customers, too.
string_id message = new string_id (c_stringFile, "s_7943df8d");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: I believe it! Seems like a plan that's way overdue.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_338");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 134);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch134 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Jabba's decided that he's ready to move his operations into Dathomir. It's ripe. There's plenty of contraband in the area - and plenty of potential customers, too.
//-- [RESPONSE NOTE]
//-- PLAYER: I believe it! Seems like a plan that's way overdue.
if (response == "s_338")
{
doAnimationAction (player, "nod_head_once");
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: And you can be a part of it, but only if you work with Jabba. This is going to be a juicy deal, and he's not going to let anybody outside of his organization have a taste.
string_id message = new string_id (c_stringFile, "s_340");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: I get it! What do I have to do?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_342");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 135);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch135 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: And you can be a part of it, but only if you work with Jabba. This is going to be a juicy deal, and he's not going to let anybody outside of his organization have a taste.
//-- [RESPONSE NOTE]
//-- PLAYER: I get it! What do I have to do?
if (response == "s_342")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: Later on, I'll need your help with the Imperials. For now, you need to get the Witchblood clan under control.
string_id message = new string_id (c_stringFile, "s_6d22c58");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Who is the Witchblood clan?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
//-- PLAYER: Uh oh. Those witches are Force sensitive.
boolean hasResponse1 = false;
if (tatooine_privateer_tier3_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_bf01df79");
if (hasResponse1)
responses [responseIndex++] = new string_id (c_stringFile, "s_380");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 136);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch136 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Later on, I'll need your help with the Imperials. For now, you need to get the Witchblood clan under control.
//-- [RESPONSE NOTE]
//-- PLAYER: Who is the Witchblood clan?
if (response == "s_bf01df79")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "explain");
//-- NPC: You've never heard of them? They live on Dathomir. Been there for centuries. They have their own ideas about how things should work. AND they're Force sensitive.
string_id message = new string_id (c_stringFile, "s_346");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Hm! Sounds dangerous.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_348");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 137);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
//-- [RESPONSE NOTE]
//-- PLAYER: Uh oh. Those witches are Force sensitive.
if (response == "s_380")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "laugh");
//-- NPC: Don't tell me you believe in the Force! Please. You should just use their superstitious nature to your advantage. We have to get them under control, for Jabba's sake.
string_id message = new string_id (c_stringFile, "s_382");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: You have an idea?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_384");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 146);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch137 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: You've never heard of them? They live on Dathomir. Been there for centuries. They have their own ideas about how things should work. AND they're Force sensitive.
//-- [RESPONSE NOTE]
//-- PLAYER: Hm! Sounds dangerous.
if (response == "s_348")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "point_forward");
//-- NPC: That's why Jabba assigned the mission to YOU!
string_id message = new string_id (c_stringFile, "s_350");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: What am I supposed to do?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_352");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 138);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch138 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: That's why Jabba assigned the mission to YOU!
//-- [RESPONSE NOTE]
//-- PLAYER: What am I supposed to do?
if (response == "s_352")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "explain");
//-- NPC: These witches are obsessed with respect. They want everybody who comes to Dathomir to respect them. Whatever! That is their weakness, as far as I'm concerned. I want you to find the clan's burial ground. It's an asteroid base somewhere nearby.
string_id message = new string_id (c_stringFile, "s_354");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: How do I find it?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_356");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 139);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch139 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: These witches are obsessed with respect. They want everybody who comes to Dathomir to respect them. Whatever! That is their weakness, as far as I'm concerned. I want you to find the clan's burial ground. It's an asteroid base somewhere nearby.
//-- [RESPONSE NOTE]
//-- PLAYER: How do I find it?
if (response == "s_356")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: Their soldiers will know. I suggest you commandeer one of their ships and interrogate the captain. He'll tell you what you need to know.
string_id message = new string_id (c_stringFile, "s_358");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: And once I've found the burial ground?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_360");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 140);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch140 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Their soldiers will know. I suggest you commandeer one of their ships and interrogate the captain. He'll tell you what you need to know.
//-- [RESPONSE NOTE]
//-- PLAYER: And once I've found the burial ground?
if (response == "s_360")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: You're going to go there for a little visit.
string_id message = new string_id (c_stringFile, "s_362");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: That's it?!
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_364");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 141);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch141 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: You're going to go there for a little visit.
//-- [RESPONSE NOTE]
//-- PLAYER: That's it?!
if (response == "s_364")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "gesticulate_wildly");
//-- NPC: That's EVERYTHING, as far as the witches are concerned. Non-believers like you will desecrate their sacred burial ground! They'll be entirely focused on you.
string_id message = new string_id (c_stringFile, "s_366");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: That might get me killed, but I don't understand how this helps Jabba.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_368");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 142);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch142 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: That's EVERYTHING, as far as the witches are concerned. Non-believers like you will desecrate their sacred burial ground! They'll be entirely focused on you.
//-- [RESPONSE NOTE]
//-- PLAYER: That might get me killed, but I don't understand how this helps Jabba.
if (response == "s_368")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: You know that Jabba has a whole cadre of assassins at his disposal.
string_id message = new string_id (c_stringFile, "s_370");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Sure.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_372");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 143);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch143 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: You know that Jabba has a whole cadre of assassins at his disposal.
//-- [RESPONSE NOTE]
//-- PLAYER: Sure.
if (response == "s_372")
{
doAnimationAction (player, "nod_head_once");
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: While you're distracting the witches with your shenanigans, his assassins will move in and rig up explosives. We'll blast those crazy ladies sky-high.
string_id message = new string_id (c_stringFile, "s_374");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Ahh. I see.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_376");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 144);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch144 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: While you're distracting the witches with your shenanigans, his assassins will move in and rig up explosives. We'll blast those crazy ladies sky-high.
//-- [RESPONSE NOTE]
//-- PLAYER: Ahh. I see.
if (response == "s_376")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "tap_head");
tatooine_privateer_tier3_action_grantQuestTwo (player, npc);
//-- NPC: Yes, quite ingenious! Once the Witchbloods are under control, we can move forward with our plans. It all hinges on you. Get to your ship!
string_id message = new string_id (c_stringFile, "s_378");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch146 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Don't tell me you believe in the Force! Please. You should just use their superstitious nature to your advantage. We have to get them under control, for Jabba's sake.
//-- [RESPONSE NOTE]
//-- PLAYER: You have an idea?
if (response == "s_384")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "explain");
//-- NPC: Of course! You know how these witches are obsessed with respect. They want everybody who comes to Dathomir to respect them. Whatever! That is their weakness, as far as I'm concerned. I want you to find the clan's burial ground. It's an asteroid base somewhere nearby.
string_id message = new string_id (c_stringFile, "s_386");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: How do I find it?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_388");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 147);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch147 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Of course! You know how these witches are obsessed with respect. They want everybody who comes to Dathomir to respect them. Whatever! That is their weakness, as far as I'm concerned. I want you to find the clan's burial ground. It's an asteroid base somewhere nearby.
//-- [RESPONSE NOTE]
//-- PLAYER: How do I find it?
if (response == "s_388")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: Their soldiers will know. I suggest you commandeer one of their ships and interrogate the captain. He'll tell you what you need to know.
string_id message = new string_id (c_stringFile, "s_390");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: And once I've found the burial ground?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_392");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 148);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch148 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Their soldiers will know. I suggest you commandeer one of their ships and interrogate the captain. He'll tell you what you need to know.
//-- [RESPONSE NOTE]
//-- PLAYER: And once I've found the burial ground?
if (response == "s_392")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: You're going to go there for a little visit.
string_id message = new string_id (c_stringFile, "s_394");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: That's it?!
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_396");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 149);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch149 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: You're going to go there for a little visit.
//-- [RESPONSE NOTE]
//-- PLAYER: That's it?!
if (response == "s_396")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "gesticulate_wildly");
//-- NPC: That's EVERYTHING, as far as the witches are concerned. Non-believers like you will desecrate their sacred burial ground! They'll be entirely focused on you.
string_id message = new string_id (c_stringFile, "s_398");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: That might get me killed, but I don't understand how this helps Jabba.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_400");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 150);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch150 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: That's EVERYTHING, as far as the witches are concerned. Non-believers like you will desecrate their sacred burial ground! They'll be entirely focused on you.
//-- [RESPONSE NOTE]
//-- PLAYER: That might get me killed, but I don't understand how this helps Jabba.
if (response == "s_400")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: You know that Jabba has a whole cadre of assassins at his disposal.
string_id message = new string_id (c_stringFile, "s_402");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Sure.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_404");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 151);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch151 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: You know that Jabba has a whole cadre of assassins at his disposal.
//-- [RESPONSE NOTE]
//-- PLAYER: Sure.
if (response == "s_404")
{
doAnimationAction (player, "nod_head_once");
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: While you're distracting the witches with your shenanigans, his assassins will move in and rig up explosives. We'll blast those crazy ladies sky-high.
string_id message = new string_id (c_stringFile, "s_406");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Ahh. I see.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_408");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 152);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch152 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: While you're distracting the witches with your shenanigans, his assassins will move in and rig up explosives. We'll blast those crazy ladies sky-high.
//-- [RESPONSE NOTE]
//-- PLAYER: Ahh. I see.
if (response == "s_408")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "tap_head");
tatooine_privateer_tier3_action_grantQuestTwo (player, npc);
//-- NPC: Yes, quite ingenious! Once the Witchbloods are under control, we can move forward with our plans. It all hinges on you. Get to your ship!
string_id message = new string_id (c_stringFile, "s_410");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch154 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE] You haven't done quest three yet, so go do it.
//-- NPC: Here comes a special pilot. Ready for a special mission?
//-- [RESPONSE NOTE]
//-- PLAYER: Of course.
if (response == "s_52917b0d")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "tap_head");
//-- NPC: I want to know if you can work with Imperials?
string_id message = new string_id (c_stringFile, "s_509249db");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: I can work with anybody, if the money's right.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_b55e3f14");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 155);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
//-- [RESPONSE NOTE]
//-- PLAYER: I'm ready to find out more about this Dathomir situation.
if (response == "s_1b6a5a1c")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: Such an inquisitive mind! Young pilots like you shouldn't ask so many questions.
string_id message = new string_id (c_stringFile, "s_29456ce7");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Don't be ridiculous. Tell me what's going on.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_255518bb");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 165);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch155 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: I want to know if you can work with Imperials?
//-- [RESPONSE NOTE]
//-- PLAYER: I can work with anybody, if the money's right.
if (response == "s_b55e3f14")
{
doAnimationAction (player, "shrug_shoulders");
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "laugh");
//-- NPC: Obviously you can, you traitorous Valarian-loving goon.
string_id message = new string_id (c_stringFile, "s_1edbaf3a");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Oh whatever.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_ecbb4e43");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 156);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch156 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Obviously you can, you traitorous Valarian-loving goon.
//-- [RESPONSE NOTE]
//-- PLAYER: Oh whatever.
if (response == "s_ecbb4e43")
{
doAnimationAction (player, "wave_on_dismissing");
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: Here is your mission. I want you to deliver a few gifts to Imperial officers operating in this system.
string_id message = new string_id (c_stringFile, "s_d60918d0");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: What kind of gifts?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_72318c63");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 157);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch157 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Here is your mission. I want you to deliver a few gifts to Imperial officers operating in this system.
//-- [RESPONSE NOTE]
//-- PLAYER: What kind of gifts?
if (response == "s_72318c63")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "explain");
//-- NPC: The kind of gifts any Imperial would accept. Data on other factions. Insider information. Secret passwords. You know. The good stuff.
string_id message = new string_id (c_stringFile, "s_dcea0b58");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: You're right. They'll like it.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_551c4bc7");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 158);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch158 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: The kind of gifts any Imperial would accept. Data on other factions. Insider information. Secret passwords. You know. The good stuff.
//-- [RESPONSE NOTE]
//-- PLAYER: You're right. They'll like it.
if (response == "s_551c4bc7")
{
doAnimationAction (player, "nod_head_once");
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "shrug_shoulders");
//-- NPC: I can't take any credit. This was all Jabba's idea. He's a genius.
string_id message = new string_id (c_stringFile, "s_4b6d65c6");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: It's always good to make friends with the Imperials, but is there some reason behind the timing?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_c33fad75");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 159);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch159 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: I can't take any credit. This was all Jabba's idea. He's a genius.
//-- [RESPONSE NOTE]
//-- PLAYER: It's always good to make friends with the Imperials, but is there some reason behind the timing?
if (response == "s_c33fad75")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "nod_head_once");
//-- NPC: Of course. Jabba's getting ready to throw a little party.
string_id message = new string_id (c_stringFile, "s_3b45cd54");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: What kind of party?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_651adfc1");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 160);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch160 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Of course. Jabba's getting ready to throw a little party.
//-- [RESPONSE NOTE]
//-- PLAYER: What kind of party?
if (response == "s_651adfc1")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "laugh_titter");
//-- NPC: The kind of party people like YOU don't get invited to. All the big names will be there. Including some of Jabba's biggest competitors.
string_id message = new string_id (c_stringFile, "s_859cab0");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Why?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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.tatooine_privateer_tier3.branchId", 161);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch161 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: The kind of party people like YOU don't get invited to. All the big names will be there. Including some of Jabba's biggest competitors.
//-- [RESPONSE NOTE]
//-- PLAYER: Why?
if (response == "s_841d27db")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: You know what they say. Keep your friends close, and your enemies closer. Jabba's getting ready to make a big move. He's got to know what's going on out there.
string_id message = new string_id (c_stringFile, "s_38c86018");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Right.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_6ce4e96f");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 162);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch162 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: You know what they say. Keep your friends close, and your enemies closer. Jabba's getting ready to make a big move. He's got to know what's going on out there.
//-- [RESPONSE NOTE]
//-- PLAYER: Right.
if (response == "s_6ce4e96f")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "explain");
//-- NPC: We've uploaded the Imperials' coordinates to your ship's system. And we've uploaded the data as well. They're password-protected. We wouldn't want you taking those - gifts - for yourself.
string_id message = new string_id (c_stringFile, "s_c1730a04");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: I wouldn't think of it!
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_80bfc2af");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 163);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch163 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: We've uploaded the Imperials' coordinates to your ship's system. And we've uploaded the data as well. They're password-protected. We wouldn't want you taking those - gifts - for yourself.
//-- [RESPONSE NOTE]
//-- PLAYER: I wouldn't think of it!
if (response == "s_80bfc2af")
{
doAnimationAction (player, "point_to_self");
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "wave1");
tatooine_privateer_tier3_action_grantQuestThree (player, npc);
//-- NPC: Of course not. Have fun!
string_id message = new string_id (c_stringFile, "s_4050c6fc");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch165 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Such an inquisitive mind! Young pilots like you shouldn't ask so many questions.
//-- [RESPONSE NOTE]
//-- PLAYER: Don't be ridiculous. Tell me what's going on.
if (response == "s_255518bb")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "shrug_shoulders");
//-- NPC: What's there to tell? Dathomir's a gold mine, for the right sort of entrepreneur. We just need to establish good relationships with the neighbors.
string_id message = new string_id (c_stringFile, "s_e480eda0");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Like we did with the witches of Dathomir?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_9dd2c52f");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 166);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch166 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: What's there to tell? Dathomir's a gold mine, for the right sort of entrepreneur. We just need to establish good relationships with the neighbors.
//-- [RESPONSE NOTE]
//-- PLAYER: Like we did with the witches of Dathomir?
if (response == "s_9dd2c52f")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "rub_chin_thoughtful");
//-- NPC: Well...it all depends on how you define Good. Every situation is different. Take the Imperial forces, for example. We need to treat them with the utmost respect.
string_id message = new string_id (c_stringFile, "s_95ff4e4");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Or else they'll blast you out of the galaxy.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_4edf9084");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 167);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch167 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Well...it all depends on how you define Good. Every situation is different. Take the Imperial forces, for example. We need to treat them with the utmost respect.
//-- [RESPONSE NOTE]
//-- PLAYER: Or else they'll blast you out of the galaxy.
if (response == "s_4edf9084")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: You mean they'll blast US. We're in this together now, remember?
string_id message = new string_id (c_stringFile, "s_36d47f1a");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: How could I forget?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_73e3d4ef");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 168);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch168 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: You mean they'll blast US. We're in this together now, remember?
//-- [RESPONSE NOTE]
//-- PLAYER: How could I forget?
if (response == "s_73e3d4ef")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (player, "tap_head");
//-- NPC: I want to know if you can work with Imperials?
string_id message = new string_id (c_stringFile, "s_442");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: I can work with anybody, if the money's right.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_444");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 169);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch169 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: I want to know if you can work with Imperials?
//-- [RESPONSE NOTE]
//-- PLAYER: I can work with anybody, if the money's right.
if (response == "s_444")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "nod_head_once");
//-- NPC: So here is your mission. I want you to deliver a few gifts to Imperial officers operating in this system.
string_id message = new string_id (c_stringFile, "s_cb13d341");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: What kind of gifts?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_447");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 170);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch170 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: So here is your mission. I want you to deliver a few gifts to Imperial officers operating in this system.
//-- [RESPONSE NOTE]
//-- PLAYER: What kind of gifts?
if (response == "s_447")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "shrug_hands");
//-- NPC: The kind of gifts any Imperial would want. Data on other factions. Insider information. Secret passwords. The good stuff.
string_id message = new string_id (c_stringFile, "s_3c1e7fc0");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: You're right. They'll like it.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_450");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 171);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch171 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: The kind of gifts any Imperial would want. Data on other factions. Insider information. Secret passwords. The good stuff.
//-- [RESPONSE NOTE]
//-- PLAYER: You're right. They'll like it.
if (response == "s_450")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: I can't take any credit. This was all Jabba's idea. He's a genius.
string_id message = new string_id (c_stringFile, "s_452");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Right.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_5494c458");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 172);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch172 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: I can't take any credit. This was all Jabba's idea. He's a genius.
//-- [RESPONSE NOTE]
//-- PLAYER: Right.
if (response == "s_5494c458")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "explain");
//-- NPC: We've uploaded the Imperials' coordinates to your ship's system. And we've uploaded the data as well. They're password-protected. We wouldn't want you taking those - gifts - for yourself.
string_id message = new string_id (c_stringFile, "s_455");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: I wouldn't think of it!
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_457");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 173);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch173 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: We've uploaded the Imperials' coordinates to your ship's system. And we've uploaded the data as well. They're password-protected. We wouldn't want you taking those - gifts - for yourself.
//-- [RESPONSE NOTE]
//-- PLAYER: I wouldn't think of it!
if (response == "s_457")
{
doAnimationAction (player, "point_to_self");
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "wave1");
tatooine_privateer_tier3_action_grantQuestThree (player, npc);
//-- NPC: Of course not. Have fun!
string_id message = new string_id (c_stringFile, "s_459");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch175 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE] You haven't done quest four yet, so go do it.
//-- NPC: How did you like Jabba's party guests?
//-- [RESPONSE NOTE]
//-- PLAYER: They were almost as disgusting as Jabba.
if (response == "s_e2b3bd3d")
{
doAnimationAction (player, "shake_head_disgust");
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "laugh");
//-- NPC: Ha! Well, disgusting they may be, but they're useful, too. Jabba's laying the foundation for his Dathomir operation.
string_id message = new string_id (c_stringFile, "s_2795978a");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Did he announce his plans?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_6713da6c");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 176);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
//-- [RESPONSE NOTE]
//-- PLAYER: Who? I've already forgotten them. Give me a mission.
if (response == "s_9ef8ae7d")
{
doAnimationAction (player, "wave_on_dismissing");
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "laugh_titter");
//-- NPC: So testy! What did you have for breakfast? You need to work on the subtle art of conversation.
string_id message = new string_id (c_stringFile, "s_da8f9cc9");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: You're boring me.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_2c4b729");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 188);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch176 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Ha! Well, disgusting they may be, but they're useful, too. Jabba's laying the foundation for his Dathomir operation.
//-- [RESPONSE NOTE]
//-- PLAYER: Did he announce his plans?
if (response == "s_6713da6c")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "tap_head");
//-- NPC: Not in so many words. But he made sure that he knew who his friends were, if you know what I mean.
string_id message = new string_id (c_stringFile, "s_7f124363");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: No. I don't know what you mean.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_9754c9cf");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 177);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch177 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Not in so many words. But he made sure that he knew who his friends were, if you know what I mean.
//-- [RESPONSE NOTE]
//-- PLAYER: No. I don't know what you mean.
if (response == "s_9754c9cf")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: Well, that's why Jabba's a syndicate head, and you're just a lowly pilot. You don't have to like Jabba, but you have to respect him. He knows how to get things done.
string_id message = new string_id (c_stringFile, "s_821a5372");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Uh huh. Got a mission for me?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_58081a79");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 178);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch178 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Well, that's why Jabba's a syndicate head, and you're just a lowly pilot. You don't have to like Jabba, but you have to respect him. He knows how to get things done.
//-- [RESPONSE NOTE]
//-- PLAYER: Uh huh. Got a mission for me?
if (response == "s_58081a79")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: Of course! We don't pay you to stand around and look pretty. I have good news and bad news. The good news is, business is booming.
string_id message = new string_id (c_stringFile, "s_99b1ec0");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: And the bad news?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_dd19988e");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 179);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch179 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Of course! We don't pay you to stand around and look pretty. I have good news and bad news. The good news is, business is booming.
//-- [RESPONSE NOTE]
//-- PLAYER: And the bad news?
if (response == "s_dd19988e")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: The bad news is that a new clan is trying to make inroads in this system.
string_id message = new string_id (c_stringFile, "s_83c2b64");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Who is it?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_800d8ca1");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 180);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch180 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: The bad news is that a new clan is trying to make inroads in this system.
//-- [RESPONSE NOTE]
//-- PLAYER: Who is it?
if (response == "s_800d8ca1")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "sigh_deeply");
//-- NPC: That's the REALLY bad news - we don't know. Nobody's been able to identify them yet. They call themselves the Rancor Clan.
string_id message = new string_id (c_stringFile, "s_f0fbdf16");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: They've named themselves after rancors? Ha! Those idiotic creatures can't even brush their own teeth, much less fly a spaceship.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_272a2246");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 181);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch181 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: That's the REALLY bad news - we don't know. Nobody's been able to identify them yet. They call themselves the Rancor Clan.
//-- [RESPONSE NOTE]
//-- PLAYER: They've named themselves after rancors? Ha! Those idiotic creatures can't even brush their own teeth, much less fly a spaceship.
if (response == "s_272a2246")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "rub_chin_thoughtful");
//-- NPC: The name is silly; the threat is not. These are aggressive, dangerous fighters. I wonder why they've taken an interest in this area?
string_id message = new string_id (c_stringFile, "s_65ef9330");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: No idea.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_98b1ccd4");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 182);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch182 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: The name is silly; the threat is not. These are aggressive, dangerous fighters. I wonder why they've taken an interest in this area?
//-- [RESPONSE NOTE]
//-- PLAYER: No idea.
if (response == "s_98b1ccd4")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: Oh really? Have you been talking to your friends about Dathomir?
string_id message = new string_id (c_stringFile, "s_b3b84a9f");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Of course not! I have no friends.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_d33e2776");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 183);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch183 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Oh really? Have you been talking to your friends about Dathomir?
//-- [RESPONSE NOTE]
//-- PLAYER: Of course not! I have no friends.
if (response == "s_d33e2776")
{
doAnimationAction (player, "shake_head_no");
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "wave_finger_warning");
//-- NPC: If I find out you're lying to me, I'll kill you myself. And I'll do it slowly.
string_id message = new string_id (c_stringFile, "s_1e9e6433");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: I haven't said a word!
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_1e18c922");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 184);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch184 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: If I find out you're lying to me, I'll kill you myself. And I'll do it slowly.
//-- [RESPONSE NOTE]
//-- PLAYER: I haven't said a word!
if (response == "s_1e18c922")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "shrug_shoulders");
//-- NPC: Well, regardless of the reason, the Rancor Clan is here. And they need to go. This is your problem, as of now. I want you to get back up there and patrol the area. If you find rancors, engage and destroy. Got it?
string_id message = new string_id (c_stringFile, "s_55fa5d7a");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Got it.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_482");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 185);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch185 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Well, regardless of the reason, the Rancor Clan is here. And they need to go. This is your problem, as of now. I want you to get back up there and patrol the area. If you find rancors, engage and destroy. Got it?
//-- [RESPONSE NOTE]
//-- PLAYER: Got it.
if (response == "s_482")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "explain");
//-- NPC: The kicker is that Jabba is installing a vigo on Dathomir. He'll be here soon. We need to eliminate this problem before this guy arrives. If he decides that we're doing a bad job, he will DEFINITELY replace us. And do you know what replace means?
string_id message = new string_id (c_stringFile, "s_a92435e7");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: I can guess.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_ea9e3ad2");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 186);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch186 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: The kicker is that Jabba is installing a vigo on Dathomir. He'll be here soon. We need to eliminate this problem before this guy arrives. If he decides that we're doing a bad job, he will DEFINITELY replace us. And do you know what replace means?
//-- [RESPONSE NOTE]
//-- PLAYER: I can guess.
if (response == "s_ea9e3ad2")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "dismiss");
tatooine_privateer_tier3_action_grantQuestFour (player, npc);
//-- NPC: Get out of here.
string_id message = new string_id (c_stringFile, "s_6fe71f0c");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch188 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: So testy! What did you have for breakfast? You need to work on the subtle art of conversation.
//-- [RESPONSE NOTE]
//-- PLAYER: You're boring me.
if (response == "s_2c4b729")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "wave_on_dismissing");
//-- NPC: All right, all right! You don't need to take my head off. I have good news and bad news. The good news is, business is booming.
string_id message = new string_id (c_stringFile, "s_b834e090");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: And the bad news?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_491");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 189);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch189 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: All right, all right! You don't need to take my head off. I have good news and bad news. The good news is, business is booming.
//-- [RESPONSE NOTE]
//-- PLAYER: And the bad news?
if (response == "s_491")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: The bad news is that a new clan is trying to make inroads in this system.
string_id message = new string_id (c_stringFile, "s_493");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Who is it?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_495");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 190);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch190 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: The bad news is that a new clan is trying to make inroads in this system.
//-- [RESPONSE NOTE]
//-- PLAYER: Who is it?
if (response == "s_495")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "sigh_deeply");
//-- NPC: That's the REALLY bad news - we don't know. Nobody's been able to identify them yet. They call themselves the Rancor Clan.
string_id message = new string_id (c_stringFile, "s_497");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Strange!
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_bee781d7");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 191);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch191 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: That's the REALLY bad news - we don't know. Nobody's been able to identify them yet. They call themselves the Rancor Clan.
//-- [RESPONSE NOTE]
//-- PLAYER: Strange!
if (response == "s_bee781d7")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "rub_chin_thoughtful");
//-- NPC: Very. These are aggressive, dangerous fighters. I wonder why they've taken an interest in this area?
string_id message = new string_id (c_stringFile, "s_e4dc5d6");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: No idea.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_501");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 192);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch192 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Very. These are aggressive, dangerous fighters. I wonder why they've taken an interest in this area?
//-- [RESPONSE NOTE]
//-- PLAYER: No idea.
if (response == "s_501")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: Oh really? Have you been talking to your friends about Dathomir?
string_id message = new string_id (c_stringFile, "s_503");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Of course not! I have no friends.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_505");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 193);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch193 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Oh really? Have you been talking to your friends about Dathomir?
//-- [RESPONSE NOTE]
//-- PLAYER: Of course not! I have no friends.
if (response == "s_505")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "wave_finger_warning");
//-- NPC: If I find out you're lying to me, I'll kill you myself. And I'll do it slowly.
string_id message = new string_id (c_stringFile, "s_507");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: I haven't said a word!
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_509");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 194);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch194 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: If I find out you're lying to me, I'll kill you myself. And I'll do it slowly.
//-- [RESPONSE NOTE]
//-- PLAYER: I haven't said a word!
if (response == "s_509")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "shrug_shoulders");
//-- NPC: Well, regardless of the reason, the Rancor Clan is here. And they need to go. This is your problem, as of now. I want you to get back up there and patrol the area. If you find rancors, engage and destroy. Got it?
string_id message = new string_id (c_stringFile, "s_511");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Got it.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_513");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 195);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch195 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Well, regardless of the reason, the Rancor Clan is here. And they need to go. This is your problem, as of now. I want you to get back up there and patrol the area. If you find rancors, engage and destroy. Got it?
//-- [RESPONSE NOTE]
//-- PLAYER: Got it.
if (response == "s_513")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "explain");
//-- NPC: The kicker is that Jabba is installing a vigo on Dathomir. He'll be here soon. We need to eliminate this problem before this guy arrives. If he decides that we're doing a bad job, he will DEFINITELY replace us. And do you know what replace means?
string_id message = new string_id (c_stringFile, "s_515");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: I can guess.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_517");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 196);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch196 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: The kicker is that Jabba is installing a vigo on Dathomir. He'll be here soon. We need to eliminate this problem before this guy arrives. If he decides that we're doing a bad job, he will DEFINITELY replace us. And do you know what replace means?
//-- [RESPONSE NOTE]
//-- PLAYER: I can guess.
if (response == "s_517")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "dismiss");
tatooine_privateer_tier3_action_grantQuestFour (player, npc);
//-- NPC: Get out of here.
string_id message = new string_id (c_stringFile, "s_519");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch198 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE] You must have completed tier3 completely. Hope you have all your skills! Now I will tell you to go talk to a tier-4 guy.
//-- NPC: Guess what, %TU. Jabba's sending you somewhere else.
//-- [RESPONSE NOTE]
//-- PLAYER: Does that mean we aren't going to work together any more?
if (response == "s_cc1cb635")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "point_to_self");
//-- NPC: We never DID work together. YOU worked for ME.
string_id message = new string_id (c_stringFile, "s_1360f736");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Hm! You know what? I don't think I'll miss you too much.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_741f40ea");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 199);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
//-- [RESPONSE NOTE]
//-- PLAYER: Oh no!
if (response == "s_249fa88e")
{
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: Are you being sarcastic?
string_id message = new string_id (c_stringFile, "s_6553e1d6");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Honestly, I'm not sure.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_1248fc74");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 201);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
}
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch199 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: We never DID work together. YOU worked for ME.
//-- [RESPONSE NOTE]
//-- PLAYER: Hm! You know what? I don't think I'll miss you too much.
if (response == "s_741f40ea")
{
doAnimationAction (player, "rub_chin_thoughtful");
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
doAnimationAction (npc, "dismiss");
//-- NPC: I won't miss you either. Jabba's done with you for now, so go back to where you came from. I think Talon Karrde is expecting you at the Mos Eisley cantina. And in the future, if you see me coming, do me a favor and get out of my way!
string_id message = new string_id (c_stringFile, "s_b3b64ad2");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
int tatooine_privateer_tier3_handleBranch201 (obj_id player, obj_id npc, string_id response)
{
//-- [BRANCH NOTE]
//-- NPC: Are you being sarcastic?
//-- [RESPONSE NOTE]
//-- PLAYER: Honestly, I'm not sure.
if (response == "s_1248fc74")
{
doAnimationAction (player, "rub_chin_thoughtful");
//-- [NOTE]
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: You're a strange one. Jabba's finished with you for now, and Talon Karrde is waiting for you at the Mos Eisley cantina. See you later.
string_id message = new string_id (c_stringFile, "s_4c6b6df2");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
npcEndConversationWithMessage (player, message);
return SCRIPT_CONTINUE;
}
}
return SCRIPT_DEFAULT;
}
// ----------------------------------------------------------------------
// ======================================================================
// User Script Triggers
// ======================================================================
trigger OnInitialize ()
{
if ((!isMob (self)) || (isPlayer (self)))
detachScript(self, "conversation.tatooine_privateer_tier3");
setCondition (self, CONDITION_CONVERSABLE);
setInvulnerable( self, true );
setCondition( self, CONDITION_SPACE_INTERESTING );
return SCRIPT_CONTINUE;
}
trigger OnAttach ()
{
setCondition (self, CONDITION_CONVERSABLE);
setInvulnerable( self, true );
setCondition( self, CONDITION_SPACE_INTERESTING );
return SCRIPT_CONTINUE;
}
trigger OnObjectMenuRequest (obj_id player, menu_info menuInfo)
{
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;
}
trigger OnIncapacitated (obj_id killer)
{
clearCondition (self, CONDITION_CONVERSABLE);
detachScript (self, "conversation.tatooine_privateer_tier3");
return SCRIPT_CONTINUE;
}
// ======================================================================
// Script Triggers
// ======================================================================
//-- This function should move to base_class.java
boolean npcStartConversation(obj_id player, obj_id npc, string convoName, string_id greetingId, prose_package greetingProse, string_id[] responses)
{
Object[] objects = new Object[responses.length];
System.arraycopy(responses, 0, objects, 0, responses.length);
return npcStartConversation(player, npc, convoName, greetingId, greetingProse, objects);
}
// ----------------------------------------------------------------------
trigger OnStartNpcConversation (obj_id player)
{
obj_id npc = self;
if (ai_lib.isInCombat (npc) || ai_lib.isInCombat (player))
return SCRIPT_OVERRIDE;
//-- [NOTE] You're the wrong faction.
if (!tatooine_privateer_tier3_condition_isCorrectFaction (player, npc))
{
doAnimationAction (npc, "snap_finger1");
//-- NPC: Unless you're here to buy something, I suggest you keep walking.
string_id message = new string_id (c_stringFile, "s_a2c78f81");
chat.chat (npc, player, message);
return SCRIPT_CONTINUE;
}
//-- [NOTE]
if (!tatooine_privateer_tier3_condition_onMyTrack (player, npc))
{
//-- NPC: Who are you? %TU? Oh, yeah...I've heard of you. Word is you're a pretty fair pilot. What can I do for you?
string_id message = new string_id (c_stringFile, "s_38d9a05a");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: I'm looking for work. You got anything?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_615d980b");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 2);
prose_package pp = new prose_package ();
pp.stringId = message;
pp.actor.set (player);
pp.target.set (npc);
npcStartConversation (player, npc, "tatooine_privateer_tier3", 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;
}
//-- [NOTE] You're not through tier2 yet!
if (!tatooine_privateer_tier3_condition_isReadyForTier3 (player, npc))
{
//-- NPC: Who are you? One of Jabba's new pilots?
string_id message = new string_id (c_stringFile, "s_1baaff63");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: No.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
//-- PLAYER: I don't work for Jabba.
boolean hasResponse1 = false;
if (tatooine_privateer_tier3_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_4c695dbd");
if (hasResponse1)
responses [responseIndex++] = new string_id (c_stringFile, "s_db3d67b");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 4);
npcStartConversation (player, npc, "tatooine_privateer_tier3", message, responses);
}
else
{
chat.chat (npc, player, message);
}
return SCRIPT_CONTINUE;
}
//-- [NOTE] You are busy. Already on a quest. Go do it.
if (tatooine_privateer_tier3_condition_isOnQuest (player, npc))
{
//-- NPC: Looking for something?
string_id message = new string_id (c_stringFile, "s_98be92ae");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: You, actually.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
//-- PLAYER: Why do you ask?
boolean hasResponse1 = false;
if (tatooine_privateer_tier3_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_11a6885c");
if (hasResponse1)
responses [responseIndex++] = new string_id (c_stringFile, "s_5288ea5c");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 7);
npcStartConversation (player, npc, "tatooine_privateer_tier3", message, responses);
}
else
{
chat.chat (npc, player, message);
}
return SCRIPT_CONTINUE;
}
//-- [NOTE] You failed quest one. You must start over.
if (tatooine_privateer_tier3_condition_failedQuestOne (player, npc))
{
doAnimationAction (npc, "laugh_titter");
//-- NPC: Was it too much for you to handle, %TU?
string_id message = new string_id (c_stringFile, "s_f840ac8a");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Of course not!
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
//-- PLAYER: Are you kidding? Nothing stops me.
boolean hasResponse1 = false;
if (tatooine_privateer_tier3_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_a042a4cf");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 11);
prose_package pp = new prose_package ();
pp.stringId = message;
pp.actor.set (player);
pp.target.set (npc);
npcStartConversation (player, npc, "tatooine_privateer_tier3", 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;
}
//-- [NOTE] You failed quest two. You must start over.
if (tatooine_privateer_tier3_condition_failedQuestTwo (player, npc))
{
//-- NPC: I didn't expect you back so soon.
string_id message = new string_id (c_stringFile, "s_be822621");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: I'm not done yet.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
//-- PLAYER: I didn't think those Witchbloods would be so tenacious.
boolean hasResponse1 = false;
if (tatooine_privateer_tier3_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_28a543ae");
if (hasResponse1)
responses [responseIndex++] = new string_id (c_stringFile, "s_581da545");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 18);
npcStartConversation (player, npc, "tatooine_privateer_tier3", message, responses);
}
else
{
chat.chat (npc, player, message);
}
return SCRIPT_CONTINUE;
}
//-- [NOTE] You failed quest three. You must start over.
if (tatooine_privateer_tier3_condition_failedQuestThree (player, npc))
{
doAnimationAction (npc, "tap_foot");
//-- NPC: The Imperials are going to be VERY upset with you.
string_id message = new string_id (c_stringFile, "s_5723e13e");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: No. They'll be fine. Because I'm going to finish the job.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
//-- PLAYER: You've got nothing to worry about.
boolean hasResponse1 = false;
if (tatooine_privateer_tier3_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_a4c5fb69");
if (hasResponse1)
responses [responseIndex++] = new string_id (c_stringFile, "s_461e9b3f");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 23);
npcStartConversation (player, npc, "tatooine_privateer_tier3", message, responses);
}
else
{
chat.chat (npc, player, message);
}
return SCRIPT_CONTINUE;
}
//-- [NOTE] You failed quest four. You must start over.
if (tatooine_privateer_tier3_condition_failedQuestFour (player, npc))
{
doAnimationAction (npc, "offer_affection");
//-- NPC: Oh hi!
string_id message = new string_id (c_stringFile, "s_c59afc3a");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Um...hi.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
//-- PLAYER: I know, I know.
boolean hasResponse1 = false;
if (tatooine_privateer_tier3_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_fbe476b0");
if (hasResponse1)
responses [responseIndex++] = new string_id (c_stringFile, "s_601fa39");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 27);
npcStartConversation (player, npc, "tatooine_privateer_tier3", message, responses);
}
else
{
chat.chat (npc, player, message);
}
return SCRIPT_CONTINUE;
}
//-- [NOTE] You are here to collect your reward for quest one, so here it is!
if (tatooine_privateer_tier3_condition_collectingQuestOneReward (player, npc))
{
doAnimationAction (npc, "salute1");
tatooine_privateer_tier3_action_rewardForQuestOne (player, npc);
//-- NPC: I salute you, %TU, for your brave and loyal service! Jabba is always generous with his employees. He'd like to offer you a training session. Isn't that nice?
string_id message = new string_id (c_stringFile, "s_ea4e584a");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: What am I going to learn?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_529");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 32);
prose_package pp = new prose_package ();
pp.stringId = message;
pp.actor.set (player);
pp.target.set (npc);
npcStartConversation (player, npc, "tatooine_privateer_tier3", 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;
}
//-- [NOTE] You are here to collect your reward for quest two, so here it is!
if (tatooine_privateer_tier3_condition_collectingQuestTwoReward (player, npc))
{
doAnimationAction (npc, "clap_rousing");
tatooine_privateer_tier3_action_rewardForQuestTwo (player, npc);
//-- NPC: The winner gets the toys. And you're the winner! Time for more training!
string_id message = new string_id (c_stringFile, "s_3f262d6b");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: What am I going to learn?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_529");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 32);
npcStartConversation (player, npc, "tatooine_privateer_tier3", message, responses);
}
else
{
chat.chat (npc, player, message);
}
return SCRIPT_CONTINUE;
}
//-- [NOTE] You are here to collect your reward for quest three, so here it is!
if (tatooine_privateer_tier3_condition_collectingQuestThreeReward (player, npc))
{
doAnimationAction (npc, "applause_excited");
tatooine_privateer_tier3_action_rewardForQuestThree (player, npc);
//-- NPC: The VIPs have all arrived safely. There is going to be a party at the Palace tonight. And what's a party without party favors? The first one's for you. Here, have some more training.
string_id message = new string_id (c_stringFile, "s_22f30f4c");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: What am I going to learn?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_529");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 32);
npcStartConversation (player, npc, "tatooine_privateer_tier3", message, responses);
}
else
{
chat.chat (npc, player, message);
}
return SCRIPT_CONTINUE;
}
//-- [NOTE] You are here to collect your reward for quest four, so here it is!
if (tatooine_privateer_tier3_condition_collectingQuestFourReward (player, npc))
{
doAnimationAction (npc, "listen");
tatooine_privateer_tier3_action_rewardForQuestFour (player, npc);
//-- NPC: Who wants more training?
string_id message = new string_id (c_stringFile, "s_bcb460ff");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: What am I going to learn?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_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_529");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 32);
npcStartConversation (player, npc, "tatooine_privateer_tier3", message, responses);
}
else
{
chat.chat (npc, player, message);
}
return SCRIPT_CONTINUE;
}
//-- [NOTE] You haven't done quest one yet, so go do it.
if (!tatooine_privateer_tier3_condition_hasCompletedQuestOne (player, npc))
{
doAnimationAction (npc, "salute1");
//-- NPC: So YOU'RE the fool!
string_id message = new string_id (c_stringFile, "s_da70d826");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Have we met?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
//-- PLAYER: You're hurting my feelings.
boolean hasResponse1 = false;
if (tatooine_privateer_tier3_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_9ea143d7");
if (hasResponse1)
responses [responseIndex++] = new string_id (c_stringFile, "s_ea84693");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 40);
npcStartConversation (player, npc, "tatooine_privateer_tier3", message, responses);
}
else
{
chat.chat (npc, player, message);
}
return SCRIPT_CONTINUE;
}
//-- [NOTE] You haven't done quest two yet, so go do it.
if (!tatooine_privateer_tier3_condition_hasCompletedQuestTwo (player, npc))
{
doAnimationAction (npc, "nod_head_once");
//-- NPC: Those Valarians really put up a fight!
string_id message = new string_id (c_stringFile, "s_afa084aa");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: I did my job.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
//-- PLAYER: Was killing them really necessary?
boolean hasResponse1 = false;
if (tatooine_privateer_tier3_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_8255ca09");
if (hasResponse1)
responses [responseIndex++] = new string_id (c_stringFile, "s_db509386");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 86);
npcStartConversation (player, npc, "tatooine_privateer_tier3", message, responses);
}
else
{
chat.chat (npc, player, message);
}
return SCRIPT_CONTINUE;
}
//-- [NOTE] You haven't done quest three yet, so go do it.
if (!tatooine_privateer_tier3_condition_hasCompletedQuestThree (player, npc))
{
doAnimationAction (npc, "applause_polite");
//-- NPC: Here comes a special pilot. Ready for a special mission?
string_id message = new string_id (c_stringFile, "s_2a335ce3");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Of course.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
//-- PLAYER: I'm ready to find out more about this Dathomir situation.
boolean hasResponse1 = false;
if (tatooine_privateer_tier3_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_52917b0d");
if (hasResponse1)
responses [responseIndex++] = new string_id (c_stringFile, "s_1b6a5a1c");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 154);
npcStartConversation (player, npc, "tatooine_privateer_tier3", message, responses);
}
else
{
chat.chat (npc, player, message);
}
return SCRIPT_CONTINUE;
}
//-- [NOTE] You haven't done quest four yet, so go do it.
if (!tatooine_privateer_tier3_condition_hasCompletedQuestFour (player, npc))
{
//-- NPC: How did you like Jabba's party guests?
string_id message = new string_id (c_stringFile, "s_f390de3b");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: They were almost as disgusting as Jabba.
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
//-- PLAYER: Who? I've already forgotten them. Give me a mission.
boolean hasResponse1 = false;
if (tatooine_privateer_tier3_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_e2b3bd3d");
if (hasResponse1)
responses [responseIndex++] = new string_id (c_stringFile, "s_9ef8ae7d");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 175);
npcStartConversation (player, npc, "tatooine_privateer_tier3", message, responses);
}
else
{
chat.chat (npc, player, message);
}
return SCRIPT_CONTINUE;
}
//-- [NOTE] You must have completed tier3 completely. Hope you have all your skills! Now I will tell you to go talk to a tier-4 guy.
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
//-- NPC: Guess what, %TU. Jabba's sending you somewhere else.
string_id message = new string_id (c_stringFile, "s_82751e5b");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Does that mean we aren't going to work together any more?
boolean hasResponse0 = false;
if (tatooine_privateer_tier3_condition__defaultCondition (player, npc))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
//-- PLAYER: Oh no!
boolean hasResponse1 = false;
if (tatooine_privateer_tier3_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_cc1cb635");
if (hasResponse1)
responses [responseIndex++] = new string_id (c_stringFile, "s_249fa88e");
utils.setScriptVar (player, "conversation.tatooine_privateer_tier3.branchId", 198);
prose_package pp = new prose_package ();
pp.stringId = message;
pp.actor.set (player);
pp.target.set (npc);
npcStartConversation (player, npc, "tatooine_privateer_tier3", 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;
}
chat.chat (npc, "Error: All conditions for OnStartNpcConversation were false.");
return SCRIPT_CONTINUE;
}
// ----------------------------------------------------------------------
trigger OnNpcConversationResponse (string conversationId, obj_id player, string_id response)
{
if (conversationId != "tatooine_privateer_tier3")
return SCRIPT_CONTINUE;
obj_id npc = self;
int branchId = utils.getIntScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
if (branchId == 2 && tatooine_privateer_tier3_handleBranch2 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 4 && tatooine_privateer_tier3_handleBranch4 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 7 && tatooine_privateer_tier3_handleBranch7 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 9 && tatooine_privateer_tier3_handleBranch9 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 11 && tatooine_privateer_tier3_handleBranch11 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 12 && tatooine_privateer_tier3_handleBranch12 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 14 && tatooine_privateer_tier3_handleBranch14 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 15 && tatooine_privateer_tier3_handleBranch15 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 16 && tatooine_privateer_tier3_handleBranch16 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 18 && tatooine_privateer_tier3_handleBranch18 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 19 && tatooine_privateer_tier3_handleBranch19 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 21 && tatooine_privateer_tier3_handleBranch21 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 23 && tatooine_privateer_tier3_handleBranch23 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 24 && tatooine_privateer_tier3_handleBranch24 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 27 && tatooine_privateer_tier3_handleBranch27 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 28 && tatooine_privateer_tier3_handleBranch28 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 30 && tatooine_privateer_tier3_handleBranch30 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 32 && tatooine_privateer_tier3_handleBranch32 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 37 && tatooine_privateer_tier3_handleBranch37 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 38 && tatooine_privateer_tier3_handleBranch38 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 39 && tatooine_privateer_tier3_handleBranch39 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 40 && tatooine_privateer_tier3_handleBranch40 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 41 && tatooine_privateer_tier3_handleBranch41 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 42 && tatooine_privateer_tier3_handleBranch42 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 43 && tatooine_privateer_tier3_handleBranch43 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 44 && tatooine_privateer_tier3_handleBranch44 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 45 && tatooine_privateer_tier3_handleBranch45 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 46 && tatooine_privateer_tier3_handleBranch46 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 47 && tatooine_privateer_tier3_handleBranch47 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 48 && tatooine_privateer_tier3_handleBranch48 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 49 && tatooine_privateer_tier3_handleBranch49 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 50 && tatooine_privateer_tier3_handleBranch50 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 51 && tatooine_privateer_tier3_handleBranch51 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 52 && tatooine_privateer_tier3_handleBranch52 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 53 && tatooine_privateer_tier3_handleBranch53 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 54 && tatooine_privateer_tier3_handleBranch54 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 56 && tatooine_privateer_tier3_handleBranch56 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 57 && tatooine_privateer_tier3_handleBranch57 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 58 && tatooine_privateer_tier3_handleBranch58 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 59 && tatooine_privateer_tier3_handleBranch59 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 60 && tatooine_privateer_tier3_handleBranch60 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 61 && tatooine_privateer_tier3_handleBranch61 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 62 && tatooine_privateer_tier3_handleBranch62 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 63 && tatooine_privateer_tier3_handleBranch63 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 64 && tatooine_privateer_tier3_handleBranch64 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 66 && tatooine_privateer_tier3_handleBranch66 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 67 && tatooine_privateer_tier3_handleBranch67 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 68 && tatooine_privateer_tier3_handleBranch68 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 69 && tatooine_privateer_tier3_handleBranch69 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 70 && tatooine_privateer_tier3_handleBranch70 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 71 && tatooine_privateer_tier3_handleBranch71 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 72 && tatooine_privateer_tier3_handleBranch72 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 73 && tatooine_privateer_tier3_handleBranch73 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 74 && tatooine_privateer_tier3_handleBranch74 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 75 && tatooine_privateer_tier3_handleBranch75 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 77 && tatooine_privateer_tier3_handleBranch77 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 78 && tatooine_privateer_tier3_handleBranch78 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 79 && tatooine_privateer_tier3_handleBranch79 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 80 && tatooine_privateer_tier3_handleBranch80 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 81 && tatooine_privateer_tier3_handleBranch81 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 82 && tatooine_privateer_tier3_handleBranch82 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 83 && tatooine_privateer_tier3_handleBranch83 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 84 && tatooine_privateer_tier3_handleBranch84 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 86 && tatooine_privateer_tier3_handleBranch86 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 87 && tatooine_privateer_tier3_handleBranch87 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 88 && tatooine_privateer_tier3_handleBranch88 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 89 && tatooine_privateer_tier3_handleBranch89 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 90 && tatooine_privateer_tier3_handleBranch90 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 91 && tatooine_privateer_tier3_handleBranch91 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 92 && tatooine_privateer_tier3_handleBranch92 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 93 && tatooine_privateer_tier3_handleBranch93 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 94 && tatooine_privateer_tier3_handleBranch94 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 95 && tatooine_privateer_tier3_handleBranch95 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 96 && tatooine_privateer_tier3_handleBranch96 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 97 && tatooine_privateer_tier3_handleBranch97 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 98 && tatooine_privateer_tier3_handleBranch98 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 99 && tatooine_privateer_tier3_handleBranch99 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 100 && tatooine_privateer_tier3_handleBranch100 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 101 && tatooine_privateer_tier3_handleBranch101 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 103 && tatooine_privateer_tier3_handleBranch103 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 104 && tatooine_privateer_tier3_handleBranch104 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 105 && tatooine_privateer_tier3_handleBranch105 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 106 && tatooine_privateer_tier3_handleBranch106 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 107 && tatooine_privateer_tier3_handleBranch107 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 108 && tatooine_privateer_tier3_handleBranch108 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 109 && tatooine_privateer_tier3_handleBranch109 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 111 && tatooine_privateer_tier3_handleBranch111 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 112 && tatooine_privateer_tier3_handleBranch112 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 113 && tatooine_privateer_tier3_handleBranch113 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 114 && tatooine_privateer_tier3_handleBranch114 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 115 && tatooine_privateer_tier3_handleBranch115 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 116 && tatooine_privateer_tier3_handleBranch116 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 117 && tatooine_privateer_tier3_handleBranch117 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 118 && tatooine_privateer_tier3_handleBranch118 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 119 && tatooine_privateer_tier3_handleBranch119 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 120 && tatooine_privateer_tier3_handleBranch120 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 121 && tatooine_privateer_tier3_handleBranch121 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 123 && tatooine_privateer_tier3_handleBranch123 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 124 && tatooine_privateer_tier3_handleBranch124 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 125 && tatooine_privateer_tier3_handleBranch125 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 126 && tatooine_privateer_tier3_handleBranch126 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 127 && tatooine_privateer_tier3_handleBranch127 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 128 && tatooine_privateer_tier3_handleBranch128 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 129 && tatooine_privateer_tier3_handleBranch129 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 131 && tatooine_privateer_tier3_handleBranch131 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 132 && tatooine_privateer_tier3_handleBranch132 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 133 && tatooine_privateer_tier3_handleBranch133 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 134 && tatooine_privateer_tier3_handleBranch134 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 135 && tatooine_privateer_tier3_handleBranch135 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 136 && tatooine_privateer_tier3_handleBranch136 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 137 && tatooine_privateer_tier3_handleBranch137 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 138 && tatooine_privateer_tier3_handleBranch138 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 139 && tatooine_privateer_tier3_handleBranch139 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 140 && tatooine_privateer_tier3_handleBranch140 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 141 && tatooine_privateer_tier3_handleBranch141 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 142 && tatooine_privateer_tier3_handleBranch142 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 143 && tatooine_privateer_tier3_handleBranch143 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 144 && tatooine_privateer_tier3_handleBranch144 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 146 && tatooine_privateer_tier3_handleBranch146 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 147 && tatooine_privateer_tier3_handleBranch147 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 148 && tatooine_privateer_tier3_handleBranch148 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 149 && tatooine_privateer_tier3_handleBranch149 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 150 && tatooine_privateer_tier3_handleBranch150 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 151 && tatooine_privateer_tier3_handleBranch151 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 152 && tatooine_privateer_tier3_handleBranch152 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 154 && tatooine_privateer_tier3_handleBranch154 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 155 && tatooine_privateer_tier3_handleBranch155 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 156 && tatooine_privateer_tier3_handleBranch156 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 157 && tatooine_privateer_tier3_handleBranch157 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 158 && tatooine_privateer_tier3_handleBranch158 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 159 && tatooine_privateer_tier3_handleBranch159 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 160 && tatooine_privateer_tier3_handleBranch160 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 161 && tatooine_privateer_tier3_handleBranch161 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 162 && tatooine_privateer_tier3_handleBranch162 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 163 && tatooine_privateer_tier3_handleBranch163 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 165 && tatooine_privateer_tier3_handleBranch165 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 166 && tatooine_privateer_tier3_handleBranch166 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 167 && tatooine_privateer_tier3_handleBranch167 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 168 && tatooine_privateer_tier3_handleBranch168 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 169 && tatooine_privateer_tier3_handleBranch169 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 170 && tatooine_privateer_tier3_handleBranch170 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 171 && tatooine_privateer_tier3_handleBranch171 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 172 && tatooine_privateer_tier3_handleBranch172 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 173 && tatooine_privateer_tier3_handleBranch173 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 175 && tatooine_privateer_tier3_handleBranch175 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 176 && tatooine_privateer_tier3_handleBranch176 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 177 && tatooine_privateer_tier3_handleBranch177 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 178 && tatooine_privateer_tier3_handleBranch178 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 179 && tatooine_privateer_tier3_handleBranch179 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 180 && tatooine_privateer_tier3_handleBranch180 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 181 && tatooine_privateer_tier3_handleBranch181 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 182 && tatooine_privateer_tier3_handleBranch182 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 183 && tatooine_privateer_tier3_handleBranch183 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 184 && tatooine_privateer_tier3_handleBranch184 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 185 && tatooine_privateer_tier3_handleBranch185 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 186 && tatooine_privateer_tier3_handleBranch186 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 188 && tatooine_privateer_tier3_handleBranch188 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 189 && tatooine_privateer_tier3_handleBranch189 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 190 && tatooine_privateer_tier3_handleBranch190 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 191 && tatooine_privateer_tier3_handleBranch191 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 192 && tatooine_privateer_tier3_handleBranch192 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 193 && tatooine_privateer_tier3_handleBranch193 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 194 && tatooine_privateer_tier3_handleBranch194 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 195 && tatooine_privateer_tier3_handleBranch195 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 196 && tatooine_privateer_tier3_handleBranch196 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 198 && tatooine_privateer_tier3_handleBranch198 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 199 && tatooine_privateer_tier3_handleBranch199 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
if (branchId == 201 && tatooine_privateer_tier3_handleBranch201 (player, npc, response) == SCRIPT_CONTINUE)
return SCRIPT_CONTINUE;
chat.chat (npc, "Error: Fell through all branches and responses for OnNpcConversationResponse.");
utils.removeScriptVar (player, "conversation.tatooine_privateer_tier3.branchId");
return SCRIPT_CONTINUE;
}
// ======================================================================