GetValidItemCost()

Used to determine the cost of making an item at the forge.

int GetValidItemCost();

Description

Returns an integer from the Local variable "M3Q1_VALIDITEMCOST" on the calling object.



Remarks

Function found in nw_o0_itemmaker.nss on line 258.

Checks a local integer "M3Q1_VALIDITEMCOST" on the OBJECT_SELF object to determine the cost of an object. This would need to be called from a script that executes on an object.


Requirements

#include "NW_O0_ITEMMAKER"

Version

1.22

See Also

functions: SetValidItem | SetValidItemCost | SetValidItemCostToken
categories: Module Specific Functions


 author: John Shuell, editor: Charles Feduke, additional contributor(s): Ivan Hawkes