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

754 lines
26 KiB
Plaintext

// ======================================================================
//
// biogenic_herald_03.script
//
//
//
// DO NOT EDIT THIS AUTO-GENERATED FILE. PLEASE USE THE CONVERATION EDITOR!
//
// ======================================================================
// ======================================================================
// Library Includes
// ======================================================================
include library.ai_lib;
include library.chat;
include library.factions;
// ======================================================================
// Script Constants
// ======================================================================
string c_stringFile = "conversation/biogenic_herald_03";
// ======================================================================
// Script Conditions
// ======================================================================
boolean biogenic_herald_03_condition__defaultCondition (obj_id player, obj_id npc)
{
return true;
}
// ----------------------------------------------------------------------
boolean biogenic_herald_03_condition_not_rebel (obj_id player, obj_id npc)
{
string playerFaction = factions.getFaction(player);
if(playerFaction == null || playerFaction == "") {
playerFaction = "neutral";
}
if(!playerFaction.equals(factions.FACTION_REBEL)) {
return true;
}
return false;
}
// ======================================================================
// Script Actions
// ======================================================================
void biogenic_herald_03_action__defaultAction (obj_id player, obj_id npc)
{
}
// ----------------------------------------------------------------------
void biogenic_herald_03_action_face_to (obj_id player, obj_id npc)
{
faceTo(npc, player);
}
// ======================================================================
// User Script Triggers
// ======================================================================
trigger OnInitialize ()
{
if ((!isMob (self)) || (isPlayer (self)))
detachScript(self, "npc.conversation.biogenic_herald_03");
setCondition (self, CONDITION_CONVERSABLE);
setInvulnerable (self, true);
return SCRIPT_CONTINUE;
}
trigger OnAttach ()
{
setCondition (self, CONDITION_CONVERSABLE);
setInvulnerable (self, true);
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);
setCondition (self, CONDITION_CONVERSABLE);
return SCRIPT_CONTINUE;
}
trigger OnIncapacitated (obj_id killer)
{
clearCondition (self, CONDITION_CONVERSABLE);
detachScript (self, "npc.conversation.biogenic_herald_03");
return SCRIPT_CONTINUE;
}
// ======================================================================
// Script Triggers
// ======================================================================
trigger OnStartNpcConversation (obj_id player)
{
if (ai_lib.isInCombat (self) || ai_lib.isInCombat (player))
return SCRIPT_OVERRIDE;
//-- [NOTE]
if (biogenic_herald_03_condition_not_rebel (player, self))
{
biogenic_herald_03_action_face_to (player, self);
//-- NPC: Hello. How are you doing today?
string_id message = new string_id (c_stringFile, "s_ededde72");
chat.chat (self, message);
return SCRIPT_CONTINUE;
}
//-- [NOTE]
if (biogenic_herald_03_condition__defaultCondition (player, self))
{
biogenic_herald_03_action_face_to (player, self);
//-- NPC: Hello. You are sympathetic to the Rebellion are you not? I have information that may be of interest to you if you are willing to hear it.
string_id message = new string_id (c_stringFile, "s_569d6129");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Sure, tell me what you know.
boolean hasResponse0 = false;
if (biogenic_herald_03_condition__defaultCondition (player, self))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
//-- PLAYER: I don't have time now, I'm sorry.
boolean hasResponse1 = false;
if (biogenic_herald_03_condition__defaultCondition (player, self))
{
++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_c2f063ae");
if (hasResponse1)
responses [responseIndex++] = new string_id (c_stringFile, "s_e35ee05f");
setObjVar (player, "conversation.biogenic_herald_03.branchId", 2);
npcStartConversation (player, self, "biogenic_herald_03", message, responses);
}
else
{
chat.chat (self, message);
}
return SCRIPT_CONTINUE;
}
chat.chat (self, "Error: All conditions for OnStartNpcConversation were false.");
return SCRIPT_CONTINUE;
}
// ----------------------------------------------------------------------
trigger OnNpcConversationResponse (string conversationId, obj_id player, string_id response)
{
if (conversationId != "biogenic_herald_03")
return SCRIPT_CONTINUE;
int branchId = getIntObjVar (player, "conversation.biogenic_herald_03.branchId");
//-- [BRANCH NOTE]
//-- NPC: Hello. You are sympathetic to the Rebellion are you not? I have information that may be of interest to you if you are willing to hear it.
//-- [RESPONSE NOTE]
//-- PLAYER: Sure, tell me what you know.
if (branchId == 2 && response == "s_c2f063ae")
{
//-- [NOTE]
if (biogenic_herald_03_condition__defaultCondition (player, self))
{
//-- NPC: Well, a couple of Imperial types were in here not long ago, and I overheard their conversation. It sounded like they were talking about something going down on Yavin IV.
string_id message = new string_id (c_stringFile, "s_7fd67d96");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Did they say what was happening?
boolean hasResponse0 = false;
if (biogenic_herald_03_condition__defaultCondition (player, self))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
//-- PLAYER: I'm sorry, but I've got to go.
boolean hasResponse1 = false;
if (biogenic_herald_03_condition__defaultCondition (player, self))
{
++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_9e41444d");
if (hasResponse1)
responses [responseIndex++] = new string_id (c_stringFile, "s_b3ba542c");
setObjVar (player, "conversation.biogenic_herald_03.branchId", 3);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
removeObjVar (player, "conversation.biogenic_herald_03.branchId");
npcSpeak (player, message);
npcEndConversation (player);
}
return SCRIPT_CONTINUE;
}
chat.chat (self, "Error: All conditions for OnNpcConversationResponse for branch 'Hello. You are sympathetic to the Rebellion are you not? I have information that may be of interest to you if you are willing to hear it.' were false.");
return SCRIPT_CONTINUE;
}
//-- [BRANCH NOTE]
//-- NPC: Hello. You are sympathetic to the Rebellion are you not? I have information that may be of interest to you if you are willing to hear it.
//-- [RESPONSE NOTE]
//-- PLAYER: I don't have time now, I'm sorry.
if (branchId == 2 && response == "s_e35ee05f")
{
//-- [NOTE]
if (biogenic_herald_03_condition__defaultCondition (player, self))
{
//-- NPC: Sure, sure, I understand. I'll still be here if you get a chance to come back.
string_id message = new string_id (c_stringFile, "s_8ae9c189");
removeObjVar (player, "conversation.biogenic_herald_03.branchId");
npcSpeak (player, message);
npcEndConversation (player);
return SCRIPT_CONTINUE;
}
chat.chat (self, "Error: All conditions for OnNpcConversationResponse for branch 'Hello. You are sympathetic to the Rebellion are you not? I have information that may be of interest to you if you are willing to hear it.' were false.");
return SCRIPT_CONTINUE;
}
//-- [BRANCH NOTE]
//-- NPC: Well, a couple of Imperial types were in here not long ago, and I overheard their conversation. It sounded like they were talking about something going down on Yavin IV.
//-- [RESPONSE NOTE]
//-- PLAYER: Did they say what was happening?
if (branchId == 3 && response == "s_9e41444d")
{
//-- [NOTE]
if (biogenic_herald_03_condition__defaultCondition (player, self))
{
//-- NPC: I didn't catch everything that they were saying, but I did hear something about an Imperial agent overseeing a bio-genetics research facility. And something about... Geo, uh... Geonosians, yea. That's it.
string_id message = new string_id (c_stringFile, "s_1711fd92");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Did they mention where the facility is?
boolean hasResponse0 = false;
if (biogenic_herald_03_condition__defaultCondition (player, self))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
//-- PLAYER: What else did they say?
boolean hasResponse1 = false;
if (biogenic_herald_03_condition__defaultCondition (player, self))
{
++numberOfResponses;
hasResponse = true;
hasResponse1 = true;
}
//-- PLAYER: Thanks for the information. Good-bye.
boolean hasResponse2 = false;
if (biogenic_herald_03_condition__defaultCondition (player, self))
{
++numberOfResponses;
hasResponse = true;
hasResponse2 = true;
}
if (hasResponse)
{
int responseIndex = 0;
string_id responses [] = new string_id [numberOfResponses];
if (hasResponse0)
responses [responseIndex++] = new string_id (c_stringFile, "s_2b10b66c");
if (hasResponse1)
responses [responseIndex++] = new string_id (c_stringFile, "s_f8365ece");
if (hasResponse2)
responses [responseIndex++] = new string_id (c_stringFile, "s_1b751405");
setObjVar (player, "conversation.biogenic_herald_03.branchId", 4);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
removeObjVar (player, "conversation.biogenic_herald_03.branchId");
npcSpeak (player, message);
npcEndConversation (player);
}
return SCRIPT_CONTINUE;
}
chat.chat (self, "Error: All conditions for OnNpcConversationResponse for branch 'Well, a couple of Imperial types were in here not long ago, and I overheard their conversation. It sounded like they were talking about something going down on Yavin IV.' were false.");
return SCRIPT_CONTINUE;
}
//-- [BRANCH NOTE]
//-- NPC: Well, a couple of Imperial types were in here not long ago, and I overheard their conversation. It sounded like they were talking about something going down on Yavin IV.
//-- [RESPONSE NOTE]
//-- PLAYER: I'm sorry, but I've got to go.
if (branchId == 3 && response == "s_b3ba542c")
{
//-- [NOTE]
if (biogenic_herald_03_condition__defaultCondition (player, self))
{
//-- NPC: Sure, sure, I understand. I'll still be here if you get a chance to come back.
string_id message = new string_id (c_stringFile, "s_8ae9c189");
removeObjVar (player, "conversation.biogenic_herald_03.branchId");
npcSpeak (player, message);
npcEndConversation (player);
return SCRIPT_CONTINUE;
}
chat.chat (self, "Error: All conditions for OnNpcConversationResponse for branch 'Well, a couple of Imperial types were in here not long ago, and I overheard their conversation. It sounded like they were talking about something going down on Yavin IV.' were false.");
return SCRIPT_CONTINUE;
}
//-- [BRANCH NOTE]
//-- NPC: I didn't catch everything that they were saying, but I did hear something about an Imperial agent overseeing a bio-genetics research facility. And something about... Geo, uh... Geonosians, yea. That's it.
//-- [RESPONSE NOTE]
//-- PLAYER: Did they mention where the facility is?
if (branchId == 4 && response == "s_2b10b66c")
{
//-- [NOTE]
if (biogenic_herald_03_condition__defaultCondition (player, self))
{
//-- NPC: No, they didn't. In fact, I don't even think they know where it is exactly. Sounds like it's a big secret, but they said something about asking the locals. Something about a Mining Outpost, too.
string_id message = new string_id (c_stringFile, "s_d6d8b3ab");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: What else did they say?
boolean hasResponse0 = false;
if (biogenic_herald_03_condition__defaultCondition (player, self))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
//-- PLAYER: Thanks for the information. Good-bye.
boolean hasResponse1 = false;
if (biogenic_herald_03_condition__defaultCondition (player, self))
{
++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_f8365ece");
if (hasResponse1)
responses [responseIndex++] = new string_id (c_stringFile, "s_1b751405");
setObjVar (player, "conversation.biogenic_herald_03.branchId", 5);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
removeObjVar (player, "conversation.biogenic_herald_03.branchId");
npcSpeak (player, message);
npcEndConversation (player);
}
return SCRIPT_CONTINUE;
}
chat.chat (self, "Error: All conditions for OnNpcConversationResponse for branch 'I didn't catch everything that they were saying, but I did hear something about an Imperial agent overseeing a bio-genetics research facility. And something about... Geo, uh... Geonosians, yea. That's it.' were false.");
return SCRIPT_CONTINUE;
}
//-- [BRANCH NOTE]
//-- NPC: I didn't catch everything that they were saying, but I did hear something about an Imperial agent overseeing a bio-genetics research facility. And something about... Geo, uh... Geonosians, yea. That's it.
//-- [RESPONSE NOTE]
//-- PLAYER: What else did they say?
if (branchId == 4 && response == "s_f8365ece")
{
//-- [NOTE]
if (biogenic_herald_03_condition__defaultCondition (player, self))
{
//-- NPC: I'm really not sure. It got a little loud in here and I couldn't make out what they were saying, but one of them looked really mad. If you ask me something big is about to go down.
string_id message = new string_id (c_stringFile, "s_2991cadd");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Did they mention where the facility is?
boolean hasResponse0 = false;
if (biogenic_herald_03_condition__defaultCondition (player, self))
{
++numberOfResponses;
hasResponse = true;
hasResponse0 = true;
}
//-- PLAYER: Thanks for the information. Good-bye.
boolean hasResponse1 = false;
if (biogenic_herald_03_condition__defaultCondition (player, self))
{
++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_2b10b66c");
if (hasResponse1)
responses [responseIndex++] = new string_id (c_stringFile, "s_1b751405");
setObjVar (player, "conversation.biogenic_herald_03.branchId", 9);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
removeObjVar (player, "conversation.biogenic_herald_03.branchId");
npcSpeak (player, message);
npcEndConversation (player);
}
return SCRIPT_CONTINUE;
}
chat.chat (self, "Error: All conditions for OnNpcConversationResponse for branch 'I didn't catch everything that they were saying, but I did hear something about an Imperial agent overseeing a bio-genetics research facility. And something about... Geo, uh... Geonosians, yea. That's it.' were false.");
return SCRIPT_CONTINUE;
}
//-- [BRANCH NOTE]
//-- NPC: I didn't catch everything that they were saying, but I did hear something about an Imperial agent overseeing a bio-genetics research facility. And something about... Geo, uh... Geonosians, yea. That's it.
//-- [RESPONSE NOTE]
//-- PLAYER: Thanks for the information. Good-bye.
if (branchId == 4 && response == "s_1b751405")
{
//-- [NOTE]
if (biogenic_herald_03_condition__defaultCondition (player, self))
{
//-- NPC: My pleasure. Take care!
string_id message = new string_id (c_stringFile, "s_a5ee5a5b");
removeObjVar (player, "conversation.biogenic_herald_03.branchId");
npcSpeak (player, message);
npcEndConversation (player);
return SCRIPT_CONTINUE;
}
chat.chat (self, "Error: All conditions for OnNpcConversationResponse for branch 'I didn't catch everything that they were saying, but I did hear something about an Imperial agent overseeing a bio-genetics research facility. And something about... Geo, uh... Geonosians, yea. That's it.' were false.");
return SCRIPT_CONTINUE;
}
//-- [BRANCH NOTE]
//-- NPC: No, they didn't. In fact, I don't even think they know where it is exactly. Sounds like it's a big secret, but they said something about asking the locals. Something about a Mining Outpost, too.
//-- [RESPONSE NOTE]
//-- PLAYER: What else did they say?
if (branchId == 5 && response == "s_f8365ece")
{
//-- [NOTE]
if (biogenic_herald_03_condition__defaultCondition (player, self))
{
//-- NPC: I'm really not sure. It got a little loud in here and I couldn't make out what they were saying, but one of them looked really mad. If you ask me something big is about to go down.
string_id message = new string_id (c_stringFile, "s_2991cadd");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Thanks for the information. Good-bye.
boolean hasResponse0 = false;
if (biogenic_herald_03_condition__defaultCondition (player, self))
{
++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_1b751405");
setObjVar (player, "conversation.biogenic_herald_03.branchId", 6);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
removeObjVar (player, "conversation.biogenic_herald_03.branchId");
npcSpeak (player, message);
npcEndConversation (player);
}
return SCRIPT_CONTINUE;
}
chat.chat (self, "Error: All conditions for OnNpcConversationResponse for branch 'No, they didn't. In fact, I don't even think they know where it is exactly. Sounds like it's a big secret, but they said something about asking the locals. Something about a Mining Outpost, too.' were false.");
return SCRIPT_CONTINUE;
}
//-- [BRANCH NOTE]
//-- NPC: No, they didn't. In fact, I don't even think they know where it is exactly. Sounds like it's a big secret, but they said something about asking the locals. Something about a Mining Outpost, too.
//-- [RESPONSE NOTE]
//-- PLAYER: Thanks for the information. Good-bye.
if (branchId == 5 && response == "s_1b751405")
{
//-- [NOTE]
if (biogenic_herald_03_condition__defaultCondition (player, self))
{
//-- NPC: My pleasure. If it sounds like something you want to look into, you might like to ask around that Mining Outpost on Yavin IV yourself.
string_id message = new string_id (c_stringFile, "s_5ea784e0");
removeObjVar (player, "conversation.biogenic_herald_03.branchId");
npcSpeak (player, message);
npcEndConversation (player);
return SCRIPT_CONTINUE;
}
chat.chat (self, "Error: All conditions for OnNpcConversationResponse for branch 'No, they didn't. In fact, I don't even think they know where it is exactly. Sounds like it's a big secret, but they said something about asking the locals. Something about a Mining Outpost, too.' were false.");
return SCRIPT_CONTINUE;
}
//-- [BRANCH NOTE]
//-- NPC: I'm really not sure. It got a little loud in here and I couldn't make out what they were saying, but one of them looked really mad. If you ask me something big is about to go down.
//-- [RESPONSE NOTE]
//-- PLAYER: Thanks for the information. Good-bye.
if (branchId == 6 && response == "s_1b751405")
{
//-- [NOTE]
if (biogenic_herald_03_condition__defaultCondition (player, self))
{
//-- NPC: My pleasure. If it sounds like something you want to look into, you might like to ask around that Mining Outpost on Yavin IV yourself.
string_id message = new string_id (c_stringFile, "s_5ea784e0");
removeObjVar (player, "conversation.biogenic_herald_03.branchId");
npcSpeak (player, message);
npcEndConversation (player);
return SCRIPT_CONTINUE;
}
chat.chat (self, "Error: All conditions for OnNpcConversationResponse for branch 'I'm really not sure. It got a little loud in here and I couldn't make out what they were saying, but one of them looked really mad. If you ask me something big is about to go down.' were false.");
return SCRIPT_CONTINUE;
}
//-- [BRANCH NOTE]
//-- NPC: I'm really not sure. It got a little loud in here and I couldn't make out what they were saying, but one of them looked really mad. If you ask me something big is about to go down.
//-- [RESPONSE NOTE]
//-- PLAYER: Did they mention where the facility is?
if (branchId == 9 && response == "s_2b10b66c")
{
//-- [NOTE]
if (biogenic_herald_03_condition__defaultCondition (player, self))
{
//-- NPC: No, they didn't. In fact, I don't even think they know where it is exactly, except for on Yavin IV. Sounds like it's a big secret, but they said something about asking the locals. Something about a Mining Outpost, too.
string_id message = new string_id (c_stringFile, "s_3d816e72");
int numberOfResponses = 0;
boolean hasResponse = false;
//-- PLAYER: Thanks for the information. Good-bye.
boolean hasResponse0 = false;
if (biogenic_herald_03_condition__defaultCondition (player, self))
{
++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_1b751405");
setObjVar (player, "conversation.biogenic_herald_03.branchId", 10);
npcSpeak (player, message);
npcSetConversationResponses (player, responses);
}
else
{
removeObjVar (player, "conversation.biogenic_herald_03.branchId");
npcSpeak (player, message);
npcEndConversation (player);
}
return SCRIPT_CONTINUE;
}
chat.chat (self, "Error: All conditions for OnNpcConversationResponse for branch 'I'm really not sure. It got a little loud in here and I couldn't make out what they were saying, but one of them looked really mad. If you ask me something big is about to go down.' were false.");
return SCRIPT_CONTINUE;
}
//-- [BRANCH NOTE]
//-- NPC: I'm really not sure. It got a little loud in here and I couldn't make out what they were saying, but one of them looked really mad. If you ask me something big is about to go down.
//-- [RESPONSE NOTE]
//-- PLAYER: Thanks for the information. Good-bye.
if (branchId == 9 && response == "s_1b751405")
{
//-- [NOTE]
if (biogenic_herald_03_condition__defaultCondition (player, self))
{
//-- NPC: My pleasure. Take care!
string_id message = new string_id (c_stringFile, "s_a5ee5a5b");
removeObjVar (player, "conversation.biogenic_herald_03.branchId");
npcSpeak (player, message);
npcEndConversation (player);
return SCRIPT_CONTINUE;
}
chat.chat (self, "Error: All conditions for OnNpcConversationResponse for branch 'I'm really not sure. It got a little loud in here and I couldn't make out what they were saying, but one of them looked really mad. If you ask me something big is about to go down.' were false.");
return SCRIPT_CONTINUE;
}
//-- [BRANCH NOTE]
//-- NPC: No, they didn't. In fact, I don't even think they know where it is exactly, except for on Yavin IV. Sounds like it's a big secret, but they said something about asking the locals. Something about a Mining Outpost, too.
//-- [RESPONSE NOTE]
//-- PLAYER: Thanks for the information. Good-bye.
if (branchId == 10 && response == "s_1b751405")
{
//-- [NOTE]
if (biogenic_herald_03_condition__defaultCondition (player, self))
{
//-- NPC: My pleasure. If it sounds like something you want to look into, you might like to ask around that Mining Outpost on Yavin IV yourself.
string_id message = new string_id (c_stringFile, "s_5ea784e0");
removeObjVar (player, "conversation.biogenic_herald_03.branchId");
npcSpeak (player, message);
npcEndConversation (player);
return SCRIPT_CONTINUE;
}
chat.chat (self, "Error: All conditions for OnNpcConversationResponse for branch 'No, they didn't. In fact, I don't even think they know where it is exactly, except for on Yavin IV. Sounds like it's a big secret, but they said something about asking the locals. Something about a Mining Outpost, too.' were false.");
return SCRIPT_CONTINUE;
}
chat.chat (self, "Error: Fell through all branches and responses for OnNpcConversationResponse.");
removeObjVar (player, "conversation.biogenic_herald_03.branchId");
return SCRIPT_CONTINUE;
}
// ======================================================================