23 lines
730 B
Plaintext
23 lines
730 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: FileName nk_garnusocut1
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By: Script Wizard
|
||
|
//:: Created On: 26.04.2003 20:13:50
|
||
|
//:://////////////////////////////////////////////
|
||
|
void main()
|
||
|
{
|
||
|
// Give the speaker the items
|
||
|
CreateItemOnObject("nk_garnetlrg", GetPCSpeaker(), 1);
|
||
|
|
||
|
|
||
|
// Remove some gold from the player
|
||
|
TakeGoldFromCreature(500, GetPCSpeaker(), TRUE);
|
||
|
|
||
|
// Remove items from the player's inventory
|
||
|
object oItemToTake;
|
||
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "nk_garnetlrguc");
|
||
|
if(GetIsObjectValid(oItemToTake) != 0)
|
||
|
DestroyObject(oItemToTake);
|
||
|
}
|