24 lines
731 B
Plaintext
24 lines
731 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: FileName at_givewhitdrgn
|
|
//:://////////////////////////////////////////////
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Script Wizard
|
|
//:: Created On: 03/08/28 05:33:56
|
|
//:://////////////////////////////////////////////
|
|
void main()
|
|
{
|
|
// Give the speaker the items
|
|
CreateItemOnObject("maarcl019", 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);
|
|
}
|