23 lines
688 B
Plaintext
23 lines
688 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: FileName take_baldingsalv
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By: Script Wizard
|
||
|
//:: Created On: 11/23/2008 5:36:16 PM
|
||
|
//:://////////////////////////////////////////////
|
||
|
void main()
|
||
|
{
|
||
|
// Give the speaker some gold
|
||
|
GiveGoldToCreature(GetPCSpeaker(), 2000);
|
||
|
|
||
|
// Give the speaker some XP
|
||
|
GiveXPToCreature(GetPCSpeaker(), 350);
|
||
|
|
||
|
|
||
|
// Remove items from the player's inventory
|
||
|
object oItemToTake;
|
||
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "baldingsalve");
|
||
|
if(GetIsObjectValid(oItemToTake) != 0)
|
||
|
ActionTakeItem(oItemToTake, GetPCSpeaker());
|
||
|
}
|