25 lines
659 B
Plaintext
25 lines
659 B
Plaintext
|
void main()
|
||
|
{
|
||
|
object oGuard = GetEnteringObject();
|
||
|
|
||
|
if(GetTag(oGuard) == "fr_iwd_grd_dwf01")
|
||
|
{
|
||
|
int iDice = d6(1);
|
||
|
|
||
|
if(iDice == 1){
|
||
|
AssignCommand(oGuard, SpeakString("Time fer rest!", TALKVOLUME_TALK));
|
||
|
}
|
||
|
if(iDice == 2){
|
||
|
AssignCommand(oGuard, SpeakString("About a time to get some sleep.", TALKVOLUME_TALK));
|
||
|
}
|
||
|
if(iDice == 3){
|
||
|
AssignCommand(oGuard, SpeakString("Perhaps I have time to sharpen my axe.", TALKVOLUME_TALK));
|
||
|
}
|
||
|
else{
|
||
|
}
|
||
|
|
||
|
SetLocalString(oGuard, "wayname", "fr_iwd_grd_stay");
|
||
|
DelayCommand(600.0, SetLocalString(oGuard, "wayname", "fr_iwd_grd_route1"));
|
||
|
}
|
||
|
}
|