Ablatt_Ross
Chieftain
- Joined
- Jul 8, 2018
- Messages
- 4
I've been working on a Finland civ with a friend of mine for a while. We're both experienced in programming (albeit not Lua, but the learning curve isn't overly large) and getting used to modding for civ, however we've run into a little problem regarding dummy happiness buildings.
We've found adding them to a city easy enough - that logic is completely fine - but the problem arises when said cities containing the dummy buildings are captured by enemy civs.
The UA is simply "+1 Happiness for every Great Person expended", but to use the dummy buildings (which are either captured and utilised by enemy civs if NeverCapture = false or destroyed and irretrievable if NeverCapture=true) means that happiness is lost because its dependent on the city belonging to Finland.
If there is a way around this then any suggestions would be really helpful (and some lua code/hooks would be helpful too. Still trying to wrap our heads around it.)
We've found adding them to a city easy enough - that logic is completely fine - but the problem arises when said cities containing the dummy buildings are captured by enemy civs.
The UA is simply "+1 Happiness for every Great Person expended", but to use the dummy buildings (which are either captured and utilised by enemy civs if NeverCapture = false or destroyed and irretrievable if NeverCapture=true) means that happiness is lost because its dependent on the city belonging to Finland.
If there is a way around this then any suggestions would be really helpful (and some lua code/hooks would be helpful too. Still trying to wrap our heads around it.)