Script to multiply merchant gold?

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

Script to multiply merchant gold?

Post by BadManiac »

Hi,
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.
LoneWolf
Posts: 138
Joined: 26 Sep 2017, 19:13

Re: Script to multiply merchant gold?

Post 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.
Post Reply