Battledale_PRC8/_module/nss/fr_take_ar.nss

23 lines
745 B
Plaintext
Raw Permalink Normal View History

//::///////////////////////////////////////////////
//:: FileName fr_take_ar
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 20.12.2002 20:34:00
//:://////////////////////////////////////////////
void main()
{
// Remove some gold from the player
TakeGoldFromCreature(7500, GetPCSpeaker(), TRUE);
// Remove items from the player's inventory
object oItemToTake;
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "fr_ar_umberhulk");
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "fr_gr_hide");
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
}