Happiness and morale

Polaris Sector is a sci-fi 4X game that offers exciting exploration, detailed resource management, unique research mechanics and intense tactical combat.
Post Reply
robinbobin
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 2
Joined: Wed Mar 23, 2016 8:05 pm

Happiness and morale

Post by robinbobin »

Please could you explain what those do and how additional working hours work; setting them to 4% and to 100% showed no difference in production degrade speed and everything was close to zero in less than a year even though happiness and morale were maximal in race creation screen.
bjgrt
Administrative Corporal - SdKfz 232 8Rad
Administrative Corporal - SdKfz 232 8Rad
Posts: 158
Joined: Tue Feb 02, 2016 4:11 pm

Re: Happiness and morale

Post by bjgrt »

I'm also experiencing a huge problem with that "hidden" moral decrease. There is nothing shown in any of economy/planet screens, but the production is decreasing. Could be designed as a feature, but undocumented and not shown in stats is a very annoying bug.
RandomAttack
Sergeant - 7.5 cm FK 16 nA
Sergeant - 7.5 cm FK 16 nA
Posts: 220
Joined: Wed Oct 31, 2012 9:19 pm

Re: Happiness and morale

Post by RandomAttack »

Seem to be several good questions being asked in the forums, and no answers at all. That's kinda disappointing.
Ufnv
SoftWarWare
SoftWarWare
Posts: 725
Joined: Sun Oct 25, 2015 9:19 pm

Re: Happiness and morale

Post by Ufnv »

I can see no easy way to explain the decrease, it's just dropping gradually, depending on how hard workers are overburdened. The code is this:

Code: Select all

      if (OvertimeUnhappy)
      {
        CollectedOvertimeUnhappiness-=1.0f / (120.0f*10.0f*(1.0f+SavedOvertimeHappiness)*(1.0f+SavedOvertimeHappiness)); // unhappy in 120 years for maximum overtime
        
        OvertimeHappinessTrend = trendDecreasing;
        
        if (CollectedOvertimeUnhappiness<0.25f)
          CollectedOvertimeUnhappiness = 0.25f;
      }
      else
      {
        CollectedOvertimeUnhappiness+=1.0f / (300.0f*10.0f/(SavedOvertimeHappiness*SavedOvertimeHappiness)); // happy in 300 years for normal work
        
        if (CollectedOvertimeUnhappiness>1.0f)
        {
          CollectedOvertimeUnhappiness = 1.0f;

          OvertimeHappinessTrend = trendNone;
        }
        else
          OvertimeHappinessTrend = trendIncreasing;
      }
bjgrt
Administrative Corporal - SdKfz 232 8Rad
Administrative Corporal - SdKfz 232 8Rad
Posts: 158
Joined: Tue Feb 02, 2016 4:11 pm

Re: Happiness and morale

Post by bjgrt »

Can't say I understand the code, but the question was about the lack of any visible "overtime-unhappiness numbers" on any screens.
Post Reply

Return to “Polaris Sector”