Lankhmar_PRC8/_module/nss/drunk_yashamm.nss
Jaysyn904 ebc0c6a9b2 Initial commit
Initial commit [v9.7]
2025-04-03 12:54:47 -04:00

61 lines
1.3 KiB
Plaintext

//::///////////////////////////////////////////////
//:: Default On Heartbeat
//:: bognar_hb
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
This script will have people perform default
animations.
*/
//:://////////////////////////////////////////////
//:: Created By: Preston Watamaniuk
//:: Created On: Nov 23, 2001
//:://////////////////////////////////////////////
#include "NW_I0_GENERIC"
void main()
{
// Added following code. Bruce Laplante 03/02/2003
int iEight = d8(1);
int iTalkVolume = TALKVOLUME_TALK;
string sDialog = " ";
if(!IsInConversation(OBJECT_SELF))
{
if(iEight != 0)
{
switch(iEight)
{
case 1:
sDialog = "...poker..hic...";
break;
case 2:
sDialog = "eh?";
break;
case 3:
sDialog = "..need a sober potion..";
break;
case 4:
sDialog = "That's me game! *arp!*";
break;
case 5:
break;
case 6:
break;
case 7:
break;
case 8:
break;
}
ClearAllActions();
if (sDialog != " ")
{
ActionSpeakString(sDialog, iTalkVolume);
}
ActionRandomWalk();
}
}
}