Initial commit. Updated release archive.
This commit is contained in:
31
_module/nss/at_drowquest2.nss
Normal file
31
_module/nss/at_drowquest2.nss
Normal file
@@ -0,0 +1,31 @@
|
||||
#include "nw_j_assassin"
|
||||
#include "nw_i0_tool"
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
|
||||
// Give the speaker some gold
|
||||
RewardPartyGP(1000, oPC);
|
||||
|
||||
// Give the speaker some XP
|
||||
RewardPartyXP(400, oPC);
|
||||
|
||||
|
||||
|
||||
// Remove items from the player's inventory
|
||||
object oItemToTake;
|
||||
oItemToTake = GetItemPossessedBy(oPC, "it_DrowSewerMap");
|
||||
if(GetIsObjectValid(oItemToTake) != 0)
|
||||
DestroyObject(oItemToTake);
|
||||
// Set the variables
|
||||
aSetPLocalInt(oPC, "DrowQuest", 2);
|
||||
|
||||
|
||||
AdjustAlignment(oPC, ALIGNMENT_LAWFUL, 5);
|
||||
|
||||
|
||||
}
|
Reference in New Issue
Block a user