Unfortunately, as you might expect, this doesn't play too well with my Bikini Colors addon. If you're wearing a blue bikini when you take the evolution, for instance, you'll be depicted afterward in the game-default pink bikini instead. And our chainmail bikinis (and what else would a Barbarian be wearing, I ask you?
Well, that just won't do at all.
- If you're wearing anything that we recognize as a bikini or mankini when you take the evolution (including chainmail `kinis or the Black Bikini or Steam Powered Bikini), you'll be depicted as still wearing it after you take the evolution, including getting the color right. For some of the special bikinis like the Black Bikini, you'll get the original `kini back into your inventory.
- If you're wearing regular body armor (or none) when you take the evolution, as per the parent addon, you will be depicted afterward as wearing Barbarian-style undergarments. With this addon, if you enable the new game option "Gameplay / Show Barbarians in chainmail bikini", you will instead be depicted as wearing a chainmail bikini/mankini. (If you change your mind on this point, you can still change this setting after you take the evolution.) (Also, this addon has its own chainmail `kini tile images, so you don't need to have Bikini Colors enabled to use this option. We Apologize for the Convenience.™
) - If I've done this right, we should retain the parent addon's behavior that you will be eligible for the achievement after taking the evolution if and only if you were eligible when you took the evolution.
[Implementation notes:]
Code: Select all
Hooks:
ToME:run [to modify the Barbarian evolution implementation]
Actor:updateModdableTile:middle [to bikinify character]
Actor:updateModdableTile:front [further charater bikinification]
GameOptions:generateList [to add our game option]
ToME:PlayerDumpJSON [to clean up character sheet for export]