Initial Upload
Initial Upload
This commit is contained in:
19
_module/nss/fairy_givetake.nss
Normal file
19
_module/nss/fairy_givetake.nss
Normal file
@@ -0,0 +1,19 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName fairy_givetake
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 28/03/2004 17:50:44
|
||||
//:://////////////////////////////////////////////
|
||||
void main()
|
||||
{
|
||||
// Give the speaker the items
|
||||
CreateItemOnObject("fairyblood", GetPCSpeaker(), 1);
|
||||
|
||||
|
||||
// Remove items from the player's inventory
|
||||
object oItemToTake;
|
||||
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "NW_IT_MSMLMISC17");
|
||||
if(GetIsObjectValid(oItemToTake) != 0)
|
||||
DestroyObject(oItemToTake);
|
||||
}
|
Reference in New Issue
Block a user