20 lines
616 B
Plaintext
20 lines
616 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: FileName dragon_g_xp_t_it
|
|
//:://////////////////////////////////////////////
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Script Wizard
|
|
//:: Created On: 09/06/2003 21:51:12
|
|
//:://////////////////////////////////////////////
|
|
void main()
|
|
{
|
|
// Give the speaker some XP
|
|
GiveXPToCreature(GetPCSpeaker(), 600);
|
|
|
|
|
|
// Remove items from the player's inventory
|
|
object oItemToTake;
|
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "dragoncall");
|
|
if(GetIsObjectValid(oItemToTake) != 0)
|
|
DestroyObject(oItemToTake);
|
|
}
|