Initial commit
Initial commit [v9.7]
This commit is contained in:
23
_module/nss/gvtk_lvnhid1.nss
Normal file
23
_module/nss/gvtk_lvnhid1.nss
Normal file
@@ -0,0 +1,23 @@
|
||||
|
||||
void main()
|
||||
{
|
||||
// Give the speaker the items
|
||||
CreateItemOnObject("leviathanarmor", GetPCSpeaker(), 1);
|
||||
|
||||
|
||||
// Remove some gold from the player
|
||||
TakeGoldFromCreature(3000, GetPCSpeaker(), FALSE);
|
||||
|
||||
// Remove items from the player's inventory
|
||||
object oItemToTake;
|
||||
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "leviathanhide");
|
||||
if(GetIsObjectValid(oItemToTake) != 0)
|
||||
ActionTakeItem(oItemToTake, GetPCSpeaker());
|
||||
|
||||
object oTarget;
|
||||
|
||||
oTarget = GetObjectByTag("leviathanhide");
|
||||
|
||||
DestroyObject(oTarget, 1.0);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user