nw_i0_tool

NOTE: This file contains several constants and functions that are also present in nw_i0_plot.

Constants

NameValueBrief Description
DC_EASY0
DC_MEDIUM1
DC_HARD2
G_CLASSCHANCE70This is used by some of the template scripts 100 - this number is the chance of that dialog appearing.

Functions

TakeGold
NameBrief Description
AutoDCReturns a pass value based on the object's level and the suggested DC.
CheckPartyForItemCheck party for possession of an item.
DoGiveXPGives the designated XP to the object using the design rules for XP distribution.
HasGoldChecks to see if the player has (at least) specific amount of gold.
HasItemA wrapper to simplify checking for an item.
RewardPartyGPGive gold to PC or PC's entire party
RewardPartyXPGives experience to a PC and (optionally) all party members.
TakeGoldTakes nAmount of gold from the object speaking. By default, the gold is destroyed.


 author: Charles Feduke, editor: Mistress
 Send comments on this topic.