Initial commit. Updated release archive.
This commit is contained in:
23
_module/nss/at_givewhitdrgn.nss
Normal file
23
_module/nss/at_givewhitdrgn.nss
Normal file
@@ -0,0 +1,23 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: 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);
|
||||
}
|
Reference in New Issue
Block a user