Morrowind Mod:XSetBaseGold
The UESPWiki – Your source for The Elder Scrolls since 1995
< Mod / Morrowind: Morrowind Mod: MWSE
A function added by MWSE.
xSetBaseGold changes the base amount of barter gold assigned to the NPC (or creature). Unfortunately this change won't be saved with the save game so you will need to reset it after each game reload or after the "72-hour bug" affects the merchant.
Syntax[edit]
ref->xSetBaseGold gold (long)
Example[edit]
long npcRef long newValue Setx npcRef to xGetRef "NPC_ID" Set newValue to 5000 npcRef->xSetBaseGold newValue
See Also[edit]
xIsFemale
xIsTrader
xIsTrainer
xIsProvider
xGetService
xSetService
xModService
xGetBaseGold
xGetGold
xSetGold