2 CHARACTER(raven
, humanoid
)
5 virtual void BeTalkedTo();
7 virtual void GetAICommand();
15 void raven::GetAICommand () {
17 for (int c
= 0; c
< game::GetTeams(); ++c
) {
18 if (GetTeam()->GetRelation(game::GetTeam(c
)) == HOSTILE
) Enemies
+= game::GetTeam(c
)->GetEnabledMembers();
25 void raven::BeTalkedTo () {
26 if (GetRelation(PLAYER
) == HOSTILE
) {
27 ADD_MESSAGE("I bet you are with those filthy Attnamanese bastards!");
30 if (!game::GetRingOfThieves()) {
31 if (PLAYER
->RemoveRingOfThieves()) {
32 game::TextScreen(CONST_S(
33 "You hand over the Ring of Thieves, Raven's eyes glow in amazement.\n"
34 "\"May Cleptia bless this mighty warrior, whom vanquished Vulcan-Loki!\n"
35 "Retrieving the ring is no easy task, Vulcan is a powerful adversary.\n"
36 "The importance of the Ring of Thieves is great. It is used to channel\n"
37 "Cleptia's power to help Mondedr avoid it's enemies, including Petrus.\n"
38 "Without it we would have been raided by every nation that hates us.\n"
39 "Not a mere mortal like Vulcan-Loki could channel the ring's power for\n"
40 "himself so he decided to contract a deal with Oree to assist him.\n"
41 "To reward your efforts I will give you the artifact whip, Gleipnir.\"\n\n"
42 "\"I pray to Cleptia that you will use it well..\"\n\n"""));
43 game::GetGod(CLEPTIA
)->AdjustRelation(500);
44 game::GetGod(NEFAS
)->AdjustRelation(50);
45 game::GetGod(SCABIES
)->AdjustRelation(50);
46 game::GetGod(INFUSCOR
)->AdjustRelation(50);
47 game::GetGod(CRUENTUS
)->AdjustRelation(50);
48 game::GetGod(MORTIFER
)->AdjustRelation(50);
49 meleeweapon
*Weapon
= whipofthievery::Spawn();
50 Weapon
->InitMaterials(MAKE_MATERIAL(SPIDER_SILK
), MAKE_MATERIAL(EBONY_WOOD
), true);
51 PLAYER
->GetGiftStack()->AddItem(Weapon
);
52 GetArea()->SendNewDrawRequest();
53 ADD_MESSAGE("A whip materializes near your feet.");
54 game::SetRingOfThieves(1);
56 ADD_MESSAGE("\"Mondedr's most important artifact, the Ring of Thieves, has been stolen by Vulcan-Loki; residing at the deepest floor of the underground temple, he awaits Oree to receive it and reward him with incredible power.\"");
59 /* StoryState == 100 */
60 ADD_MESSAGE("\"I must thank you again, I hope you make good use of that whip.\"");