Initial upload
Initial upload
This commit is contained in:
20
_module/nss/aw_distroymag.nss
Normal file
20
_module/nss/aw_distroymag.nss
Normal file
@@ -0,0 +1,20 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName aw_distroymag
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 11/13/2003 6:54:36 PM
|
||||
//:://////////////////////////////////////////////
|
||||
void main()
|
||||
{
|
||||
|
||||
|
||||
|
||||
// Remove items from the player's inventory
|
||||
object oItemToTake;
|
||||
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "BLADEOFMAGICAL");
|
||||
if(GetIsObjectValid(oItemToTake) != 0)
|
||||
DestroyObject(oItemToTake);
|
||||
// Give the speaker the items
|
||||
CreateItemOnObject("essenceofmagical", GetPCSpeaker(), 1);
|
||||
}
|
||||
Reference in New Issue
Block a user