HiddenTradition_PRC8/_module/nss/at_drowquest2.nss
2024-06-20 15:47:42 -04:00

32 lines
559 B
Plaintext

#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);
}