25 lines
686 B
Plaintext
25 lines
686 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: FileName libraryquest
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By: Script Wizard
|
||
|
//:: Created On: 8/20/2006 4:50:22 AM
|
||
|
//:://////////////////////////////////////////////
|
||
|
#include "nw_i0_tool"
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
// Give the speaker some gold
|
||
|
RewardPartyGP(2000, GetPCSpeaker());
|
||
|
|
||
|
// Give the speaker some XP
|
||
|
RewardPartyXP(1000, GetPCSpeaker());
|
||
|
|
||
|
|
||
|
// Remove items from the player's inventory
|
||
|
object oItemToTake;
|
||
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "LibraryBookQuest");
|
||
|
if(GetIsObjectValid(oItemToTake) != 0)
|
||
|
DestroyObject(oItemToTake);
|
||
|
}
|