Initial Upload
Initial Upload
This commit is contained in:
25
_module/nss/gdragon_done.nss
Normal file
25
_module/nss/gdragon_done.nss
Normal file
@@ -0,0 +1,25 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName gdragon_done
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 19/03/2004 18:38:08
|
||||
//:://////////////////////////////////////////////
|
||||
void main()
|
||||
{
|
||||
// Give the speaker some XP
|
||||
GiveXPToCreature(GetPCSpeaker(), 450);
|
||||
|
||||
// Give the speaker the items
|
||||
CreateItemOnObject("dryadboots", GetPCSpeaker(), 1);
|
||||
|
||||
|
||||
// Remove items from the player's inventory
|
||||
object oItemToTake;
|
||||
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "dragonorb");
|
||||
if(GetIsObjectValid(oItemToTake) != 0)
|
||||
DestroyObject(oItemToTake);
|
||||
// Set the variables
|
||||
SetLocalInt(GetPCSpeaker(), "dragondone", 1);
|
||||
|
||||
}
|
Reference in New Issue
Block a user