Because I just felt like it, I decided to change the Inca's improvement into a building, mostly just as an experiment to see if I could do it. Apparently I can't. Or really, I can, but I can't give it the bonus I wanted.
See, I wanted to make it a really unique bonus by having it add food to mountain tiles, thus making the Inca uniquely able to work mountains rather than having them be unworkable like they are for everyone else. My issue is that adding to a mountain seems to be impossible using just the XML, so I may need to use LUA. I do not know LUA.
But I already went to the trouble of making the new icon.
See? It's nice. It would be a shame to waste.
So I come to you all for help. If this type of bonus is possible to give a building using XML, please let me know. If not, please help me learn LUA. I've been trying to figure it out for a while. I know I'll need SerialEventHexCultureChanged to handle when the city's border grows, but there appears to be no event for when a building is constructed in the first place, and I also have no clue how to go about detecting the tiles around the city and whether the city owns them.
See, I wanted to make it a really unique bonus by having it add food to mountain tiles, thus making the Inca uniquely able to work mountains rather than having them be unworkable like they are for everyone else. My issue is that adding to a mountain seems to be impossible using just the XML, so I may need to use LUA. I do not know LUA.
But I already went to the trouble of making the new icon.

See? It's nice. It would be a shame to waste.
So I come to you all for help. If this type of bonus is possible to give a building using XML, please let me know. If not, please help me learn LUA. I've been trying to figure it out for a while. I know I'll need SerialEventHexCultureChanged to handle when the city's border grows, but there appears to be no event for when a building is constructed in the first place, and I also have no clue how to go about detecting the tiles around the city and whether the city owns them.