Nw o0 itemmaker
From NWN Lexicon
[edit] nw_o0_itemmaker
General Magic Item + Reagent smith system. Uses CustomToken #777.
NOTE: This file includes nw_i0_plot .
[edit] Functions
Name | Brief Description |
---|---|
Internal function. Determines if the player has enough gold in their inventory to pay for creating an item at the forge. | |
Used to create magic items at a "forge" container. | |
Internal function. A debug function with a no-op implementation. | |
Internal function. Determines if the PC carries the proper items to create a new item. | |
Internal function. Checks to see if the nPos item matches the current reward. | |
Internal function. Checks for predefined groups of magical effects on an item to determine if it is magical. | |
Internal function. Determines if items within a container are valid for combining into a new item. | |
Internal function. Returns the position of a variable in an array containing a list of possible base types that can be created. | |
Simulates retrieving an Integer from an array on an object. | |
Simulates retrieving a String from an array on an object. | |
Internal function. Gets a name of an item that can made at the Forge in the official campaign. | |
Internal function. Used to determine the cost of making an item at the forge. | |
Internal function. 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. | |
Internal function. Returns true if the basetype of the item is one of the misc. types of basetype. | |
Internal function. Checks to see if the baseitem type matches the one in the array AND if the item is "magical". | |
Internal function. Returns number of possible combinations. | |
Internal function. Applies the visual effect for improved ability score to a target. | |
Simulates storing a local integer in an array. | |
Simulates storing a local string in an array. | |
Internal function. Specifies the location in a PC's inventory where a valid item exists for the Smithy plot in original campaign. | |
Internal function. Specifies the amount of gold the combined item is worth during the Smith plot in original campaign. | |
Internal function. Specifies the amount of gold extra that is needed to create a magical item during the Smithy plot line of the original campaign. |
author: Charles Feduke, editor: Mistress, contributor: Graewerld