# Difference between revisions of "Category:Morale Buildings"

Unofficial category. Contains all buildings that have to do with city morale.

This table shows each morale building and the math for finding the required amount of professional jobs.

The first building is required when the population reaches the threshold. Additional buildings are required based upon the formula shown.

Here is the math, expressed like a one-line if in C++. i.e. When p >= t, the formula is used and when p < t the result is 0.

`p = population`
`t = threshold`
`r = required`

`r = p >= t ? max(floor(population/(t*3)), 1) : 0`

This produces a step pattern like this: t, t*2, t*3, t*3, t*3...

Building Threshold City Math City Threshold Base Math Base
Arena 175 Required = floor(Population / 525) n/a Required = 0
Cantina 50 Required = floor(Population / 150) 50 Required = floor(Population / 150)
Casino 200 Required = floor(Population / 600) n/a Required = 0
Church 45 Required = floor(Population / 135) n/a Required = 0
Grocery 100 Required = floor(Population / 300) n/a Required = 0
Hospital 80 Required = floor(Population / 240) n/a Required = 0
Park 90 Required = floor(Population / 270) n/a Required = 0
Retail Store 55 Required = floor(Population / 165) 55 Required = floor(Population / 165)
University 70 Required = floor(Population / 210) 250 Required = floor(Population / 750)
Zoo 150 Required = floor(Population / 450) n/a Required = 0

## Pages in category "Morale Buildings"

The following 10 pages are in this category, out of 10 total.