2 CHARACTER(hunter
, humanoid
)
5 virtual void BeTalkedTo();
7 virtual void CreateBodyParts(int);
15 void hunter::BeTalkedTo()
17 if(GetRelation(PLAYER
) != HOSTILE
&& GetMainWielded() && !(RAND() % 10))
18 ADD_MESSAGE("\"This is my %s. There are many like it but this one is mine. My %s is my best friend.\"", GetMainWielded()->CHAR_NAME(UNARTICLED
), GetMainWielded()->CHAR_NAME(UNARTICLED
));
20 character::BeTalkedTo();
25 void hunter::CreateBodyParts(int SpecialFlags
)
27 for(int c
= 0; c
< BodyParts
; ++c
)
28 if(c
!= LEFT_ARM_INDEX
)
29 CreateBodyPart(c
, SpecialFlags
);
31 SetBodyPart(LEFT_ARM_INDEX
, 0);