25 lines
682 B
Plaintext
25 lines
682 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: FileName midraswolfreward
|
|
//:://////////////////////////////////////////////
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Script Wizard
|
|
//:: Created On: 29/01/2003 16:18:53
|
|
//:://////////////////////////////////////////////
|
|
#include "nw_i0_tool"
|
|
|
|
void main()
|
|
{
|
|
// Give the speaker some gold
|
|
RewardPartyGP(30, GetPCSpeaker());
|
|
|
|
// Give the speaker some XP
|
|
RewardPartyXP(15, GetPCSpeaker());
|
|
|
|
|
|
// Remove items from the player's inventory
|
|
object oItemToTake;
|
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "MidrasWolfFur");
|
|
if(GetIsObjectValid(oItemToTake) != 0)
|
|
DestroyObject(oItemToTake);
|
|
}
|