[v1.7.0+,Barbarian] Bikini Barbarian

A place to post your add ons and ideas for them

Moderator: Moderator

Post Reply
Message
Author
Zizzo
Sher'Tul Godslayer
Posts: 2603
Joined: Thu Jan 23, 2003 8:13 pm
Location: A shallow water area south of Bree
Contact:

[v1.7.0+,Barbarian] Bikini Barbarian

#1 Post by Zizzo »

Was cycling through some of my (far too many :oops: ) neglected older characters, and my Barbarian character got me itching to start another Barbarian, this time with a bikini. :mrgreen: See, in recent version of the addon, if you're wearing a bikini or mankini when you take the Barbarian evolution (and in the process lose your body armor slot), you'll be depicted in-game afterward as still wearing the `kini, and you'll still get the relevant achievement.

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? :wink: ) aren't recognized as a bikini at all. :(

Well, that just won't do at all. :twisted: Here's the lowdown on my new Bikini Barbarian addon (which does require the original addon):
  • 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.™ :wink: )
  • 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.
[And for merging purposes, I'm counting this as a "requires-DLC" addon, so it won't be going into ZOmnibus.]

[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]
"Blessed are the yeeks, for they shall inherit Arda..."

Zizzo
Sher'Tul Godslayer
Posts: 2603
Joined: Thu Jan 23, 2003 8:13 pm
Location: A shallow water area south of Bree
Contact:

Re: [v1.7.0+,Barbarian] Bikini Barbarian

#2 Post by Zizzo »

Frequently Asked Questions:

Will we get the bikini achievement for winning with a Barbarian in a bikini?

In the parent addon, if you are eligible for the "Bikining along!" or "Mankining it happen!" achievement when you take the evolution (wearing a bikini/mankini that you have not taken off), you will continue to be eligible after you take the evolution, and will be depicted in-game as still wearing the `kini. If you are wearing a bikini/mankini but are not eligible for the achievement because you took it off and re-wore it, the `kini will be treated as regular armor and removed when you take the evolution, and you will be depicted in the default Barbarian undergarments.

This addon modifies that behavior slightly. Now, if you are wearing a bikini/mankini when you take the evolution, you will continue to be depicted as wearing it afterward, whether or not you were eligible for the achievement. Chainmail bikinis/mankinis count as bikinis for this purpose, as do the Black Bikini and Steam Powered Bikini.

We 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. So, for instance, you will be eligible for the achievement if you take the evolution while wearing a chainmail bikini/mankini (that you have not taken off), but not if you take the evolution while wearing the Black Bikini or Steam Powered Bikini, nor if you take the evolution while wearing regular body armor and enable the "Gameplay / Show Barbarians in chainmail bikini" game option.

Hey! My bikini isn't showing up right on the character sheet!

That's unavoidable, unfortunately. Unless you were wearing the game-default pink bikini or green mankini when you took the Barbarian evolution, the bikini/mankini image used in-game is not available to the online characters vault. To prevent your character from appearing naked in the vault, we modify the character sheet on export to the server to replace the custom bikini/mankini image with the game-default counterpart. We Apologize for the Inconvenience.™
"Blessed are the yeeks, for they shall inherit Arda..."

Post Reply