generated from Jaysyn/ModuleTemplate
Initial commit
Initial commit
This commit is contained in:
24
_module/nss/libraryquest.nss
Normal file
24
_module/nss/libraryquest.nss
Normal file
@@ -0,0 +1,24 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: 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);
|
||||
}
|
||||
Reference in New Issue
Block a user