Script to multiply merchant gold?

Questions specific to OpenMW-CS can be asked, and content development related topics can be discussed here
Post Reply
Posts: 3
Joined: 16 Apr 2016, 19:36

Script to multiply merchant gold?

Post by BadManiac » 29 Dec 2017, 18:13

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.

Posts: 40
Joined: 26 Sep 2017, 19:13

Re: Script to multiply merchant gold?

Post by LoneWolf » 09 Jan 2018, 18:40

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.

Post Reply