nw_o0_itemmaker
Functions
Name | Brief Description |
---|---|
CanAfford | Determines if the player has enough gold in their inventory to pay for creating an item at the forge. |
CreateForgeItem | Used to create magic items at a "forge" container. |
dbSpeak | A debug function with a no-op implementation |
GetBackpackMatch | Determines if the PC carries the proper items to create a new item. |
GetForgeMatch | Checks to see if the nPos item matches the current reward |
GetIsMagical | Checks for predefined groups of magical effects on an item to determine if it is magical. |
GetIsValidCombination | Determines if items within a container are valid for combining into a new item. |
GetItemPosition | Returns the position of a variable in an array containing a list of possible base types that can be created. |
GetLocalArrayInt | Simulates retrieving an Integer from an array on an object. |
GetLocalArrayString | Simulates retrieving a String from an array on an object. |
GetValidItem | Gets a name of an item that can made at the Forge in the official campaign. |
GetValidItemCost | Used to determine the cost of making an item at the forge. |
HasAnyItemOfBaseType | 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. |
IsMisc | Returns true if the basetype of the item is one of the misc. types of basetype. |
IsValidBaseItem | Checks to see if the baseitem type matches the one in the array AND if the item is "magical" |
nNumberOfCombos | Returns number of possible combinations |
PlaySuccessVisual | Applies the visual effect for improved ability score to a target. |
SetLocalArrayInt | Simulates storing a local integer in an array. |
SetLocalArrayString | Simulates storing a local string in an array. |
SetValidItem | Specifices the location in a PC's inventory where a valid item exists for the Smithy plot in original campaign. |
SetValidItemCost | Specifies the amount of gold the combined item is worth during the Smith plot in original campaign. |
SetValidItemCostToken | 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
Send comments on this topic.