View Issue Details

IDProjectCategoryLast Update
0017117Stars Beyond ReachBug - OtherJun 12, 2015 7:10 pm
ReporterSounds Assigned Tokeith.lamothe  
Status resolvedResolutionfixed 
Product Version0.874 (Power and Linguistics) 
Fixed in Version0.890 (Overhaul to Territories) 
Summary0017117: Jobs math?
DescriptionI see in the tool tip that my current number of jobs is negative sixty out of eighteen jobs. Either the math is wrong or the tool tips needs some rewording.
TagsNo tags attached.

Activities

Sounds

Jun 5, 2015 9:15 pm

reporter  

SBR-beta-g2-JobMath.png (49,399 bytes)   
SBR-beta-g2-JobMath.png (49,399 bytes)   

Sounds

Jun 5, 2015 9:45 pm

reporter  

SBR-beta-g2-JobMath2.png (47,470 bytes)   
SBR-beta-g2-JobMath2.png (47,470 bytes)   

ptarth

Jun 6, 2015 12:23 am

reporter   ~0041855

Negative unfilled jobs means you have more pop than jobs. I think. I always get that mixed up.

mooncows

Jun 6, 2015 12:26 am

reporter   ~0041856

Ya im fairly certain the - means more people than work and + means more work than people. I think Chris already knows this needs some rewording. Any Ideas that don't add more into the top tooltip?

ptarth

Jun 6, 2015 11:41 am

reporter   ~0041891

case CityDisplayValue.Jobs:
        {
            int num6 = Mathf.FloorToInt(city.GetTotalLayerProperty(LayerPropertyType.StaffedBy, false));
            int num7 = Math.max(0, num6 - city.Population);
            int num8 = Mathf.FloorToInt(city.GetTotalLayerProperty(LayerPropertyType.CitizensEntertained));
            int num9 = Math.min(num8, city.Population - num6);
            int num10 = Math.max(0, city.Population - num6 - num8);
            arcenCharacterBuffer.Add(string.Format(Language.Current.GetValue("CitySectionTooltip_Efficiency"), num7.ToString(format), num6.ToString(format),num8.ToString(format),num9.ToString(format),num10.ToString(format)));
            break;
        }
        
<ln id="CitySectionTooltip_Efficiency">This city has [#ffe178]{0}[#ffffff] unfilled jobs out of [#ffe178]{1}[#ffffff] total jobs.
This city has [#ffe178]{3}[#ffffff] citizen entertained and facilities to entertain [#ffe178]{2}[#ffffff] citizens.
This city has [#ffe178]{4}[#ffffff] citizens without jobs or entertainment.</ln>

I think this would address most of this major complaints in regards to this tooltip.

mooncows

Jun 6, 2015 11:42 am

reporter   ~0041892

Ya.. I dont understand that haha but ill take your word for it

keith.lamothe

Jun 12, 2015 7:10 pm

administrator   ~0042202

For 0.878 (this is broader than any one mantis issue, but it all goes together) :

=== Top Bar HUD Overhaul ===

* Thanks to jerith, ptarth, iozay, Sounds, mooncows, Billick, kasnavada, tbrass, Mick, Elijah, YoukaiCountry, GarathJJ, SugeBearX, and others for inspiring these changes.

* The Jobs, Housing, Meals, Crops, and Water sections:
** Now display as a percent of how much you have relative to how much you need for your planned (current + disabled + under construction) jobs/population.
** Have reworked logic for whether they show up grayed-out, white, or red.
** Have totally reworked tooltips noting how much is disabled and under construction and various other things.
** Can now be clicked to bring up a "ledger" window showing the buildings impacting the relevant number(s).

* The Repairs section now also has a click-for-ledger behavior.

* The Trash and Graves sections now display the number of turns until you're expected to run out of dumps/graves, or "---" if you're not having a net filling at all, or "CAP!" if you're already at cap and still producing more than is consumed.
** And if they're <= 5 turns to cap, or capped, they flash red.
** The graves count against an estimated number of new bodies to expect next turn, based on recent turns (note that this recent turn data isn't in old saves, so it can take a bit for this to catch up there).

* The Max Population tooltip now lists the individual limiting factors (housing, meals, crops, water) and which of them are actually holding the number down.

Thanks :)

Issue History

Date Modified Username Field Change
Jun 5, 2015 9:15 pm Sounds New Issue
Jun 5, 2015 9:15 pm Sounds File Added: SBR-beta-g2-JobMath.png
Jun 5, 2015 9:45 pm Sounds File Added: SBR-beta-g2-JobMath2.png
Jun 6, 2015 12:23 am ptarth Note Added: 0041855
Jun 6, 2015 12:26 am mooncows Note Added: 0041856
Jun 6, 2015 11:41 am ptarth Note Added: 0041891
Jun 6, 2015 11:42 am mooncows Note Added: 0041892
Jun 9, 2015 8:02 pm Chris_McElligottPark Assigned To => keith.lamothe
Jun 9, 2015 8:02 pm Chris_McElligottPark Status new => assigned
Jun 12, 2015 7:10 pm keith.lamothe Note Added: 0042202
Jun 12, 2015 7:10 pm keith.lamothe Status assigned => resolved
Jun 12, 2015 7:10 pm keith.lamothe Fixed in Version => 0.890 (Overhaul to Territories)
Jun 12, 2015 7:10 pm keith.lamothe Resolution open => fixed