CanAffordIt()

From NWN Lexicon
Jump to: navigation, search

This function checks to see if the player can afford to use the portal.

Description

This function is used by the official campaign to determine if the PC can afford to use the portal. The function also removes the requisite amount of gold from the PC. Found in: nw_all_feedback5.nss

Remarks

Used by official single-player campaign.

Requirements

#include "nw_all_feedback5"

Version

1.22

See Also



 author: Michael Nork