generated from Jaysyn/ModuleTemplate
32 lines
806 B
Plaintext
32 lines
806 B
Plaintext
void main()
|
|
{
|
|
int nConvoNumber = Random(6) +1;
|
|
int nD100 = d100();
|
|
float temp;
|
|
int temp2;
|
|
string temp3;
|
|
switch(nConvoNumber) {
|
|
case 1:
|
|
AssignCommand(OBJECT_SELF, ActionSpeakString("Welcome to Verbobonc."));
|
|
break;
|
|
case 2:
|
|
AssignCommand(OBJECT_SELF, ActionSpeakString("I rather like the new viscount."));
|
|
break;
|
|
case 3:
|
|
if(GetIsNight())
|
|
AssignCommand(OBJECT_SELF, ActionSpeakString("I have to get home."));
|
|
else
|
|
case 4:
|
|
AssignCommand(OBJECT_SELF, ActionSpeakString("The farmers are expecting the same as last year this Brewfest."));
|
|
break;
|
|
case 5:
|
|
ActionSpeakString("I heard a delegation from Dyvers was in town.");
|
|
break;
|
|
case 6:
|
|
ActionSpeakString("Sometimes when I hear what the merchants are hawking, I can't help but laugh.");
|
|
ActionPlayAnimation(ANIMATION_LOOPING_TALK_LAUGHING, 1.0, 1.5);
|
|
break;
|
|
}
|
|
}
|
|
|