29 lines
815 B
Plaintext
29 lines
815 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: 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);
|
||
|
|
||
|
}
|