ModMarket: Difference between revisions

From The Colonists
Jump to navigation Jump to search
No edit summary
 
Line 7: Line 7:
Add other Market specific info later
Add other Market specific info later


Note that market prices and related info in market.json will be ignored if a Custom Map editor specifies market item prices and related info.<br>
'''Mod Market '''
'''Mod Market '''
=JSON=
=JSON=
<pre>
<pre>

Latest revision as of 20:14, 10 October 2024

Mod Market Translation.csv

List of fields used in translation.csv for Market

Market Translation

placeholder for now - to link to translation.csv for Market

Add other Market specific info later

Note that market prices and related info in market.json will be ignored if a Custom Map editor specifies market item prices and related info.
Mod Market

JSON

{
  "itemInfoDict": { // list of resources to be Bought/Sold
    "TOOLS": { //resource name OR id
      "startingPrice": 5.0 // Sell price
    }
  },
  "defaultCommissionPercent": 0.5,  // commission for Buying
  "reputationPerDollar": 0.25, // reputation points awarded for $ transaction
  "reputationLevels": [ // levels that can be obtained by trading, can be more than 5
    {
      "reputation": 0,
      "amount": 0,
      "benefitDescrStr": "",
      "tradeTerminalAllowanceIncrease": 0
    },
    {
      "reputation": 1, // rep level
      "amount": 100,  // reputation points needed to reach this level
      "benefitDescrStr": "TraderReputationReward", // entry in translation.csv shown when level reached (usually an additional Space Port)
      "tradeTerminalAllowanceIncrease": 1 // # of additional Space Ports allowed
  ]
}

Icon

None

3D Models

None