2023-08-08 16:22:17 -04:00
|
|
|
//::///////////////////////////////////////////////
|
|
|
|
//:: FileName end_samoflange
|
|
|
|
//:://////////////////////////////////////////////
|
|
|
|
//:://////////////////////////////////////////////
|
|
|
|
//:: Created By: Script Wizard
|
|
|
|
//:: Created On: 8/22/2002 7:03:19 PM
|
|
|
|
//:://////////////////////////////////////////////
|
|
|
|
void main()
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
// Give the speaker some XP
|
2023-11-17 01:59:49 -06:00
|
|
|
GiveXPToCreature(GetPCSpeaker(), 500);
|
2023-08-08 16:22:17 -04:00
|
|
|
|
|
|
|
|
|
|
|
// Remove items from the player's inventory
|
|
|
|
object oItemToTake;
|
|
|
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "olinasball");
|
|
|
|
if(GetIsObjectValid(oItemToTake) != 0)
|
|
|
|
DestroyObject(oItemToTake);
|
|
|
|
SetLocalInt(GetPCSpeaker(),"olina",2);
|
2023-11-17 01:59:49 -06:00
|
|
|
}
|