[EVENTS e_Undead]

[EVENTS e_Carnivores]
// weak carnivores.

[EVENTS e_Carnivores2]
// normal carnivores.

[EVENTS e_Carnivores3]
// strong carnivores.

[EVENTS e_Terathan]

[EVENTS e_Ophidian]

[EVENTS e_Notoriety]

[EVENTS e_Ostards]

[EVENTS e_Human_Environ]

[EVENTS e_Human_Greet]
ON=@NPCHearGreeting
	// They just spoke to me for the first time.
	IF ( <SRC.FAME.INFAMOUS> || <SRC.FAME.OUTLAW> )
		IF ( <SRC.KARMA.WICKED> || <SRC.KARMA.BELLIGERANT> )
			DORAND 4
				SAY @,,2 1042877
				SAY @,,2 1008029
				SAY @,,2 1008013
				SAY @,,2 1013048
			ENDDO
		ELIF ( <SRC.KARMA.NEUTRAL> )
			IF ( <COMPLEXITY.HIGH> || <COMPLEXITY.MEDIUM> )
				DORAND 7
					SAY @,,2 1014494
					SAY @,,2 500186
					SAY @,,2 1014495
					SAY @,,2 1014496
					SAY @,,2 1074549
					SAY @,,2 1014086
					SAY @,,2 1074461
				ENDDO
			ELSE
				DORAND 7
					SAY @,,2 1014494
					SAY @,,2 500186
					SAY @,,2 1014495
					SAY @,,2 1014496
					SAY @,,2 1074549
					SAY @,,2 1014086
					SAY @,,2 1074461
				ENDDO
			ENDIF
		ELSE
			IF ( <COMPLEXITY.HIGH> || <COMPLEXITY.MEDIUM> )
				DORAND 4
					SAY @,,2 1042559
					SAY @,,2 1014496
					SAY @,,2 1014497
					SAY @,,2 1014086
				ENDDO
			ELSE
				DORAND 4
					SAY @,,2 1042559
					SAY @,,2 1014496
					SAY @,,2 1014497
					SAY @,,2 1014086
				ENDDO
			ENDIF
		ENDIF
	ELIF ( <SRC.FAME.ANONYMOUS> )
		IF ( <SRC.KARMA.WICKED> || <SRC.KARMA.BELLIGERANT> )
			IF ( <COMPLEXITY.HIGH> || <COMPLEXITY.MEDIUM> )
				DORAND 7
					SAY @,,2 1014494
					SAY @,,2 500186
					SAY @,,2 1014495
					SAY @,,2 1014496
					SAY @,,2 1074549
					SAY @,,2 1014086
					SAY @,,2 1074461
				ENDDO
			ELSE
				DORAND 7
					SAY @,,2 1014494
					SAY @,,2 500186
					SAY @,,2 1014495
					SAY @,,2 1014496
					SAY @,,2 1074549
					SAY @,,2 1014086
					SAY @,,2 1074461
				ENDDO
			ENDIF
		ELIF ( <SRC.KARMA.NEUTRAL> )
				DORAND 5
					SAY @,,2 500186
					SAY @,,2 1014142
					SAY @,,2 1074549
					SAY @,,2 1014497
					SAY @,,2 1014498
				ENDDO
		ELSE
				DORAND 5
					SAY @,,2 500186
					SAY @,,2 1014142
					SAY @,,2 1074549
					SAY @,,2 1014497
					SAY @,,2 1014498
				ENDDO
		ENDIF
	ELSE
				DORAND 3
					SAY @,,2 500186
					SAY @,,2 1014494
					SAY @,,2 1014496
				ENDDO
	ENDIF

[EVENTS e_Human_HearUnk]
ON=@NPCHearUnknown
DORAND 12
SAY @02b1,,2 1014468
SAY @02b1,,2 1014467
SAY @02b1,,2 1014466
SAY @02b1,,2 1014470
SAY @02b1,,2 1014471
SAY @02b1,,2 1014473
SAY @02b1,,2 1014475
SAY @02b1,,2 1014476
SAY @02b1,,2 1014477
SAY @02b1,,2 1014480
SAY @02b1,,2 1014478
SAY @02b1,,2 1014483
ENDDO

[EVENTS e_Human_ConvInit]

ON=@NPCSeeNewPlayer
	// When a new person comes into range do something (attack them?)
	if ( <DISTANCE> > 5 )	// too far away ?
		return 1	// do nothing for now
	ENDIF
	FACE
	IF ( <COMPLEXITY.HIGH> )
		IF ( <SRC.KARMA.WICKED> || <SRC.KARMA.BELLIGERANT> )
			DORAND 3
				SAY @,,2 501246
				SAY @,,2 1042622
				SAY @,,2 1074549
			ENDDO
		ELSE
			ACT=<SRC>
				DORAND 4
					SAY @,,2 1014498
					SAY @,,2 1014461
					SAY @,,2 1014497
					SAY @,,2 1014496
				ENDDO
				SALUTE
			ACTION=107 // NPCACT_TALK_FOLLOW
		ENDIF
	ELIF ( <COMPLEXITY.MEDIUM> )
		IF ( <SRC.KARMA.WICKED> || <SRC.KARMA.BELLIGERANT> )
			DORAND 3
				SAY @,,2 1014086
				SAY @,,2 1014460
				SAY @,,2 1010459
			ENDDO
		ELSE
			ACT=<SRC>
			IF ( <SRC.FAME.INFAMOUS> || <SRC.FAME.OUTLAW> )
				DORAND 3
					SAY @,,2 1014460
					SAY @,,2 1043019
					SAY @,,2 1043030
				ENDDO
			ELIF ( <SRC.FAME.ANONYMOUS> )
				DORAND 3
					SAY @,,2 503223
					SAY @,,2 1005351
					SAY @,,2 1014460
				ENDDO
				SALUTE
			ELSE
				DORAND 4
					SAY @,,2 1005351
					SAY @,,2 503223
					SAY @,,2 1005351
					SAY @,,2 1014460
				ENDDO
				BOW
			ENDIF
			ACTION=107 // NPCACT_TALK_FOLLOW
		ENDIF
	ELSE ( <COMPLEXITY.LOW> )
		IF ( <SRC.KARMA.WICKED> || <SRC.KARMA.BELLIGERANT> )
			DORAND 3
				SAY @,,2 1014086
				SAY @,,2 1014460
				SAY @,,2 1010459
			ENDDO
		ELIF ( <SRC.KARMA.NEUTRAL> || <SRC.KARMA.KINDLY> || <SRC.KARMA.GOODHEARTED> )
			IF ( <SRC.FAME.INFAMOUS> || <SRC.FAME.OUTLAW> )
				DORAND 3
					SAY @,,2 1014460
					SAY @,,2 1043019
					SAY @,,2 1043030
				ENDDO
			ELIF ( <SRC.FAME.ANONYMOUS> )
				DORAND 3
					SAY @,,2 503223
					SAY @,,2 1005351
					SAY @,,2 1014460
				ENDDO
			ELSE
				DORAND 4
					SAY @,,2 1005351
					SAY @,,2 503223
					SAY @,,2 1005351
					SAY @,,2 1014460
				ENDDO
			ENDIF
		ENDIF
	ENDIF

	RETURN 0	// don't come here again.

[EVENTS e_Human_Space]
ON=@PersonalSpace
	// Someone is standing on me.
	if ( <flags>& statf_war )	// I'm in war mode.
		return 1
	endif
DORAND 3
SAY @,,2 501487
SAY @,,2 501776
SAY @,,2 1007126
ENDDO

[EVENTS e_Human_Needs]
// Notes:  This is called whenever an item is given to an NPC

ON=@NPCAcceptItem
DORAND 4
SAY @01cd,,2 500667
SAY @01cd,,2 501840
SAY @01cd,,2 1010462
SAY @01cd,,2 500659
ENDDO

ON=@NPCHearNeed
	IF ( <SRC.KARMA.WICKED> || <SRC.KARMA.BELLIGERANT> )
		IF ( <SRC.FAME.INFAMOUS> || <SRC.FAME.OUTLAW> )
			IF ( <COMPLEXITY.HIGH> || <COMPLEXITY.MEDIUM> )
				DORAND 3
					SAY I heard thee say <needname>! I need some!
					SAY Thou did say <needname>! I could really use some!
					SAY I want some <needname>!
				ENDDO
			ELSE
				DORAND 3
					SAY <needname>? I need some!
					SAY Thou said <needname>! Get me some!
					SAY I want some <needname>!
				ENDDO
			ENDIF
		ELIF ( <SRC.FAME.ANONYMOUS> )
			IF ( <COMPLEXITY.HIGH> || <COMPLEXITY.MEDIUM> )
				DORAND 3
					SAY 'Twould be helpful if I could get <needname> myself.
					SAY If thou dost have <needname>, I'd be happy to take some from thee.
					SAY Could I have some? <needname>, I mean.
				ENDDO
			ELSE
				DORAND 3
					SAY 'Twould be nice to get <needname> for me.
					SAY If thou dost have <needname>, I'd like some.
					SAY Could I have some? <needname>, I mean.
				ENDDO
			ENDIF
		ELSE
			IF ( <COMPLEXITY.HIGH> || <COMPLEXITY.MEDIUM> )
				DORAND 3
					SAY If thou couldst bring thy great person to get ME some<needname>, twould help!
					SAY Not that I expect it, but I could really use help getting <needname>.
					SAY If thou couldst find some <needname> for me, 'twould make my life that much better. Not that a great one like thee should care...
				ENDDO
			ELSE
				DORAND 3
					SAY If thou couldst stoop to get ME some<needname>, twould help!
					SAY I could really use help getting <needname>.
					SAY If thou could find some <needname>, 'twould be great. But only if thou dost have time.
				ENDDO
			ENDIF
		ENDIF
	ELIF ( <SRC.KARMA.NEUTRAL> )
		IF ( <SRC.FAME.INFAMOUS> || <SRC.FAME.OUTLAW> )
			IF ( <COMPLEXITY.HIGH> || <COMPLEXITY.MEDIUM> )
				DORAND 3
					SAY I could use some of thy stolen <needname>.
					SAY If thou did... happen upon some <needname>, I could use some.
					SAY I could use some <needname>. However thou might obtain it.
				ENDDO
			ELSE
				DORAND 3
					SAY I could use some of thy ill-gotten <needname>.
					SAY If thou did... find some <needname>, I could use it.
					SAY I could use some <needname>. However thou might get it.
				ENDDO
			ENDIF
		ELIF ( <SRC.FAME.ANONYMOUS> )
			IF ( <COMPLEXITY.HIGH> || <COMPLEXITY.MEDIUM> )
				DORAND 3
					SAY If thou art given any <needname>, bring it here. I could use some.
					SAY If thou dost have <needname>, I'd be willing to take it from thee.
					SAY Just a little <needname> is all I need!
				ENDDO
			ELSE
				DORAND 3
					SAY If thou art given any <needname>, bring it here. I could use some.
					SAY If thou have any <needname>, I'd be willing to take some.
					SAY I need just a little <needname>!
				ENDDO
			ENDIF
		ELSE
			IF ( <COMPLEXITY.HIGH> )
				DORAND 3
					SAY If thou couldst find it in thy heart to get ME some <needname>, twould be most wonderful!
					SAY I would appreciate it greatly if thou couldst get me <needname>. I could really use some.
					SAY If thou couldst find some <needname> for me, 'twould make my life that much better.
				ENDDO
			ELIF ( <COMPLEXITY.MEDIUM> )
				DORAND 3
					SAY If thou couldst get ME some <needname>, twould be most wonderful!
					SAY I would appreciate it greatly if thou couldst get me <needname>. I could really use some.
					SAY If thou couldst find some <needname> for me, 'twould be easier on me.
				ENDDO
			ELSE
				DORAND 3
					SAY If thou couldst get ME some <needname>, twould be great!
					SAY I'd really appreciate it if thou got me <needname>. I could use some.
					SAY If thou couldst find <needname> for me, 'twould be helpful!
				ENDDO
			ENDIF
		ENDIF
	ELSE
		IF ( <SRC.FAME.INFAMOUS> || <SRC.FAME.OUTLAW> )
			IF ( <COMPLEXITY.HIGH> )
				DORAND 3
					SAY Please, <SRC.SEX sir/madam>, if thou art able, I could really make use of <needname>.
					SAY I would be grateful if thou wouldst help me acquire some <needname>.
					SAY If thou couldst bring me some <needname>, I would be in thy debt.
				ENDDO
			ELIF ( <COMPLEXITY.MEDIUM> )
				DORAND 3
					SAY Please, <SRC.SEX sir/madam>, I could really make use of <needname>, if thou art able.
					SAY I would be grateful if thou wouldst help me get some more <needname>.
					SAY If thou couldst bring me some <needname>, I would be in thy debt.
				ENDDO
			ELSE
				DORAND 3
					SAY Please, <SRC.SEX sir/madam>, if thou'rt able, I could make use of <needname>.
					SAY I'd be grateful to get some more <needname>.
					SAY If thou couldst bring me some <needname>, I'd be in thy debt.
				ENDDO
			ENDIF
		ELIF ( <SRC.FAME.ANONYMOUS> )
			IF ( <COMPLEXITY.HIGH> || <COMPLEXITY.MEDIUM> )
				DORAND 3
					SAY I would love to have some <needname>!
					SAY 'Twould be nice to get more <needname>
					SAY <needname>? I could use some more.
				ENDDO
			ELSE
				DORAND 3
					SAY I really need some <needname>!
					SAY 'Twould be nice to get more <needname>
					SAY <needname>? I could always use more.
				ENDDO
			ENDIF
		ELSE
			IF ( <COMPLEXITY.HIGH> || <COMPLEXITY.MEDIUM> )
				DORAND 3
					SAY Please, <SRC.SEX good sir/good lady>, I could use some more <needname>.
					SAY I could really do with some more <needname>. I could reward thee... maybe.
					SAY If thou dost find the time, more <needname> would do wonders for me.
				ENDDO
			ELSE
				DORAND 3
					SAY I could really use some more <needname>, <SRC.SEX milord/milady>.
					SAY I could really do with some more <needname>.
					SAY If thou dost find the time, more <needname> would do wonders for me.
				ENDDO
			ENDIF
		ENDIF
	ENDIF
	return 1

[EVENTS e_Human_Scavenge]

ON=@npcSeeWantItem
	IF (<KARMA.WICKED>) || (<KARMA.BELLIGERANT>)
		IF (<COMPLEXITY.HIGH>)
			DORAND 6
				SAY Mine!
				SAY I'll take that!
				SAY Keep away from this! It's mine!
				SAY Ah ha! It's mine!
				SAY Come here, my pretty.
				SAY Well here's something!
			ENDDO
		ELIF ( <COMPLEXITY.MEDIUM> )
			DORAND 6
				SAY Well, well, what have we here?
				SAY Ah, this will be useful.
				SAY Excellent. 'Tis my lucky day.
				SAY I've been needing one of these.
				SAY This will come in handy indeed.
				SAY Well, look what I found!
			ENDDO
		ELSE
			DORAND 5
				SAY Why look at that!
				SAY Ah, most interesting.
				SAY This may be of some use.
				SAY And what's this then?
				SAY A most fortunate discovery!
			ENDDO
		ENDIF
	ELIF ( <KARMA.NEUTRAL> )
		IF ( <COMPLEXITY.HIGH> )
			DORAND 6
				SAY Mine!
				SAY I'll take that!
				SAY Keep away from that! It's mine!
				SAY Ah ha! I've got it now.
				SAY Come here, my pretty.
				SAY Here's something!
			ENDDO
		ELIF ( <COMPLEXITY.MEDIUM> )
			DORAND 6
				SAY Well, well, what have we here?
				SAY Ah, this will be useful.
				SAY Excellent. 'Tis my lucky day.
				SAY I've been needing one of these.
				SAY This will come in handy indeed.
				SAY Hmmm! Look what I found!
			ENDDO
		ELSE
			DORAND 5
				SAY Why look at that!
				SAY Ah, most interesting.
				SAY This may be of some use.
				SAY And what's this then?
				SAY A most fortunate discovery!
			ENDDO
		ENDIF
	ELSE
		IF ( <COMPLEXITY.HIGH> )
			DORAND 5
				SAY Mine!
				SAY I'll take that!
				SAY Ah ha!
				SAY Come here, my pretty.
				SAY At last!
			ENDDO
		ELIF ( <COMPLEXITY.MEDIUM> )
			DORAND 6
				SAY Well, well, what have we here?
				SAY Ah, this will be useful.
				SAY Excellent. This is mine, now.
				SAY This'll help.
				SAY This'll come in handy.
				SAY Huh! Look what I found!
			ENDDO
		ELSE
			DORAND 5
				SAY Why look at that!
				SAY Ah. Good.
				SAY This'll be of use.
				SAY And what's this then?
				SAY This is useful!
			ENDDO
		ENDIF
	ENDIF
	return 1

[EVENTS e_Human_Refuse]
ON=@NPCRefuseItem
DORAND 5
SAY @04ac,,2 1049445
SAY @04ac,,2 1049012
SAY @04ac,,2 1014093
SAY @04ac,,2 1014123
SAY @04ac,,2 1014128
ENDDO
return 1

[EOF]