Cities: Skylines

Cities: Skylines

63 ratings
Commercial Happiness Fix
   
Award
Favorite
Favorited
Unfavorite
Mod
File Size
Posted
Updated
23.040 KB
Aug 25, 2022 @ 5:48pm
Jul 4, 2023 @ 3:04pm
4 Change Notes ( view )

Subscribe to download
Commercial Happiness Fix

In 1 collection by infixo
Infixo's mods
5 items
Description

This is a custom fix for a well known problem of not being able to raise the Commercial Happiness significantly above 80%. Happiness ratio is a sum of a few components like workers' health and wellbeing, stockpile, customers, etc. This mod changes how one of those components is calculated in a way that is imho the closest to the original concept and produces meaningful results.

Source code at GitHub[github.com]

There is no performance impact. The method is patched by replacing a small piece of code with another.

Compatibility
Works with version 1.17.1-f4.
It changes the method that implements simulation step for a commercial building.
I am not aware of any popular mods that would be not compatible.

Detailed description

Each commercial building is assigned up to 100 points (happiness) which is a sum of the following components.
1. 25 pts - no problems at all.
2. 20 pts - no major problems.
3. Up to 15 pts for health and wellbeing of workers.
4. Up to 20 points for goods in the magazine (not processed).
5. Up to 20 points for goods processed and ready for customers.
6. Few points for the taxation. This can be negative if taxes are too high.

The above model works well except for part 5. The implementation of the selling process is done in such a way, that it is impossible to get here more that 5-7 points. 20 points is given if at any given moment all goods are sold. This is possible if customers would buy them at a rate as they are processed in a building. However this rate is HALF of the processing rate. So, there is virtually always a huge stockpile of goods that even fully visited building cannot sell on time.

As a player we have no control over the internal speed and mechanics of goods processing. The only thing we can influence is the customer level. And this is what is used instead. The mod assignes up to 20 points based on how many visitors (customers) the building has compared to the maximum capacity. In a well managed city it is reasonable to have even 100% visitors and this scenario gives 20 points.

You can also observe the relation between "no customers" warnings and the happiness (which totally makes sense). The "no customers" warning appears when there is less than half visitors. So, the happiness will be less than 10 points here.
Popular Discussions View All (1)
2
Sep 26, 2022 @ 11:17am
Binaries
Jamppah
12 Comments
John Hancock Apr 28, 2024 @ 4:38am 
You should do one for the office zones!
livingstone.m.i Aug 6, 2023 @ 5:54am 
Thanks for explaining the formula! I'm sure it's a bug, feel like I fulfill all those and everyone else in my city is so happy! Industry always near 100%. Ah, I don't have Financial DLC either, sounds weird.
infixo  [author] Aug 5, 2023 @ 11:03am 
@livingstone
Office Happiness formula is as follows.
1. 15 pts for Workers' Happiness which is an average of Health and Wellbeing.
2. 40 pts for filling up the workplaces.
3. 20 pts for lack of Major problems.
4. 25 pts for lack of any problems.
Totals to 100. Then there are some minor tax adjustments, you can gain/loss few points here.
The biggest weird thing is that Financial Specialisation has a cap of 85% of the total happiness. If you have a lot Financial Specs districts, then total happiness might get a hit.
I don't have this DLC, so I have no idea why they would limit Financial Specs this way. Is there any game reason that would explain that?
livingstone.m.i Aug 5, 2023 @ 9:04am 
After a bit of googling seems it's a known bug with the game since the P&P update - office happiness dropping from 90s to 70s - but CO aren't addressing it. Seems to be affecting non-windows users.
livingstone.m.i Aug 4, 2023 @ 5:00am 
@infixo Thanks for answering! It was actually ShowIt2 that made me think it was a worker issue. I often have a happy face for services but unhappy for education, and the building has overeducated workers. Maybe it's an issue of just generally not having enough employees? I use Realistic Population mod so office demand is very low and citywide I have more jobs available than people employed! PS just activated this mod and it works a treat! 84>93% Great for improving pedestrian zone boost...
infixo  [author] Aug 4, 2023 @ 3:42am 
@livingstone Thank you :) Imo, having overeducated workers is not an issue. The game usually calculates average education level, and it is always "the higher the better". For offices it is more difficult to satisfy "service coverage". Check your average Offices Level, if many cannot go to L2 then it is probably "to few services". You can also use my ShowIt2 mod to check which services are missing.
livingstone.m.i Aug 4, 2023 @ 3:34am 
This looks great! Wow you've done deep analytics to work out the problem. For me it's offices that always have low happiness - in the 70s. I THINK it's beacuse I have the "prefer higher education" policy and everyone is highly educated, so even though the offices get lots of workers, they are not at the right levels to satisfy office happiness requirement. I wonder if there is a fix for that?
infixo  [author] Nov 22, 2022 @ 6:53am 
@dimasik38ru Probably because a Steam tag is missing. That doesn't mean the mod is not working. Have you tried it?
dimasik38ru Nov 22, 2022 @ 3:48am 
Why does the game display a message about the incompatibility of the mod with the game version 1.15.1-f4?
infixo  [author] Nov 21, 2022 @ 9:27am 
@dimasik38ru Can you pls elaborate?