Big Pharma Wiki
Advertisement

Back to modding

Scenarios.data[ | ]

The scenarios.data file contains an array of 'scenario' objects which can define the scenarios and related 'challenges' of the game.

Example Scenario[ | ]

"scenario":{
   "id":"quickstart",
   "sizeX":3,
   "sizeZ":3,
   "gameSettings":{
      "competitorTable":[["random","normal"],["random","normal"]],
      "startingMoney":50000,
      "plotCost":1.0,
      "cureMarginBonus":0.1,
      "disabledResearch":[],
      "startingResearch":["research_start","research_evaporator"]
   },
"startingIngredients":3,
"ingredients":[ 
{"type":"forest","n":4,"catalysts":[],"minSideEffects":1,"extraSideEffects":0,"maxConcAway":2,"noCatalystReq":2,"projectSizes":[1,1,1,1]},
{"type":"forest","n":3,"catalysts":[2,1],"minSideEffects":1,"extraSideEffects":1,"maxConcAway":2,"projectSizes":[2,2,3]}

] }

Scenario Keys[ | ]

  • id - the unique id for this scenario . This is used to look up the display both the TITLE and DESCRIPTION text associated with this scenario in strings-xx.data.
  • sixeX/sizeZ - the factory size for all Challenges in this Scenario
  • gamesettings - array of settings for all Challenges in this Scneario
    • competitorTable - array of paired AI-name and AI-difficulty
    • startingMoney - starting money for all Challenges in this Scenario
    • plotCost - ratio of plot cost to 'nominal' plot cost?
    • cureMarginBonus - ?
    • disabledResearch - array of Research Items removed from game
    • startingResearch - array of Research Items unlocked at start of game
  • startingIngredients - number of ingredients unlocked at start of game

Ingredients Keys[ | ]

  • type - which of the 4 Exploration Areas for the ingredients for this group
  • n - number of ingredients in this group
  • catalysts - array of possible catalyst levels (from 2 to 6) in this group that can randomly be selected??
  • minSideEffects - minimum number of side effects in each ingredient in this group
  • extraSideEffects - maximum number of side effects in each ingredient in this group
  • maxConcAway - maximum the starting concentration can be from active Cure range for each ingredient in this group
  • noCatalystReq (optional) - number of ingredients in this group with no catalyst???
  • projectSizes - array of number of explorers for each ingredient - array size must match "n" in this group

Example Challenge[ | ]

{
"id":"bottomLine",
"conditions":[
   {"totalRevenue":[1000000,3000000,10000000]},
   {"beforeYears":[10]}
   ]
}

Challenge Keys[ | ]

  • id - the unique id for this challenge. This is used to look up the display text associated with this challenge in strings-xx.data.
  • conditions - array of conditions to beat the challenge. Conditions can have a single value, or 3 values for rankings of "standard, expert, master"

Challenge-Conditions Keys[ | ]

  • beforeYears - time limit for the Challenge
  • totalRevenue - total revenue for the Challenge
  • operatingProfit - Operating Profit for the Challenge
  • productProfit[howMany, value] - Profitability for Drug for the Challenge
  • productLevel[howMany, value] - Drug Cure Level for the Challenge
  • singleProductRevenue - Revenue from a single Drug product for the Challenge
  • totalProducts - Number of total Drug Producs for the Challenge
  • cureSupplied[id, value] - Drug Cure supplied for the Challenge
  • cureTreated[id, value] - Number of Cure Treated for the Challenge
  • cureDemand[id, value] - Level of Cure Demand for the Challenge
  • minCureRating - Minimum Cure Rating for the Challenge
  • noSideEffects[true:false] - No side effects allowed for the Challenge
  • researchUpgrades - Number of Research Items Upgraded for the Challenge
  • noLoan - Maximum Loan existing for the Challenge???
Advertisement