Initial Upload
Initial Upload
This commit is contained in:
30
_module/nss/end_cugel_quest.nss
Normal file
30
_module/nss/end_cugel_quest.nss
Normal file
@@ -0,0 +1,30 @@
|
||||
#include "nw_i0_tool"
|
||||
/* Script generated by
|
||||
Lilac Soul's NWN Script Generator, v. 1.4
|
||||
|
||||
For download info, please visit:
|
||||
http://www.lilacsoul.revility.com */
|
||||
|
||||
//Put this on action taken in the conversation editor
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
RewardPartyXP(1000, oPC, FALSE);
|
||||
|
||||
CreateItemOnObject("palacekey", oPC);
|
||||
CreateItemOnObject("cugelsrapier", oPC);
|
||||
CreateItemOnObject("swordbreaker", oPC);
|
||||
CreateItemOnObject("cugelsjerkin", oPC);
|
||||
|
||||
object oItem;
|
||||
oItem = GetItemPossessedBy(oPC, "CugelsNote");
|
||||
|
||||
if (GetIsObjectValid(oItem)) DestroyObject(oItem);
|
||||
SetLocalInt(GetPCSpeaker(),"cugel",1);
|
||||
|
||||
AdjustAlignment(oPC, ALIGNMENT_GOOD, 30);
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user