Aantioch_Infernum/_module/nss/dragon_g_xp_t_it.nss

20 lines
615 B
Plaintext
Raw Normal View History

2023-08-08 16:22:17 -04:00
//::///////////////////////////////////////////////
//:: 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(), 50);
// Remove items from the player's inventory
object oItemToTake;
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "dragoncall");
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
}