Battledale_PRC8/_module/nss/jw_si_buy_acid.nss

20 lines
622 B
Plaintext
Raw Permalink Normal View History

//::///////////////////////////////////////////////
//:: FileName jw_si_buy_acid
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 23/06/2003 23:26:09
//:://////////////////////////////////////////////
void main()
{
// Give the speaker some gold
GiveGoldToCreature(GetPCSpeaker(), 100);
// Remove items from the player's inventory
object oItemToTake;
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "jw_si_tok_acid");
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
}