24 lines
749 B
Plaintext
24 lines
749 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: FileName end_samoflange
|
|
//:://////////////////////////////////////////////
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Script Wizard
|
|
//:: Created On: 8/22/2002 7:03:19 PM
|
|
//:://////////////////////////////////////////////
|
|
void main()
|
|
{
|
|
// Give the speaker some gold
|
|
GiveGoldToCreature(GetPCSpeaker(), 2500);
|
|
|
|
// Give the speaker some XP
|
|
GiveXPToCreature(GetPCSpeaker(), 1000);
|
|
|
|
|
|
// Remove items from the player's inventory
|
|
object oItemToTake;
|
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "stormbeetleeggs");
|
|
if(GetIsObjectValid(oItemToTake) != 0)
|
|
DestroyObject(oItemToTake);
|
|
SetLocalInt(GetPCSpeaker(),"lomil",2);
|
|
}
|