22 lines
707 B
Plaintext
22 lines
707 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: FileName krog_quest
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By: Script Wizard
|
||
|
//:: Created On: 28/06/2003 16:40:06
|
||
|
//:://////////////////////////////////////////////
|
||
|
void main()
|
||
|
{
|
||
|
// Give the speaker the items
|
||
|
CreateItemOnObject("wolfricchestkey", GetPCSpeaker(), 1);
|
||
|
|
||
|
// Give the speaker some XP
|
||
|
GiveXPToCreature(GetPCSpeaker(), 1000);
|
||
|
|
||
|
// Remove items from the player's inventory
|
||
|
object oItemToTake;
|
||
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "giantshead");
|
||
|
if(GetIsObjectValid(oItemToTake) != 0)
|
||
|
DestroyObject(oItemToTake);
|
||
|
}
|