- Joined
- Mar 5, 2017
- Messages
- 4,115
So I added a new happiness level, Euphoric, when your city gets to +5 amenities. Here's the code.
In the code, I also added a maximum amenity for Ecstatic. The code is activated via InGame UpdateDatabase, and there's also a text file.
The issue is, whenever a city gets +5 amenities and achieves Euphoric status, you can no longer look at the city info screen. The bonuses are working, but the city info screen is blocked. Any ideas what might cause this? There are no Database errors logged.
Code:
INSERT INTO Types (Type, Kind) VALUES ('HAPPINESS_EUPHORIC', 'KIND_HAPPINESS') ;
INSERT INTO Happinesses (HappinessType, Name, MinimumAmenityScore, GrowthModifier, NonFoodYieldModifier, RebellionPoints) VALUES ('HAPPINESS_EUPHORIC', 'LOC_HAPPINESS_EUPHORIC_NAME', '5', '30', '20', '-1') ;
UPDATE Happinesses SET MaximumAmenityScore = '4' WHERE HappinessType = 'HAPPINESS_ECSTATIC' ;
In the code, I also added a maximum amenity for Ecstatic. The code is activated via InGame UpdateDatabase, and there's also a text file.
The issue is, whenever a city gets +5 amenities and achieves Euphoric status, you can no longer look at the city info screen. The bonuses are working, but the city info screen is blocked. Any ideas what might cause this? There are no Database errors logged.