2 CHARACTER(housewife
, humanoid
)
5 virtual truth
SpecialEnemySightedReaction(character
*);
7 virtual int GetHairColor() const;
8 virtual v2
GetHeadBitmapPos() const;
16 v2
housewife::GetHeadBitmapPos() const { return v2(112, (RAND() % 6) << 4); }
20 col16
housewife::GetHairColor() const
22 static col16 HouseWifeHairColor
[] = { MakeRGB16(48, 40, 8), MakeRGB16(60, 48, 24), MakeRGB16(200, 0, 0) };
23 return HouseWifeHairColor
[RAND() % 3];
28 truth
housewife::SpecialEnemySightedReaction(character
* Char
)
30 item
* Weapon
= Char
->GetMainWielded();
32 if(Weapon
&& Weapon
->IsWeapon(Char
) && !(RAND() % 5))
33 ADD_MESSAGE("%s screams: \"Oh my Frog, %s's got %s %s!\"", CHAR_DESCRIPTION(DEFINITE
), Char
->CHAR_PERSONAL_PRONOUN_THIRD_PERSON_VIEW
, Weapon
->GetArticle(), Weapon
->GetNameSingular().CStr());