Initial commit. Updated release archive.
This commit is contained in:
28
_module/nss/at_golemquestend.nss
Normal file
28
_module/nss/at_golemquestend.nss
Normal file
@@ -0,0 +1,28 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName at_golemquestend
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 6/12/2003 1:31:38 PM
|
||||
//:://////////////////////////////////////////////
|
||||
#include "nw_i0_tool"
|
||||
#include "nw_j_assassin"
|
||||
|
||||
void main()
|
||||
{
|
||||
// Give the speaker some gold
|
||||
RewardPartyGP(600, GetPCSpeaker());
|
||||
|
||||
// Give the speaker some XP
|
||||
RewardPartyXP(200, GetPCSpeaker());
|
||||
|
||||
|
||||
// Remove items from the player's inventory
|
||||
object oItemToTake;
|
||||
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "GolemPlans");
|
||||
if(GetIsObjectValid(oItemToTake) != 0)
|
||||
DestroyObject(oItemToTake);
|
||||
// Set the variables
|
||||
aSetPLocalInt(GetPCSpeaker(), "GolemQuest", 5);
|
||||
|
||||
}
|
Reference in New Issue
Block a user