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