-- Readme
-- Author: Typhlomence
-- DateCreated: 11/25/2014 11:00:54 PM
--------------------------------------------------------------

My second new civilization for Civ V, and the first of the Super Mario Bros. civilizations I intend to make.

This mod adds a civilization based on Bowser and the Koopa Troop from Super Mario Bros., with the mighty Koopa King himself as its leader! This civilization is designed for conquest first and foremost, with incentives to keeping foreign cities under its control.

This mod requries Brave New World. It also includes compatibility with:
	- Ryoga's Unique Cultural Influence
	- JFD's Cultural Diversity (Totalitarian) 
	- JFD's Piety and Soverignty
	- Bingles' Civ IV Leader Traits (Aggressive, Imperialistic)
	- JFD's Exploration Continued Expanded (No specific support yet, but it should work with it)
	- Hazel's Map Labels
	- Vicevirtuoso's Wish for the World
	- Sukritact's Modular City Info Stack
	- JFD's and Pouakai's Mercenaries
	- JFD's Cities in Development
	- New diplomacy lines included for the new response types introduced in the Community Patch and Civ IV Diplomatic Features
Compatibility with Events and Decisions will come later, though you will get a custom Cultural Development event.

Mod options can be changed via the BowserOptions.sql file. You can choose an alternate leader icon for Bowser, as well as enabling alternate colours for Ethiopia if you're having trouble distinguishing the two civilizations on the map. You can also disable the generation of lines referring to female leaders each turn, if it is causing too much lag each turn.

UA: The Great Demon King Koopa - Resistance time is halved for conquered cities. Production +5% when constructing military units for every foreign city that the Koopa Troop has in their possession (maximum of +50%). It doesn't matter if they were obtained by war or as part of a peace/trade deal - as long as they have an original owner that is not the Koopa Troop, they will contribute to this effect.

UU1: Bowser Airship - Does not replace a regular unit under normal circumstances. A hovering unit that can travel over any terrain type, has an attack bonus against enemy armoured units, and can carry two missile units. Weak against fighters and anti-aircraft units.

UU2: Bullet Bill - Replaces the Guided Missile. It is more powerful than and available earlier than the regular unit.

Peace Diplomacy Track: Bowser's Theme (Mario Party)
War Diplomacy Track: Nemesis King Koopa (Super Mario Galaxy)

You can also download the following soundtrack packs for this civilization - either will work without the other should you not want to download both:
	- Super Mario Bros. Super Soundtrack - Common: https://mega.nz/#!rt4nHL4Z!scq9lsM2ex8n5QL7Q91rmtnOACyMluQ8iO--NbjyoZs
	- Super Mario Bros. Super Soundtrack - The Koopa Troop: https://mega.nz/#!65IyGSrZ!oydCbQbW7F_AkBhZkMEZ5riYw70aB_vqOgNOe7qhzLE

Includes unique diplomacy responses for the following leaders:
	- Princess Peach and the Mushroom Kingdom (Nucleotyde)
	- Wario of WarioWare (Typhlomence)
	- Rosalina and the Lumas (Typhlomence - coming soon)
	- Vice Virtuoso's PMMM Rebellion Pack/Wish for the World
	- Funny Valentine (Vice Virtuoso)
	- Vert of Leanbox (Vice Virtuoso or Morgarane)
	- Blanc of Lowee (Vice Virtuoso)
	- Nepgear of Planeptune (Vice Virtuoso)
	- Statesman of Paragon City (Vice Virtuoso)
	- Metal Gear civilizations (Vice Virtuoso)
	- Cirno of the Fairy Alliance (Huitzil)
	- Eirin of Eientei (Huitzil)
	- Utsuho Reiuji of the Earth Spirits (Huitzil)
	- Holo of the Wisewolves (DarkScythe)
	- Shinki of the Demons of Makai (BouncyMischa)
	- Suika Ibuki of the Oni Clans (BouncyMischa)
	- Mamizou Futatsuiwa of the Tanuki (BouncyMischa)
	- Yumemi Okazaki of the Probability Space Hypervessel (BouncyMischa)
	- Louis XIV of France (JFD)
	- Also includes a series of responses for "villainous" civilizations

Change Notes:
7 (06/01/2015)
	- Fixes to various Lua code
		- MCIS icon for UA should show correctly when under the maximum amount of foreign cities
		- City naming code seperated out to prevent it from affecting the more important functionality, and fixed up/improved
	- Updated mod support
		- Now supports JFD's Cities in Development, as well as JFD's upcoming Soverignty
	- Slight tweaks to some art
		- Uses more uncompressed DDS to avoid compression artifacts
		- Dawn of Man image updated slightly
		- Added Alpha Atlas for Ethiopia so that it appears correctly when using their alternate colours
	- Unique diplomacy
		- Added an option to disable the per-turn generation for female diplomacy greetings, if it causes turns to take too long for you
		- New responses for my Wario civilization
		- Additional civilizations added to the list of "villainous" civilization
		- Nepgear's responses modified - you will only get lines relating to the Gehaburn if you as the player obtain it (with Events & Decisions enabled)
		- Added a host of new diplomacy lines for the new response types introduced in the Community Patch and Civ IV Diplomatic Features

6 (2.2) (14/10/2015)
	- Music selection changed to go with new soundtrack packs
    - Mod support SQL updated, based on JFD's Master Support file
	- Added support for JFD's Mercenaries
	- UniqueDiplomacyUtils updated to version 3
	- Slight tweaks to texture mapping on flavour tanks
	- Added A-10 as a flavour Jet Fighter (because of http://acecombat.wikia.com/wiki/A-10A_%22BOWSER%22 - may get reskinned in future)

5 (2.1) (14/07/2015)
	- SQL handling for preserving embarkation behaviour for Helicopter Gunships fixed so that it does not mess up other units using the UNITCOMBAT_HELICOPTER combat class.

4 (2.0) (04/07/2015)
	- Boost from foreign cities capped at +50%
	- BowserConquerCheck bug fixed, where it would not work correctly if one Bowser captured another Bowser's city
	- Some new diplomacy responses added, and Bowser's responses about kidnapping female leaders will appear when playing as a non-female leader as well
	- Now uses my UniqueDiplomacyUtils.lua, and includes additional unique responses
	- Bullet Bill model changed to use an actual Bullet Bill model. Various unit art added for flavour, replacing Landship, Tank, Modern Armor, Mechanized Infantry, Mobile SAM, Rocket Artillery and Nuclear Missile
	- Inclusion of 18 music tracks in the base mod
	- Added support for Sukritact's Modular City Info Stack, JFD's Exploration Continued Expanded, Hazel's Map Labels and Vice Virtuoso's Wish for the World
	- (forgot to add this earlier) Dynamic city names added - some city names will appear only on certain terrains. This has the side effect of randomising the order of the non-capital city names.
While this version may work in saved games, I would recommend that you don't update until you finish any games you want to continue playing (or keep your old version)

3 (1.2) (14/02/2015)
	- Fixed embarkation problem with Bowser Airship. Loading this in an existing game should also fix any Bowser Airships so they work properly, even if they are embarked on land(!) or water.

2 (1.1) (11/02/2015) - should be compatible with previous versions but backup the original version just in case it breaks a savegame.
	- Added compatibility for Cultural Diversity and Civ IV Leader Traits.

1 (06/01/2015)
	- Initial version

Notes:
- Again, I have no guarantees that this civilization is balanced, but it should run bug-free.
- The Bowser Airship will act as a Sky Fortress replacement for the Koopa Troop if that unit is added by a different mod, though its stats may not be balanced in this case, and at present it isn't compatible with Smoky Skies mods that changes the tech tree. It is based on the original Smoky Skies Sky Fortress unit, so using a mod that includes a Sky Fortress with the original characteristics (such as Whoward's Steampunk Airships mod) will give the best results. It is definitely not required to use any mod that includes the Sky Fortress, however!
- Unique diplomacy is handled by a Lua file (Bowser_UniqueDiplomacy.lua), so if you get any errors from that file while playing, it shouldn't affect your game - but please do report them!

Known issues:
- The Bowser Airship is a simple reskin of the Sky Fortress, respectively. However, I did base the gasbag design on the Bowser Airship on something that appeared in a Mario game; kudos to you if you know what it is.
- (As of 1.2) Because of the method used to allow the Bowser Airship to be able to move over water tiles, this mod may have problems with mods that alter the behaviour of the Helicopter Gunship and others that use its combat class (UNITCOMBAT_HELICOPTER). I've accounted for Whoward's "Units - Steampunk Airships" and "Helicopters Can Fly Over Water", but I can't guarantee that it will work with any others. Let me know if there's such a mod this conflicts with, and I'll try to make it compatible.
- Because I've been using JFD's MasterSupportFile.sql (https://www.dropbox.com/s/21gscd9ch9tk3fk/MasterSupportFile.sql?dl=0) to make sure my mod support is up to date, when using some of the mods this civ is compatiable with, some of the parts of Bowser_ModSupport.sql may not be added correctly if it is used alongside other civilizations that are not updated along with MasterSupportFile.sql. There's nothing I can do about this, as it's up to the other mod authors to update their support!

Thanks to:
- SamBC and J_mie6 for their Icon Atlas templates;
- Huitzul and cicero225 for their diplomacy texts I used to make my templates;
- Tomatekh, whose Garamantes civilization I used as a reference for the invisible trait building;
- Deliverator, for his unit reskin tutorial (http://forums.civfanatics.com/showpost.php?p=9796416);
- Vice Virtuoso, whose Nanoha civilization I used as a reference for this mod's options;
- JFD, for Piety and Prestige and a lot of the code that I used to make this compatible with several other mods
- bouncymischa, who gave some advice for this and the forthcoming Rosalina/The Lumas civilization and who waited long enough for this one to be complete. :)
- Oh, and I couldn't forget Nintendo for creating the Super Mario Bros. universe and the Mario Wiki for all the information and images I used for making this mod!
- Wolfdog for the A-10 unit model