20 lines
597 B
Plaintext
20 lines
597 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: FileName at_buywwolfpelt
|
|
//:://////////////////////////////////////////////
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Script Wizard
|
|
//:: Created On: 03/11/27 12:08:48
|
|
//:://////////////////////////////////////////////
|
|
void main()
|
|
{
|
|
// Give the speaker some gold
|
|
GiveGoldToCreature(GetPCSpeaker(), 100);
|
|
|
|
|
|
// Remove items from the player's inventory
|
|
object oItemToTake;
|
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "winterwolfpelt");
|
|
if(GetIsObjectValid(oItemToTake) != 0)
|
|
DestroyObject(oItemToTake);
|
|
}
|