Difference between revisions of "Category:Workshop"

2 bytes removed ,  13:29, 25 April 2016
imported>Gawdl3y
imported>Gawdl3y
Line 72: Line 72:


Current constants:
Current constants:
  int iMaxSurplusNPCs = 5 const ; for now, max number of unassigned NPCs - if you have this many or more, no new NPCs will arrive. TODO - levels of workshop? Radio upgrades?
  int iMaxSurplusNPCs = 5 const ; for now, max number of unassigned NPCs - if you have this many or more, no new NPCs will arrive. TODO - levels of workshop? Radio upgrades?
  float attractNPCDailyChance = 0.1 const  ; for now, roll <= to this to attract an NPC each day, modified by happiness
  float attractNPCDailyChance = 0.1 const  ; for now, roll <= to this to attract an NPC each day, modified by happiness
  int iMaxBonusAttractChancePopulation = 5 const ; for now, there's a bonus attract chance until the total population reaches this value
  int iMaxBonusAttractChancePopulation = 5 const ; for now, there's a bonus attract chance until the total population reaches this value
  int iBaseMaxNPCs = 5 const ; base total NPCs taht can be at a player's town - this is used in GetMaxWorkshopNPCs formula
  int iBaseMaxNPCs = 10 const ; base total NPCs taht can be at a player's town - this is used in GetMaxWorkshopNPCs formula
  float attractNPCHappinessMult = 0.5 const ; multiplier on happiness to attraction chance
  float attractNPCHappinessMult = 0.5 const ; multiplier on happiness to attraction chance


Anonymous user