23 lines
730 B
Plaintext
23 lines
730 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: FileName at_buy_drgnshiel
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By: Script Wizard
|
||
|
//:: Created On: 03/08/24 10:36:48
|
||
|
//:://////////////////////////////////////////////
|
||
|
void main()
|
||
|
{
|
||
|
// Give the speaker the items
|
||
|
CreateItemOnObject("eagle002", GetPCSpeaker(), 1);
|
||
|
|
||
|
|
||
|
// Remove some gold from the player
|
||
|
TakeGoldFromCreature(40000, GetPCSpeaker(), TRUE);
|
||
|
|
||
|
// Remove items from the player's inventory
|
||
|
object oItemToTake;
|
||
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "NW_IT_MSMLMISC17");
|
||
|
if(GetIsObjectValid(oItemToTake) != 0)
|
||
|
DestroyObject(oItemToTake);
|
||
|
}
|