Jump to content

New Kind of Merchant


MichikoUnknownFox

Recommended Posts

Hey guys. I don't know if this kind of mod has been done in FO3 before. I tried searching and can't find anything of the sort.

 

So I know how to make a regular merchant and give him AI packages so he can travel like the other trade caravans. But I want to make a special one that you can give items to, which he'll try to "sell" to the other wastelanders he meets along his trade route. So that when you meet him again, he'll give you your share of the income.

 

My main problem is I don't know how to store a list of the items you gave him. I also don't want him to instantly be able to sell everything you give him. That would be unrealistic. I want to make it so that highly consumable items like ingestibles, ammo and bobby pins go quickly, weapons and armor are a little slower, and other miscellaneous items are the slowest. I would also like the option to take back any unsold items if you give up on trying to have him sell something that just isn't popular among wastelanders, for example.

 

Any ideas on how I could accomplish any of that?

 

I think storing a list would be as simple as giving him a separate container for the stuff you want to sell. How do I remove a random item, using the "popular items" algorithm I mentioned earlier, from that container and calculate the cost of it so that the player gets that much as each item is "sold"?

Link to comment
Share on other sites

Ah thanks for the heads up. I think I saw her before but I wasn't interested in such a mod so I never installed and eventually forgot about her. I'll check out how it handled the selling items for you part. In fact, the description of the mod seems to do a lot of the things I want to do, and more.

 

- edit: I checked the mod out and it's all kinds of complicated. And even with that, the merchant doesn't handle selling mod-added items. That was sadly one of my main motivations for wanting to make this mod, because I've collected too many weapons from Apocalypse Armory, which adds quite a few new weapons to the game, and would like to sell them in an interesting way.

 

I'm going to have to see if I can figure out a different way of approaching it. Worst case scenario is needing to do compatibility patches for all the possible item-adding mods. I'd like to avoid that if I can, but I'll take whatever makes it possible to do what I want.

Edited by HosokawaTakuya
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...