SocialMechanic
Chieftain
- Joined
- May 11, 2019
- Messages
- 97
Damn, I feel bad asking so many questions...
I'm trying to make two other stages of happiness, and the following code doesn't seem to be working:
What am I doing wrong? (note that I also have a text file with the <BaseGameText> necessary).
I've also tried it without the "<Update>" section and it still didn't work.
Also, I suppose it could have worked, but it just didn't visually show it was working through the display and/or tooltips
EDIT: I did some further investigation. Does this only work if I alter color names or something? Does the HAVE to be done in LUA?
I'm trying to make two other stages of happiness, and the following code doesn't seem to be working:
Code:
<GameInfo>
<Kinds>
<Row Kind="KIND_HAPPINESS"/>
</Kinds>
<Types>
<Row Type="HAPPINESS_EUPHORIC" Kind="KIND_HAPPINESS"/>
<Row Type="HAPPINESS_ACTUALIZED" Kind="KIND_HAPPINESS"/>
</Types>
<Happinesses>
<Replace>
<Row HappinessType="HAPPINESS_ECSTATIC" Name="LOC_HAPPINESS_ECSTATIC_NAME" MinimumAmenityScore="3" MaximumAmenityScore="5" GrowthModifier="20" NonFoodYieldModifier="10" RebellionPoints="-1"/>
</Replace>
<Row HappinessType="HAPPINESS_EUPHORIC" Name="LOC_HAPPINESS_HAPPY_NAME" MinimumAmenityScore="6" MaximumAmenityScore="9" GrowthModifier="40" NonFoodYieldModifier="20" RebellionPoints="-1"/>
<Row HappinessType="HAPPINESS_ACTUALIZED" Name="LOC_HAPPINESS_ECSTATIC_NAME" MinimumAmenityScore="10" GrowthModifier="80" NonFoodYieldModifier="40" RebellionPoints="-1"/>
</Happinesses>
<Happinesses_XP1>
<Row HappinessType="HAPPINESS_EUPHORIC" IdentityPerTurnChange="12"/>
<Row HappinessType="HAPPINESS_ACTUALIZED" IdentityPerTurnChange="24"/>
</Happinesses_XP1>
</GameInfo>
What am I doing wrong? (note that I also have a text file with the <BaseGameText> necessary).
I've also tried it without the "<Update>" section and it still didn't work.
Also, I suppose it could have worked, but it just didn't visually show it was working through the display and/or tooltips
EDIT: I did some further investigation. Does this only work if I alter color names or something? Does the HAVE to be done in LUA?
Last edited: