typos
[k8-i-v-a-n.git] / src / game / humans / humanoid_regii.cpp
blob7d8709f585583607489fa537470a298a4b30fd94
1 #ifdef HEADER_PHASE
2 CHARACTER(regii, humanoid)
4 public:
5 virtual void GetAICommand () { StandIdleAI(); }
6 virtual void BeTalkedTo ();
7 //virtual void DisplayStethoscopeInfo (character*) const;
8 };
11 #else
14 void regii::BeTalkedTo () {
15 static sLong Said;
17 if (GetRelation(PLAYER) == HOSTILE) {
18 ProcessAndAddMessage(GetHostileReplies()[RandomizeReply(Said, GetHostileReplies().Size)]);
20 if (!game::GetRegiiTalkState()) {
21 game::TextScreen(CONST_S(
22 "\"I am Regii, of the Unite Tweraif Forest Army, or UTFA for short. And you are?\"\n"
23 "\n"
24 "You tell Regii your name and explain that you have escaped from New Attnam.\n"));
25 game::TextScreen(CONST_S("\"Do you really hate the imperialists?\"\n"));
26 game::TextScreen(CONST_S("\"A lot\" You reply.\n\n"));
27 game::TextScreen(CONST_S(
28 "\"Alright then. From now on, you shall be called\n'")+PLAYER->GetPanelName().CStr()+CONST_S("'\n"
29 " that is called '")+PLAYER->GetPanelName().CStr()+CONST_S("'.\"\n"
30 "Regii saluts you after the fashion of the UTFA.\n\n\n"
31 "\"Now, listen up! We have an upcoming mission, we will be launching a\n"
32 "reconaissance to free some prisoners held in the forest prison.\n"
33 "The prison is operated by goblins and guarded by manifold beasts and\n"
34 "orcs. They have no political reason to operate the prison, other than\n"
35 "the fact that it spins straw into gold.\n"
36 "We have reason to believe that the imperialists pay the goblins to\n"
37 "imprison our brothers and sisters of the formerly independant Tweraif.\""));
38 game::TextScreen(CONST_S(
39 "\"Now the mission is to free the prisoners, but, our intelligence suspects\n"
40 "that important constitutional documents are held within the prison also.\n"
41 "If it is within our power to do so, these should be retrieved and safeguarded.\n"
42 "The assualt on the prison will be achieved by means of a haphazard underground\n"
43 "tunnel whose entry point is located beyond the river. The tunnel terminates\n"
44 "more or less underneath the prison, so that is where the assault will begin.\n"
45 "Free the prisoners, arm them with weapons or otherwise, and fight your way out\n"
46 "of the vicinity of the prison. Members will regroup here after the mission\n"
47 "for a de-brief.\""));
48 GetArea()->SendNewDrawRequest();
49 game::SetRegiiTalkState(1);
50 return;
51 } else {
52 //ADD_MESSAGE("\"How goes your preparation for the mission brother ") + PLAYER->GetPanelName().CStr() + CONST_S("?\"");
53 ProcessAndAddMessage(GetFriendlyReplies()[RandomizeReply(Said, GetFriendlyReplies().Size)]);
58 #endif