Rune_PRC8/_module/nss/tal_conv_nod.nss
Jaysyn904 d1c309ae63 Initial commit
Initial commit
2024-09-13 09:10:39 -04:00

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));
}