27 lines
508 B
Plaintext
27 lines
508 B
Plaintext
|
#include "nw_i0_generic"
|
||
|
#include "prc_inc_racial"
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
object oPC = GetLastPerceived();
|
||
|
object oTarget = OBJECT_SELF;
|
||
|
|
||
|
if (!GetIsPC(oPC)) return;
|
||
|
|
||
|
if (!GetLastPerceptionSeen()) return;
|
||
|
|
||
|
if ((MyPRCGetRacialType(oPC)==RACIAL_TYPE_DWARF)||
|
||
|
(MyPRCGetRacialType(oPC)==RACIAL_TYPE_HALFLING)||
|
||
|
(MyPRCGetRacialType(oPC)==RACIAL_TYPE_GNOME))
|
||
|
{
|
||
|
string sDeny="hello friend";
|
||
|
ActionSpeakString(sDeny);
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
string sDeny2="Hmph, Tall folk.......";
|
||
|
ActionSpeakString(sDeny2);
|
||
|
}
|
||
|
}
|