X0 i0 plotgiver
From NWN Lexicon
[edit] x0_i0_plotgiver
Library for plotgiver NPCs.<br /><br />NOTE: This file includes x0_i0_common.
[edit] Constants
| Name | Value | Brief Description |
|---|---|---|
| QUEST_COMPLETE | 2 | Quest status. |
| QUEST_COMPLETE_OTHER | 3 | Quest status. |
| QUEST_IN_PROGRESS | 1 | Quest status. |
| QUEST_NOT_TAKEN | 0 | Quest status. |
| sQuestItemSuffix | _QI | Suffix tacked on to the quest item for this NPC. |
| sQuestSuffix | _Q | Suffix tacked on for quest status. |
| sQuestVarname | QUEST_STATUS | Variable on NPC monitoring quest status. |
| sPlotItemSuffix | _PI | Suffix tacked on to the plot item for this NPC. |
| sRewardItemSuffix | _RI | Suffix tacked on to the reward item for this NPC. |
[edit] Functions
| Name | Brief Description |
|---|---|
| Returns the plot item's tag | |
| Returns the quest item's tag. | |
| Returns a PC's quest status. | |
| Gets the giver's quest tag. | |
| Gets the NPC's local variable name for the given quest. | |
| Returns the reward item tag. | |
| Create the quest item on the player. | |
| Creates a reward item on the PC. | |
| Checks the PC's party for an item. | |
| Checks if the PC's party possesses a given quest item. | |
| Checks the PC's party for the reward item. | |
| Sets that a PC has taken a quest | |
| Sets a quest as finished or done. | |
| Take the plot item from oPC's party. | |
| Removes a quest item from a PC's party. |
author: Charles Feduke, editor: Mistress