Initial commit. Updated release archive.
This commit is contained in:
21
_module/nss/take_shovel.nss
Normal file
21
_module/nss/take_shovel.nss
Normal file
@@ -0,0 +1,21 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName take_shovel
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 6/18/2004 2:26:10 AM
|
||||
//:://////////////////////////////////////////////
|
||||
#include "nw_i0_tool"
|
||||
|
||||
void main()
|
||||
{
|
||||
// Give the speaker some XP
|
||||
RewardPartyXP(50, GetPCSpeaker());
|
||||
|
||||
|
||||
// Remove items from the player's inventory
|
||||
object oItemToTake;
|
||||
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "HermannsLuckyShovel");
|
||||
if(GetIsObjectValid(oItemToTake) != 0)
|
||||
DestroyObject(oItemToTake);
|
||||
}
|
Reference in New Issue
Block a user