ModMarket: Difference between revisions

From The Colonists
Jump to navigation Jump to search
Created page with "'''Mod Market Translation.csv''' == List of fields used in translation.csv for Market == Market Translation<br> placehol..."
 
No edit summary
Line 9: Line 9:
'''Mod Market '''
'''Mod Market '''
=JSON=
=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
  ]
}

Revision as of 18:14, 18 January 2022

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

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
 ]

}