GyaruRespecter
Chieftain
The mod I'm trying to make changes, amongst other things, Shrines and Temples to provide +1 Faith when adopting Piety, +1 Happiness when adopting Mandate of Heaven and +1 Culture when adopting Organized Religion. While so far it's managing to do what it needs to do, my issue is that almost everything I'm trying to change doesn't actually show up in the game itself when testing.
For example, when a Shrine is built after adopting Piety, it does provide +2 Faith in total. However, when I hover over the Shrine building to see the yields, it still shows that it only provides +1 Faith. Same with Organized Religion, after being adopted, it makes the Shrine provide +1 Culture. However, the yields in-game still don't appear when checking the building. Only Happiness seems to appear, with it clearly appearing in the menu alongside +1 Faith.
Here are the scripts I've put onto so far, based on the buildings I've been referring. The mod also changes a lot of building yields policies from the Aesthetics tree, so I won't actually post everything that isn't relevant.
<GameData>
<Policies>
<Update>
<Where Type="POLICY_AESTHETICS"/>
<Set GoldenAgeMeterMod="-25"/>
</Update>
<Update>
<Where Type="POLICY_PIETY"/>
<Set PolicyCostModifier="0"/>
</Update>
<Update>
<Where Type="POLICY_CULTURAL_CENTERS"/>
<Set PolicyCostModifier="0"/>
</Update>
<Update>
<Where Type="POLICY_FINE_ARTS"/>
<Set HappinessToCulture="100"/>
</Update>
<Update>
<Where Type="POLICY_FLOURISHING_OF_ARTS"/>
<Set WonderProductionModifier="15"/>
</Update>
<Update>
<Where Type="POLICY_ORGANIZED_RELIGION"/>
<Set FaithCostModifier="-25"/>
</Update>
<Update>
<Where Type="POLICY_REFORMATION"/>
<Set PolicyCostModifier="0"/>
</Update>
<Update>
<Where Type="POLICY_FREE_RELIGION"/>
<Set PolicyCostModifier="0"/>
</Update>
<Update>
<Where Type="POLICY_PIETY_FINISHER"/>
<Set FaithCostModifier="0"
PolicyCostModifier="-10"/>
</Update>
</Policies>
<Policy_BuildingClassHappiness>
<Row>
<PolicyType>POLICY_MANDATE_OF_HEAVEN</PolicyType>
<BuildingClassType>BUILDINGCLASS_SHRINE</BuildingClassType>
<Happiness>1</Happiness>
</Row>
<Row>
<PolicyType>POLICY_MANDATE_OF_HEAVEN</PolicyType>
<BuildingClassType>BUILDINGCLASS_TEMPLE</BuildingClassType>
<Happiness>1</Happiness>
</Row>
</Policy_BuildingClassHappiness>
<Policy_BuildingClassYieldChanges>
<Row>
<PolicyType>POLICY_PIETY</PolicyType>
<BuildingClassType>BUILDINGCLASS_SHRINE</BuildingClassType>
<YieldType>YIELD_FAITH</YieldType>
<YieldChange>1</YieldChange>
</Row>
<Row>
<PolicyType>POLICY_PIETY</PolicyType>
<BuildingClassType>BUILDINGCLASS_TEMPLE</BuildingClassType>
<YieldType>YIELD_FAITH</YieldType>
<YieldChange>1</YieldChange>
</Row>
<Row>
<PolicyType>POLICY_ORGANIZED_RELIGION</PolicyType>
<BuildingClassType>BUILDINGCLASS_SHRINE</BuildingClassType>
<YieldType>YIELD_CULTURE</YieldType>
<YieldChange>1</YieldChange>
</Row>
<Row>
<PolicyType>POLICY_ORGANIZED_RELIGION</PolicyType>
<BuildingClassType>BUILDINGCLASS_TEMPLE</BuildingClassType>
<YieldType>YIELD_CULTURE</YieldType>
<YieldChange>1</YieldChange>
</Row>
For example, when a Shrine is built after adopting Piety, it does provide +2 Faith in total. However, when I hover over the Shrine building to see the yields, it still shows that it only provides +1 Faith. Same with Organized Religion, after being adopted, it makes the Shrine provide +1 Culture. However, the yields in-game still don't appear when checking the building. Only Happiness seems to appear, with it clearly appearing in the menu alongside +1 Faith.
Here are the scripts I've put onto so far, based on the buildings I've been referring. The mod also changes a lot of building yields policies from the Aesthetics tree, so I won't actually post everything that isn't relevant.
<GameData>
<Policies>
<Update>
<Where Type="POLICY_AESTHETICS"/>
<Set GoldenAgeMeterMod="-25"/>
</Update>
<Update>
<Where Type="POLICY_PIETY"/>
<Set PolicyCostModifier="0"/>
</Update>
<Update>
<Where Type="POLICY_CULTURAL_CENTERS"/>
<Set PolicyCostModifier="0"/>
</Update>
<Update>
<Where Type="POLICY_FINE_ARTS"/>
<Set HappinessToCulture="100"/>
</Update>
<Update>
<Where Type="POLICY_FLOURISHING_OF_ARTS"/>
<Set WonderProductionModifier="15"/>
</Update>
<Update>
<Where Type="POLICY_ORGANIZED_RELIGION"/>
<Set FaithCostModifier="-25"/>
</Update>
<Update>
<Where Type="POLICY_REFORMATION"/>
<Set PolicyCostModifier="0"/>
</Update>
<Update>
<Where Type="POLICY_FREE_RELIGION"/>
<Set PolicyCostModifier="0"/>
</Update>
<Update>
<Where Type="POLICY_PIETY_FINISHER"/>
<Set FaithCostModifier="0"
PolicyCostModifier="-10"/>
</Update>
</Policies>
<Policy_BuildingClassHappiness>
<Row>
<PolicyType>POLICY_MANDATE_OF_HEAVEN</PolicyType>
<BuildingClassType>BUILDINGCLASS_SHRINE</BuildingClassType>
<Happiness>1</Happiness>
</Row>
<Row>
<PolicyType>POLICY_MANDATE_OF_HEAVEN</PolicyType>
<BuildingClassType>BUILDINGCLASS_TEMPLE</BuildingClassType>
<Happiness>1</Happiness>
</Row>
</Policy_BuildingClassHappiness>
<Policy_BuildingClassYieldChanges>
<Row>
<PolicyType>POLICY_PIETY</PolicyType>
<BuildingClassType>BUILDINGCLASS_SHRINE</BuildingClassType>
<YieldType>YIELD_FAITH</YieldType>
<YieldChange>1</YieldChange>
</Row>
<Row>
<PolicyType>POLICY_PIETY</PolicyType>
<BuildingClassType>BUILDINGCLASS_TEMPLE</BuildingClassType>
<YieldType>YIELD_FAITH</YieldType>
<YieldChange>1</YieldChange>
</Row>
<Row>
<PolicyType>POLICY_ORGANIZED_RELIGION</PolicyType>
<BuildingClassType>BUILDINGCLASS_SHRINE</BuildingClassType>
<YieldType>YIELD_CULTURE</YieldType>
<YieldChange>1</YieldChange>
</Row>
<Row>
<PolicyType>POLICY_ORGANIZED_RELIGION</PolicyType>
<BuildingClassType>BUILDINGCLASS_TEMPLE</BuildingClassType>
<YieldType>YIELD_CULTURE</YieldType>
<YieldChange>1</YieldChange>
</Row>