Day_7Languages and initial expansionsHey all. There has been a tragedy in m girlfriends family, it has really messed with my coding schedule. Either way, I have found some time to work on the game a little bit. This is where I left of:
I wanted city names to be more depended on culture, so I decided to implement languages. At least sort of, I am not quite sure if I am happy with the system as it is right now. The system is very simple. A language has a name, and a list of syllables it can use to create words. Initially I included phrases and words too, as it could add some very interesting distinction, but I decided against it:
Yes, the elven city of "Meh" and the human city of "Gnome" and "Run for corn ill".
So, instead of words, I split words up, and the result is a bit better. I don't know if I keep this. Right now it just makes me laugh a little every time I see some exceptionally funny combination of syllables. Not the desired effect I wanted. Either way, I wasted a train ride implementing it, and now I have to learn to live with it.
Moving on. I want cities near water to act like harbors for cultures that allow for harbors that is.
Harbor cities will play an important role later when I add ships. For now the game just "knows" what cities are harbor cities, and it places a blue point so it knows where the water is.
The last thing I wanted to implement was some of the most basic AI. Each civilization will get some free expansion when they are created. The amount of free expansions is specified in the civilization definition. Either way, I wanted to test out and see how the initial world state is when the initial free expansions have been used:
I need to work some more on this. One of the cities expanded into the water, which was not exactly what I attempted.
Second attempt went a bit better. Here with some gray dots added around the cities to simulate buildings:
Okay, it looks a bit better, and the naming is not THAT ridiculous anymore. Next I will work more on city AI, and perhaps I should start working on actual gameplay soon.