26 lines
764 B
Plaintext
26 lines
764 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: FileName at_022
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By: Script Wizard
|
||
|
//:: Created On: 7/29/02 7:23:25 PM
|
||
|
//:://////////////////////////////////////////////
|
||
|
void main()
|
||
|
{
|
||
|
// Give the speaker some gold
|
||
|
GiveGoldToCreature(GetPCSpeaker(), 30);
|
||
|
|
||
|
// Give the speaker some XP
|
||
|
GiveXPToCreature(GetPCSpeaker(), 250);
|
||
|
|
||
|
|
||
|
// Remove items from the player's inventory
|
||
|
object oItemToTake;
|
||
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "qst_arrowcrate");
|
||
|
if(GetIsObjectValid(oItemToTake) != 0)
|
||
|
DestroyObject(oItemToTake);
|
||
|
// Set the variables
|
||
|
SetLocalInt(GetPCSpeaker(), "nGrikQuest", 2);
|
||
|
|
||
|
}
|