31 lines
775 B
Plaintext
31 lines
775 B
Plaintext
////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Talus Menu on Rest
|
|
// tal_conv_nod
|
|
// OPW Integration and Clean Up By Don Anderson
|
|
// dandersonru@msn.com
|
|
//
|
|
// Used in Rest Menu Conversation
|
|
//
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
|
|
void main()
|
|
{
|
|
object oPC=GetPCSpeaker();
|
|
object oTarg=GetLocalObject(oPC,"targ"+IntToString(GetLocalInt(oPC,"convtarg")));
|
|
|
|
string targname=GetName(oTarg);
|
|
string message;
|
|
string alword;
|
|
|
|
switch(d4())
|
|
{
|
|
case 1:message="*nods*";break;
|
|
case 2:message="*nods to "+targname+"*";break;
|
|
case 3:message="*nods*";break;
|
|
case 4:message="*nods at "+targname+"*";break;
|
|
}
|
|
|
|
AssignCommand(oPC,SpeakString(message,TALKVOLUME_TALK));
|
|
}
|