Complex Barter & Trading System

I'm working on a game that places a heavy emphasis on trading. It's set in my own fictional setting inspired by Polynesian and Pre-Columbian Mesoamerican cultures.


It has a somewhat complex trading system that uses barter rather than money, and I was wondering if I could get some feedback on its design.

Mechanics
* Some items share an item group.
* The player has a Trading skill that goes from 0 to 100.
* As is the norm, items that the player sells are always worth half of what it would cost to buy them from the shop.
* You can buy back items that you've sold.
* Shops use a barter system wherein the player picks any number of items from their inventory and the shop's inventories that he/she wants to exchange. The system compares the total value of each side.
 - If the player's Trading skill is 0, the shop will only accept the trade if the items the player is offering are worth at least 20% more than the items the player wants in exchange.
 - If the player's Trading skill is 50, the shop will accept the trade if the items the player is offering and the items the player wants in exchange have an equal value.
 - If the player's Trading skill is 100, the shop will accept the trade even if the items the player wants in exchange are worth at 20% more than the items the player is offering.
 - The value of the items is not displayed, however. Instead a text box in the barter menu indicates whether or not the shop will accept the trade.
* Different shops sell and are willing to buy different kinds of items or item groups from you. For example, a blacksmith is willing to buy weapons, armor, and gems from you, but won't buy potions.
* A shop has a finite amount of each of its available items in stock.
* A shop has a limit to how much it can have of each available item in stock.
* Item groups are treated as being the same item when determining the maximum amount of them the shop can hold. For example, a shop that sells swords and daggers (both of which belong to an item group named Arms) and can usually hold 100 of an item can only hold a maximum amount of 50 swords and 50 daggers. The same rule applies if the player sells other items of the same item group, so in the previous example the player wouldn't be able to sell crossbows (which also belongs to the Arms item group) to that shop, even though the shop is normally willing to buy that item and has no crossbows in stock.
* The amount of an available item in a shop slowly refills or decreases each day until it is half of its maximum amount.
 - Items that the shop has bought from the player but doesn't normally sell decrease until they are gone.
* Each shop has it's own base price for each item. So the base price for potions might be 50 in one shop and 100 in another.
* An item's price is based on its base price and on how much of it the shop has in stock.
 - When an item stock is half full, the price is 100% (i.e. the normal price for that shop).
 - When an item stock is full, the price goes down to 50%. When the price of an item is down to 50%, the shop is no longer willing to buy that item from you or any other items belonging to the same item group.
 - When a shop is out of an item or item group, the price goes up to 150%. At this point, the shop cannot sell you that item until it's stock is refilled.
* Each city/town/village has its own development score, but all of them within a region also share a regional development score.
* A city/town/village's development and that of their entire region is influenced by your trade.
- When you trade with a shop, as long as an item's price doesn't go up by 140% or more, the development of its city/town/village increases and that of its region also increases by a small amount.
- If you buy so much of an item in a shop that its price is 140% or more, the development of its city/town/village decreases and that of its region also decreases by a small amount.
- If you buy until a shop is out of an item, the development of its city/town/village and region decreases twice as much as normal.
- If you sell an item to a shop until it has a maximum amount of that item, the development of its city/town/village and region increases twice as much as normal.
- Buying slaves (yes, my game will feature slave trade) always decreases a region's development, while it otherwise has the normal effect of trade on the city/town/village's development.
* When the development of a city/town/village increases, special events may trigger and its shops can sell more kinds of items and the maximum amount of each item they can hold increases.
* When the development of a city/town/village decreases, special events may trigger and its shops sell less kinds of items and the maximum amount of each item they can hold decreases.
* A region's development puts a limit to the minimum and maximum of all of its cities/towns/villages development scores. So if a region's development score is high, those of its cities/towns/villages will also be high, but to a varying amount; and if a region's development score is low, those of its cities/towns/villages will be low.



I hope this made sense. If it doesn't, I'll try to make it clearer.


Do you think this kind of trade system be too hard for players to learn or use? Would it be annoying to not know the exact value of each item?


Also, I don't know Javascript, so I'm not sure whether or not it would be possible to create a plugin for this trade system, or how difficult it would be.
While it sounds cool in concept, there are a lot of mechanics here that could make a standard RPG unnecessarily complex or even obscure (in the sense of not having clarity) for the player.  But you said that you want this to be a major factor in your gameplay and your world, so it might be okay.  I'm picturing this level of complexity being fine if 20-50% of the player's total time, energy, and focus in your game should be around this trade/economy system.  You will want to spend a lot of your own time and energy into figuring out ways to introduce the player to each element in natural and clear ways - through plot events, through tutorials, through contextual help information, etc.


Comments on a few of the specifics:

  • Possible abuse with Trading Skill over 50: you could, for example, offer an item you know to be of very high value in exchange for another item of very high value plus an item of low value.  Then you can offer the item you just got in exchange for the item you gave away plus another item of low value.  Now you've gotten two free items of low value.  Repeat infinitely to break the balance of the game.
  • Also possible abuse with buying/trading in bulk to manipulate prices (e.g. flood a merchant with lots of an item while it's still at a high price, then buy it back at the newly-lowered price).  Be sure to account for flooding tactics when setting prices/trading logic.
  • Merchants not accepting certain items (e.g. Blacksmith doesn't want Potion) could be particularly annoying unless traveling to buy and sell items at a profit is supposed to be a huge element of the game's appeal.  Make sure you set expectations properly.
  • I don't think it would be annoying to not know the "true value" of an item, so long as the player has some way to guess the general value of it.  What's worth more in this world - a rare flower, a gourmet meal, a simple machine, or an autograph?  The player might not have any way to know.  You could have the merchants/traders make comments about things as you put them on the trading table ("Oh, I didn't know you dealt in high-quality stuff like this!"), or you could have general terms like "Fairly valuable" and "Nearly worthless" in the item descriptions or an in-game reference guide.
  • Consider how you want time to affect your game's economy - development, flow of goods, changes in prices, all of these are dependent on time unless you are making the player the only dynamic actor (that can change the price/quantity/availability/development of things) in the world.  Think about whether you want time to pass in relation to gameplay time, real-world time, or the activation of plot events in the adventure - each have big strengths and weaknesses.
Thanks for taking the time to give me feedback. I really appreciate it. //rmwforums.s3.amazonaws.com/emoticons/default_biggrin.gif


As I said in the OP, trading will be a huge part of my game. The player will spend a good chunk of their play time engaged in trade.


My responses to your comments:

  • Everything you sell is worth half as much as it would cost you to buy them in that particular shop. So there is no gain in selling anything back to the merchant you bought it from.
  • Damn, you're right! Okay, so here are two different solutions: 1)the player cannot sell the items that are usually sold in an area (so, for example, a village that sells corals and pearls won't buy those particular items from the player), or 2)setting the value of items to 25% when sold to shops that usually sells those items. I'm thinking solution 2) is probably the best one. However, flooding the market is a valid strategy when buying and selling different items that belong to the same item group, but to do that the player has to travel between different cities/towns/villages.
  • Yes, traveling to buy and sell items at a profit is an important aspect of my game. Though, the blacksmith thing was just an example and won't actually be used in the game. The items that certain shops won't accept should be fairly obvious to the player. Generally speaking, a merchant won't buy what would be difficult for them to sell (for example, a slaver won't trade slaves for a cargo of fruit, because fruit is considerable more difficult to sell off than, say, pearls).
  • I was thinking of communicating this to the player via a combination of NPC dialogue and item descriptions. Talking to NPCs would let the player know what goods are cheap in town, what the local merchants usually buy from traders, what the town desires to buy, and in which city/town/village the player might be able to sell what is produced in town for profit. The main quest would also teach the player to talk to NPCs in order to gain this information.
  • These are some good points. I'll have to think them over.

Original thread: https://forums.rpgmakerweb.com/threads/complex-barter-trading-system.58208/