nw_i0_tool
NOTE: This file contains several constants and functions that are also present in nw_i0_plot.Constants
| Name | Value | Brief Description | DC_EASY | 0 | DC_MEDIUM | 1 | DC_HARD | 2 | G_CLASSCHANCE | 70 | This is used by some of the template scripts 100 - this number is the chance of that dialog appearing. |
|---|
Functions
| Name | Brief Description |
|---|---|
| AutoDC | Returns a pass value based on the object's level and the suggested DC. |
| CheckPartyForItem | Check party for possession of an item. |
| DoGiveXP | Gives the designated XP to the object using the design rules for XP distribution. |
| HasGold | Checks to see if the player has (at least) specific amount of gold. |
| HasItem | A wrapper to simplify checking for an item. |
| RewardPartyGP | Give gold to PC or PC's entire party |
| RewardPartyXP | Gives experience to a PC and (optionally) all party members. |
| TakeGold | Takes nAmount of gold from the object speaking. By default, the gold is destroyed. |
author: Charles Feduke, editor: Mistress
Send comments on this topic.