26 lines
786 B
Plaintext
26 lines
786 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: FileName tucker_did_kob
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By: Script Wizard
|
||
|
//:: Created On: 10/10/2002 6:45:24 PM
|
||
|
//:://////////////////////////////////////////////
|
||
|
#include "nw_i0_tool"
|
||
|
#include "apts_inc_ptok"
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
// Give the speaker some XP
|
||
|
RewardPartyGP(500, GetPCSpeaker());
|
||
|
RewardPartyXP(600, GetPCSpeaker());
|
||
|
|
||
|
// Remove items from the player's inventory
|
||
|
object oItemToTake;
|
||
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "KoboldShamanStaff");
|
||
|
if(GetIsObjectValid(oItemToTake) != 0)
|
||
|
DestroyObject(oItemToTake);
|
||
|
// Set the variables
|
||
|
SetTokenBool(GetPCSpeaker(), "kobold_staff", 1);
|
||
|
|
||
|
}
|