Morrowind Mod:XGetBaseGold

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search

A function added by MWSE.

xGetBaseGold returns the base amount of barter gold assigned to the NPC (or creature) in the Construction Set. This is the value that resets automatically each day.

Syntax[edit]

gold (long): ref->xGetBaseGold

Example[edit]

long npcRef
long result

Setx npcRef to xGetRef, "npc"
Setx result to npcRef->xGetBaseGold

See Also[edit]

xIsFemale
xIsTrader
xIsTrainer
xIsProvider
xGetService
xSetService
xModService
xGetGold
xSetBaseGold
xSetGold