Civ/leader unique abilities from victory?

SaucyJ

Chieftain
Joined
Jan 14, 2016
Messages
40
I don't even know how this would work coding-wise, or if it even COULD work, but:

What if, when you completely wiped out a civilization (as in, taken them out of the game) for such a feat you earned their unique civ/leader abilities to add to your own?

Makes sense that if you took over a civilization that had knowledge you didn't, you'd make use of the new knowledge to say, construct buildings/units you didn't know how to before, or to pillage barbarian camps for goody hut rewards when you didn't know how to before.

Thoughts?
 
I definitely don't know how to code this, but I would think something like (and I'm taking vast liberties with the code tags here):

If battle then
If attacker = Player1 and enemy = CivilizationX then
if cityiscaptured=true and CivilizationXNumCities=0 then
set CivilizationXTraits=Player1Traits and LeaderXTraits=PlayerLeaderTraits
 
Back
Top Bottom