31 lines
498 B
Plaintext
31 lines
498 B
Plaintext
#include "nw_i0_tool"
|
|
#include "nw_j_assassin"
|
|
/* Script generated by
|
|
Lilac Soul's NWN Script Generator, v. 1.2
|
|
|
|
For download info, please visit:
|
|
http://www.angelfire.com/space/lilacsoul */
|
|
|
|
//Put this OnEnter
|
|
void main()
|
|
{
|
|
|
|
object oPC = GetEnteringObject();
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
|
|
int nInt;
|
|
nInt=GetLocalInt(oPC, "CowThieves");
|
|
|
|
if (!(nInt == 1))
|
|
return;
|
|
|
|
AddJournalQuestEntry("jt_cows", 2, oPC, TRUE, FALSE);
|
|
|
|
RewardPartyXP(50, oPC, TRUE);
|
|
|
|
aSetPLocalInt(oPC, "CowThieves", 2);
|
|
|
|
}
|
|
|