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