Initial upload
Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
This commit is contained in:
32
_module/nss/fr_iwd_dwf_grd04.nss
Normal file
32
_module/nss/fr_iwd_dwf_grd04.nss
Normal file
@@ -0,0 +1,32 @@
|
||||
void main()
|
||||
{
|
||||
object oGuard = GetEnteringObject();
|
||||
object oGuard2 = GetObjectByTag("fr_iwd_grd_dwf_posted1");
|
||||
object oGuard3 = GetObjectByTag("fr_iwd_grd_dwf_posted2");
|
||||
|
||||
if(GetTag(oGuard) == "fr_iwd_grd_dwf01")
|
||||
{
|
||||
int iDice = d10(1);
|
||||
|
||||
if(iDice == 1){
|
||||
AssignCommand(oGuard, SpeakString("Anything new?", TALKVOLUME_TALK));
|
||||
DelayCommand(2.0, AssignCommand(oGuard2, SpeakString("Nothing to mention.", TALKVOLUME_TALK)));
|
||||
}
|
||||
if(iDice == 2){
|
||||
AssignCommand(oGuard, SpeakString("Hail to thee Gatekeepers!", TALKVOLUME_TALK));
|
||||
DelayCommand(2.0, AssignCommand(oGuard3, SpeakString("Hail, " + GetName(oGuard), TALKVOLUME_TALK)));
|
||||
DelayCommand(2.0, AssignCommand(oGuard2, SpeakString("Hail, to thee as well", TALKVOLUME_TALK)));
|
||||
}
|
||||
if(iDice == 3){
|
||||
AssignCommand(oGuard, SpeakString("How goes watch?", TALKVOLUME_TALK));
|
||||
DelayCommand(2.0, AssignCommand(oGuard2, SpeakString("Nothing unusual.", TALKVOLUME_TALK)));
|
||||
}
|
||||
if(iDice == 4){
|
||||
AssignCommand(oGuard, SpeakString("Keep yer axes sharp!", TALKVOLUME_TALK));
|
||||
DelayCommand(2.0, AssignCommand(oGuard3, SpeakString("Aye, ya as well lads!", TALKVOLUME_TALK)));
|
||||
}
|
||||
else{
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user