Console command to give gold to merchants

Post » Thu Jul 28, 2011 1:18 am

Is there a console command to give money to any NPCs? Or any items for that matter?
User avatar
Brandi Norton
 
Posts: 3334
Joined: Fri Feb 09, 2007 9:24 pm

Post » Thu Jul 28, 2011 10:38 am

yes. Open up the console, click on the NPC and type:
additem gold_001 "value"

replacing "value" with the amount of gold.

For items, you need to find the item ID, which can be found in the CS, or on the UESP.

I wonder though, why would you want to give an NPC money?
User avatar
daniel royle
 
Posts: 3439
Joined: Thu May 17, 2007 8:44 am

Post » Thu Jul 28, 2011 4:06 am

yes. Open up the console, click on the NPC and type:

replacing "value" with the amount of gold.

For items, you need to find the item ID, which can be found in the CS, or on the UESP.

I wonder though, why would you want to give an NPC money?


I tried doing that to a merchant, but their gold value remained the same.

I wanted to sell a set of daedric armor to an merchant so she could wear it to see if a mod had worked correctly.
User avatar
Lucky Boy
 
Posts: 3378
Joined: Wed Jun 06, 2007 6:26 pm

Post » Thu Jul 28, 2011 9:07 am

I tried doing that to a merchant, but their gold value remained the same.

I wanted to sell a set of daedric armor to an merchant so she could wear it to see if a mod had worked correctly.

You could find an enchanter who will buy armor, make a few expensive enchanted items, and then the merchant should have enough gold to buy the armor.
User avatar
Jennifer Rose
 
Posts: 3432
Joined: Wed Jan 17, 2007 2:54 pm

Post » Thu Jul 28, 2011 3:52 pm

Sounds like too much of a hassle. Any reason why this console command doesn't give gold to npcs for me? Also, when I type in a specific number of gold to give me, like player->additem gold_001 90000, it'll give me a random low number like 2400 or something. Is that normal?
User avatar
Erin S
 
Posts: 3416
Joined: Sat Jul 29, 2006 2:06 pm

Post » Thu Jul 28, 2011 4:12 pm

To alter how much gold a Merchant can Barter with, you have to edit that in the Construction Set.
Barter amount is a variable in their AI Services listing, so cannot be altered in-game with the console.

it'll give me a random low number like 2400 or something. Is that normal?

Yes, there seems to be a limit to how much gold you can give yourself at once.
Try 5000, that smaller number should function correctly. And then you can repeat the command a few times until you have the amount you want.
User avatar
Lawrence Armijo
 
Posts: 3446
Joined: Thu Sep 27, 2007 7:12 pm

Post » Thu Jul 28, 2011 2:46 pm

I think that the limit for additem command is 65535.

Edit: yep, 65536 gives an error and gives 1 coin, and anything above counts again from 0, so 65538 gives 2 gold.
User avatar
Charles Weber
 
Posts: 3447
Joined: Wed Aug 08, 2007 5:14 pm

Post » Thu Jul 28, 2011 9:47 am

Ah, i see. I thought a mod may have altered this.
User avatar
Ash
 
Posts: 3392
Joined: Tue Jun 13, 2006 8:59 am


Return to III - Morrowind