WoR_PRC8/_module/nss/conv_orcguard1.nss
Jaysyn904 b5e28e52f4 Initial commit
Initial commit [1.18]
2025-04-03 11:49:34 -04:00

105 lines
6.5 KiB
Plaintext

string sSayThis;
int iTalkVolume = TALKVOLUME_TALK;
int iRollTen = d20(1);
int iTalkFlag = 0;
void main()
{
if (GetLocalInt(OBJECT_SELF, "ORCGUARD")== 1)
if(d100(1) > 71) //Gives this script a 30% chance of completing
{ //Its execution. Call it my anti-spam code. (c:
if(iRollTen != 0) //Just in case a 0 slips in though I don't think
{ //It's possible.
switch(iRollTen) //Jump to the rolled statement number.
{
case 1:sSayThis = "Don't even think about cheating!";break;
case 2:sSayThis = "Ha, that last hand was a joke.";break;
case 3:sSayThis = "I'm going to win the armor off your backs!";break;
case 4:sSayThis = "I didn't expect you to eat that kobold.";break;
case 5:sSayThis = "Beating the prisoners into silence is bliss.";break;
case 6:sSayThis = "I pity anyone who tries to get into our stronghold.";break;
case 7:sSayThis = "I hope the captain returns soon, I could use some more gold.";break;
case 8:sSayThis = "What are we playing this hand?";break;
case 9:sSayThis = "Aces over queens, I tell you I had all the luck that last hand";break;
case 10:sSayThis = "If only your gambling were as good as your bragging.";break;
case 11:sSayThis = "I wish more of the guards were around to take money from.";break;
case 12:sSayThis = "We should play WAR!";break;
case 13:sSayThis = "The only jokers you'll find around here are the prisoners.";break;
case 14:sSayThis = "When will our relief be here?";break;
case 15:sSayThis = "Playing cards all night is hard work!";break;
case 16:sSayThis = "Those prisoners look hungry, shame we ate thier food...HAHAHA";break;
case 17:sSayThis = "If that human looks at me that way one more time I'll eat him myself!";break;
case 18:sSayThis = "That's a healthy pot!";break;
case 19:sSayThis = "If we had some females this would be a party!";break;
case 20:sSayThis = "I wish I were a pirate...";break;
} //End Switch Statement
SpeakString(sSayThis, iTalkVolume);//Make the NPC talk
} //End If Statement
else if (GetLocalInt(OBJECT_SELF, "ORCGUARD")== 2)
{
if(d100(1) > 71) //Gives this script a 30% chance of completing
{ //Its execution. Call it my anti-spam code. (c:
if(iRollTen != 0) //Just in case a 0 slips in though I don't think
{ //It's possible.
switch(iRollTen) //Jump to the rolled statement number.
{
case 1:sSayThis = "I should gut you like a fish!";break;
case 2:sSayThis = "I'd give your left arm for some females.";break;
case 3:sSayThis = "How many times do I have to tell you it's luck!";break;
case 4:sSayThis = "I didn't expect you to eat that Troll.";break;
case 5:sSayThis = "Its about time to beat the prisoners again.";break;
case 6:sSayThis = "I love this place.";break;
case 7:sSayThis = "When will the captain be back?";break;
case 8:sSayThis = "Ok, what game this round?";break;
case 9:sSayThis = "If I get another pair of two's I'm going to kill someone!";break;
case 10:sSayThis = "You play like old Orcs talk, slow and unsteady.";break;
case 11:sSayThis = "I wonder how the raids are going.";break;
case 12:sSayThis = "We should play spades!";break;
case 13:sSayThis = "How can any human be dumb enough to walk in here and expect not to be capture or eaten?";break;
case 14:sSayThis = "When will our relief be here?";break;
case 15:sSayThis = "Ahhhh, this is the life.";break;
case 16:sSayThis = "How many humans does it take to fill a cauldron?";break;
case 17:sSayThis = "I think I'm going to win this hand.";break;
case 18:sSayThis = "That's pot is huge!";break;
case 19:sSayThis = "If we only had some females!";break;
case 20:sSayThis = "I wish I were a pirate...";break;
} //End Switch Statement
SpeakString(sSayThis, iTalkVolume);//Make the NPC talk
} //End If Statement
else if (GetLocalInt(OBJECT_SELF, "ORCGUARD")== 3)
{
if(d100(1) > 71) //Gives this script a 30% chance of completing
{ //Its execution. Call it my anti-spam code. (c:
if(iRollTen != 0) //Just in case a 0 slips in though I don't think
{ //It's possible.
switch(iRollTen) //Jump to the rolled statement number.
{
case 1:sSayThis = "I once tore someones arm off for cheating!";break;
case 2:sSayThis = "Who dealt that last hand? They should be drawn and quartered.";break;
case 3:sSayThis = "How about putting that fine axe of yours in the pot since you're low on gold HAHAHAHA";break;
case 4:sSayThis = "I didn't expect you to eat that Goblin.";break;
case 5:sSayThis = "I really enjoy my work.";break;
case 6:sSayThis = "This place is so secure, the captain has thought of everything.";break;
case 7:sSayThis = "I hope they choose me to be a pirate one day.";break;
case 8:sSayThis = "High/low this round?";break;
case 9:sSayThis = "Total garbage last hand...";break;
case 10:sSayThis = "How is it you suck so bad at gambling?";break;
case 11:sSayThis = "If I tell you I had relations with your mother would you be angry?";break;
case 12:sSayThis = "Your sister is beautiful!";break;
case 13:sSayThis = "When are we due to be relieved? Speaking of which I should pee on the prisoners HAHAHAHAHA";break;
case 14:sSayThis = "We need more Ale";break;
case 15:sSayThis = "If this job were any more difficult I wouldn't be able to stand it.";break;
case 16:sSayThis = "Is two aces a bad thing? HAHAHAHAHA";break;
case 17:sSayThis = "Too much ale is only good for a headache.";break;
case 18:sSayThis = "I hope I win this round, the pot is huge!";break;
case 19:sSayThis = "Human...it's whats for dinner. HAHAHAHAHA";break;
case 20:sSayThis = "If only I were a pirate...";break;
} //End Switch Statement
SpeakString(sSayThis, iTalkVolume);//Make the NPC talk
} //End If Statement
}
}
}
}
} //End If Statement
} //End Main