Category:Money Functions

From NWN Lexicon
Jump to navigationJump to search

Money Function Category

Functions that deal with money.



Functions

Name Brief Description

GetFactionGold

Get the amount of gold held by all members of a certain faction.

GetGold

Gets the amount of gold that a creature possesses.

GetGoldPieceValue

Determines the value of an item in gold pieces.

GetReactionAdjustment

Gets the adjusted Reaction for the purposes of store pricing.

GetStoreGold

Returns the amount of gold a store currently has

GetStoreIdentifyCost

Determines how much a store charges to identify items

GetStoreMaxBuyPrice

Gets the maximum amount a store will pay for any item

GiveGoldToAll

Gives an amount of gold to each PC in a PC's party

GiveGoldToAllEqually

Divides a given amount of gold equally among PCs in a PC's party

GiveGoldToCreature

Creates the specified amount of gold on the creature.

HasGold

Determines if a player has more than a certain amount of gold on them.

RewardGP

Gives gold as a reward to a player and possible their party members.

RewardPartyGP

Give gold to PC or PC's entire party

SetStoreGold

Sets the amount of gold a store has

SetStoreMaxBuyPrice

Sets the maximum amount a store will pay for any item

TakeGold

Removes a given amount of gold from the targets inventory, and optionally removes it from the game.

TakeGoldFromCreature

Takes a specified amount of gold away from a creature.