Page 1 of 1

Script to multiply merchant gold?

Posted: 29 Dec 2017, 18:13
by BadManiac
I'm new to Morrowind modding/scripting, so I hope I can get some help here.

Would it be possible to make a script that runs when you select the "Barter" option in the NPC dialogue window, or when the bartering window itself opens? And how would you implement that? My idea is to make the Merchant gold multiply depending on the merchant and player Mercantile skills.

Hope someone can point me in the right direction here.

Re: Script to multiply merchant gold?

Posted: 09 Jan 2018, 18:40
by LoneWolf
I looked, but the gold a NPC merchant has doesn't appear to be viewable or settable from script.
( NPC attributes & skills are changeable though. )

The description of additem function suggest you could use that to increase / decrease gold in a script attached to the npc though.
A downside would be that the change is likely to last only until the merchant gold is replenished.