Category:Inventory Functions
From NWN Lexicon
[edit] Inventory Function Category
Functions that deal with a character's inventory.
[edit] Functions
| Name | Brief Description |
|---|---|
| Puts an item in possesion into an inventory slot. | |
| Causes the calling creature to equip the best armor in its inventory. | |
| Gives a specified item to a target creature. | |
| Causes subject to run to an item and place it in inventory. | |
| Causes the subject to place an item on the ground at it's feet. | |
| Takes an item from an object | |
| Makes the executing creature unequip an object and place it in their inventory. | |
| Check party for possession of an item. | |
| Duplicates the object specified. | |
| Create a specific item in an objects inventory | |
| Determines if the PC carries the proper items to create a new item. | |
| Determines if an item can be dropped. | |
| Determines the first item in an object's inventory. | |
| Determine whether an object has an inventory. | |
| Returns the disturbing item in an inventory OnDisturbed event. | |
| Determines the type of disturbance of an inventory. | |
| Check to see if any character in the party has the specified item. | |
| Retrieve the item in a given inventory slot of a creature. | |
| Get an item with a specific tag in a given creature or placeable's inventory. | |
| Check to see if the specified item belongs to anyone in the party. | |
| Get the creature or object who possesses a specified item. | |
| Determines the number of stacked items contained within an inventory object. | |
| Determine who last disturbed the inventory of an object or creature. | |
| Gets the creature that last opened or destroyed the container calling this script. | |
| Returns the lootable state of a creature | |
| Get the item acquired on an OnAcquiredItem event. | |
| Retrieves an object that acquired a module item. | |
| Get the last owner of the item acquired on an OnAcquiredItem event. | |
| Determines the stack size of an item belonging to a module that was just acquired. | |
| Get the object that was dropped on an OnUnAcquiredItem event. | |
| Get the creature that lost the item on an OnUnAcquiredItem event. | |
| Determines the first item in an object's inventory. | |
| Gets the number of the item that the target carries. | |
| Determines the number of stacked items contained within an inventory object. | |
| Returns the last equipped item | |
| Returns the PC that last equipped an item | |
| Returns the last unequipped item | |
| Get the PC who last unequipped an item | |
| Determines if the item can be pickpocketed. | |
| Determine if an item has been stolen. | |
| Retrieves the weight of an individual item, or the weight of all objects carried by a single creature. | |
| Gives the target the number of items specified. | |
| Cycles through the players inventory looking for any item that has a certain Base Item Type. If the Base Item Type is Armor, make sure the AC matches. | |
| Determines if a player has more than a certain amount of gold on them. | |
| Determines if a creature possesses an item. | |
| Strip everything droppable in the regular, non-equipped, inventory. | |
| Loot all the droppable items from the inventory slots of the victim into the inventory of the corpse object. | |
| Opens a player's inventory panel. | |
| Removes the specified item from whichever member of the party has it. | |
| Sets the number of charges left on a given item. | |
| Set the number of items in a given stack. | |
| Sets whether a creature leaves a lootable corpse upon death | |
| Sets the pickpocketable flag on the item. | |
| Set whether the item is stolen | |
| Forces a creature to equip a skin item in its creature armor inventory slot. | |
| Retrieves a creature's skin item or creates a new one and forces an equip if the creature does not already have one. | |
| Removes henchmen 'hired' items for use in the original campaign. | |
|
Removes the item returned by GetArtifactItem from the player's inventory. | |
| Removes the plot related item from a player's inventory. | |
| Removes the plot related item from a player's inventory. | |
| Removes a given amount of gold from the targets inventory, and optionally removes it from the game. | |
| Takes the number of items specified from the target. | |
| Removes the plot related item from a player's inventory. | |
| Used for Potions of Enhancement and Protection |
author: NWN Lexicon Group, editor: Mistress, contributor: Axe Murderer
Pages in category "Inventory Functions"
The following 65 pages are in this category, out of 65 total.