So far I've only been able to successfully mod happiness in buildings. I try to do the exact same things with culture and food but nothing happens.
This gave the colosseum 5 happiness and it worked.
<GameData>
<Buildings>
<Update>
<Set Happiness="5"/>
<Where Type="BUILDING_COLOSSEUM"/>
</Update>
</Buildings>
</GameData>
So I thought it would work the same like this for culture.
<GameData>
<Buildings>
<Update>
<Set Culture="12"/>
<Where Type="BUILDING_SHRINE"/>
</Update>
</Buildings>
</GameData>
It did nothing. Same for food and such. I'm having trouble figuring out how to code these things. It seems like the guides I find only give one example of one type of coding and just leave us to figure everything else out on our own. The modders guide. It tells how to edit the food and whatever of the granary and hospital but nothing about tech or culture or happiness. So I'm very confused.
How can I edit culture, tech, food, etc of buildings? Are there templates? Also how can I disable buildings from appearing? I see coding for deleting and disabling but don't know which I want. I want to make science buildings not buildable for a scenario I'm making where there's no research.
This gave the colosseum 5 happiness and it worked.
<GameData>
<Buildings>
<Update>
<Set Happiness="5"/>
<Where Type="BUILDING_COLOSSEUM"/>
</Update>
</Buildings>
</GameData>
So I thought it would work the same like this for culture.
<GameData>
<Buildings>
<Update>
<Set Culture="12"/>
<Where Type="BUILDING_SHRINE"/>
</Update>
</Buildings>
</GameData>
It did nothing. Same for food and such. I'm having trouble figuring out how to code these things. It seems like the guides I find only give one example of one type of coding and just leave us to figure everything else out on our own. The modders guide. It tells how to edit the food and whatever of the granary and hospital but nothing about tech or culture or happiness. So I'm very confused.
How can I edit culture, tech, food, etc of buildings? Are there templates? Also how can I disable buildings from appearing? I see coding for deleting and disabling but don't know which I want. I want to make science buildings not buildable for a scenario I'm making where there's no research.