23 lines
685 B
Plaintext
23 lines
685 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: FileName quest_rang_c
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By: Script Wizard
|
||
|
//:: Created On: 2003-10-01 12:42:32 PM
|
||
|
//:://////////////////////////////////////////////
|
||
|
void main()
|
||
|
{
|
||
|
// Give the speaker some XP
|
||
|
GiveXPToCreature(GetPCSpeaker(), 100);
|
||
|
|
||
|
// Give the speaker the items
|
||
|
CreateItemOnObject("branchofadeida", GetPCSpeaker(), 1);
|
||
|
|
||
|
|
||
|
// Remove items from the player's inventory
|
||
|
object oItemToTake;
|
||
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "RHUN_RNGR_QST1");
|
||
|
if(GetIsObjectValid(oItemToTake) != 0)
|
||
|
DestroyObject(oItemToTake);
|
||
|
}
|