LGBT Gender Requirements?

Hey. So I have a mechanic in my game where some weapons and armor are gender locked. However I have a genderfluid party member that after a certain sidequest is able to equip both male and female exclusive armors and weapons. How do I implement this mechanic? Is there a plugin for this? I tried using Blithe's Gender Requirements plugin but it only allows you to only use either male or female exclusive parameters and not parameters for neither or both genders. I also have a late game enemy that can seduce male characters, but one of the characters is gay so that attack is ineffective. How do I implement this also? Thanks.

Edit: this is for MV, not MZ. I accidentally posted in the wrong forum! Woops! Can someone please fix this? Thanks!
Do you use yanfly plugins? PasiveStates.js might help you out.
Specially if you also use the Equipment.js plugin.

Just make 2 states, one for each gender. Bind them to the right actors. (bind both to gender fluids)
Then use the equipment plugin to require that state for equipment.

Since your on it, you can give each character an extra state: Likes men/likes women and give both to bisexuals and none to children.

You can use those states trough out your game to decide many things, using a simple conditional branche.
another way is to create a common event, and bind it to the common event,
and check for actor names.

if you can rename the actors, use something like
actor 1-10 for males, actor 11-20 for females, and use this range
for equip checks (easier and faster), if for both, dont bind it to the actor bind.
@JohnDoeNews Thanks for the tips! This really helps. I use both passive states and equipment core, so your idea will work excellently. Thanks!

I've moved this thread to MV Support. Thank you.

@JohnDoeNews Thanks for the tips! This really helps. I use both passive states and equipment core, so your idea will work excellently. Thanks!
Yeah, no problem. It is not as if they call me MV god for nothing, you know. (Oh wait... Only my girlfriend calls me that, and she's imaginary, so that doesn't even count.) Hahaha.

Good luck with your project.

Just one thing... I know you are making a game to support LGBT+, but... Making items just usable by 1 gender, might not land right by the most obsessed protest-LGBT'ers. They might call it stereo typing that the little pink dagger is for girls, while the heavy huge black&blue sword is men-only.

I am NOT saying: "Don't do it." In fact, I think you should. Just know that no matter how well your intentions are, there is a chance your game might become a target to activists. Even though you're "on their side".

You wouldn't be the first to fall victim to those they try to stand up for. This is 2020, and unfortunately in 2020 you have to rethink every word before you post it. No matter if it is about sexuality, gender, race, religion, class, anything. Because no matter how well your intentions are, in 2020 there will always be someone, somewhere finding something to be offended by.

I think your heart is in the right place, but I just don't like to see you become a target for no good reason. I'd say go for it, since I refuse to step aside for those who attack the world because their own misery. (I don't mean the LGBT community, I mean small groups in ANY community that feels like they deserve respect for being different... And are very rude in trying to demand that respect. They are the hard core of each community, that is extreme in what they do, and kinda lost touch of reality.)

I woundn't budge for protesters or activists... But I have had groups of narcissists after me and well, those were not good times. I believe in free speech and I refuse to be silenced by those who can't take a joke (or those who look for any detail they can point out as offensive), but I just want to let you know that this is a risk you take when you make a game about sexuality and gender.

Just... IF by any change you ever get targeted by those activists, do not try to convince them that you didn't mean to be offensive, that only makes them angrier. And once you angry one... ... ... Then screenshots will be taken out of context, shared all over the internet and then you are in a real pickle. Just block those activists without replying. That is the only way to get rid of them. Or else they won't stop before you give in to their demands. (Even though they make a new account to target you again, keep blocking them, they will stop after 2 or 3 tries, I promise)

(Again, I can't make it clear enough I am not talking about the LGBT+ community attacking, but a small group that is among EACH community, also in the LGBT community. Even the RPG community has people who go real far to bring devs down, once they set a target on them. Every community has people like that.)
@JohnDoeNews I don't want make this into one big political argument, but I'll try to answer your questions. There are only a handful of gender-exclusive items, none of which fall into "stereotypes" or whatever. It's not like "big greatsword for boys only, pink wand for girls only." The gender exclusivity is pretty limited and each gender-exclusive item has lore behind it on why it's gender exclusive. Here, I'll explain:

Gender Exclusive Item #1: Ladyblade
It's a mystical sword that was crafted by a virgin goddess of beauty, and due to an enchantment can only be used by women, but is extremely powerful. It was used by this goddess, Ninis, to sway off potential suitors. She then was laid laid to rest in her tomb in the frozen north alongside this sword where she decided to sleep for the rest of eternity. This was to keep rapid climate change in check after the crimson meteor fell, causing devestating damage to the world. As a plus, she no longer had to deal with suitors since she very well could be considered "dead" at that point. Ninis was aesexual.

Gender Exclusive Item #2: Swim Shorts / Swimsuit
Joke armor that raises LUK and SPD by 50, but lowers DEF by a set amount of 25. It also gives water resistance. Swim shorts can only be equipped by males and swimsuits can only be equipped by females because men's swim shorts on females would be immodest (because their tops would be exposed) and for males they wouldn't be able to fit in them (well, at least most of them.) and would be embarrassed.

Gender Exclusive Item #3: Bikini Armor
Another piece of joke armor that is a random drop from some of the bosses. (though it's somewhat common at a 25% drop rate, and you have 4 times to get it before endgame where you can grind all the bosses infinetntially in a bonus dungeon.) It is intentionally regarded as silly and impractical in-game, and lowers DEF and WIS by 50 but raises LUK, SPD, and INT by 30.

Gender Exclusive Item #4: Spellweaved Leotard
A rare piece of armor that is one of the strongest light armors in the game that can only be equipped by females due to males being too embarrassed to wear it. The genderfluid character (goes by he/him, AMAB ) can wear it because he's not embarrassed by wearing it. (after a sidequest where he gains confidence in himself and his identity) Every other "male" party member cannot wear it because they would be too embarrassed.

Gender Exclusive Item #5: Prismatic Dress
An enchanted dress created by a intergalactic guild of angels who refuse to appear in any form other than feminine. (angels in my setting are all genderless and are shape-shifters, with their true form being an incomprehensible eldritch abomination that causes the weak-willed who gaze at it to go insane.) Due to this, the dress makes anyone who wears it slowly turn female due to the people who created it having no concept of "male" in their society. (they cannot reproduce, though they are immortal) Therefore most males refuse to wear it due to it's effects on them. Transgender people sometimes go on great quests to retrieve one of these garments, but many die in the process, as these pieces of fabric are extremely rare and often guarded by powerful enemies. This was also an armor in Chrono Trigger and the strongest armor in the game, and there it was female exclusive as well. I just added a bit of dark-souls tier item lore to flesh out the world a bit more.

And for why I bothered to add in all this LGBT stuff even though it could risk getting me canceled by idiots on twitter if I ever get big, two words: poor representation. After seeing the atrocious representation in many non-Nintendo western games like The Last of Us 2 (which beat Animal Crossing and Hades as GotY because Hollywood is biased/Neil paid them off.) and Life is Strange (Square Enix only published it, it was developed by a western studio) I was just like "screw it" and decided to do representation right in my future games.

This was to give society what they wanted, (representation) one-up Neil F***man the scumlord, gain good publicity, and to atone for my past sins. (I was alt-right or at least close to it around 2018 or so. I got out of it in late 2019 and am now center-left) My previous idea for the third game in the Meteo Trilogy (Ebony Chronicles) was honestly pretty bland, but then I hit in eureka after TLOU2 created Abby, quite possibly the most unlikable character in all of gaming who is also trans and poorly designed, leading to a huge surge in transphobia since TLOU2 probably did zero research on dysphoria and stuff and relied solely on stereotypes. (man in a dress, but without the dress, so just a guy with a vaguely female face and a female voice. Disgusting.)

I decided to make the main character of Ebony Chronicles trans since previously she was a pretty bland protagonist, and make her journey of self-discovery a major sub-plot. (It's not the main quest, but it's still really important.) Jeht was made to be gay because previously he was pretty bland, and him having a unrequited crush on one of the characters (who is a straight male) gave him some actual depth and contributed to the drama. I also did this because there was a LGBT game jam in June (pride month) and I was going to make a Yume Nikki clone that dealt with trans issues, but that fell through so instead I decided to make Jeht gay and release Meteo Chronicles as my submission, but then I realized I started developing the current version of Meteo Chronicles in March so I couldn't actually submit it.

Jeht stayed gay though as I felt that a lot of gay characters in media were either 1: Super feminine or 2: Hyper-masculine and were often used for comedy or "being gay" was their entire personality and them liking guys was all they talked about. For Jeht I made his homosexuality a bit more subtle and not have all his dialogue revolve around his crush on Tayo. I also made him bishonen but not feminine, and tried to emphasize him being "cool" (like adventure era Sonic the Hedgehog) rather than him being gay, which is mostly a side-thing to who Jeht is; a somewhat edgy, cool mechanic guy who just happens to be gay.

I also have multiple characters later on that are somewhat gender-fluid, like Tobias from the Boltman Saga (who switches genders to hide his identity, but comes to enjoy his new form) and Ryuuta from Firebrand Chronicles. (who turns into a girl when using his super-form due to his fae blood, but doesn't really mind it and actually enjoys it a decent amount.) and of course Jeht, but that's about it. I try my best to not offend anyone, but obviously not everyone can be pleased. I'll take your advice into consideration if someone tries to "cancel" me. Cancel culture really only succeeds in the end if you actually messed up. Otherwise most people can turn the situation around, like ProJared, Slazo, and Mangs. (and hopefully Pyrocynical too, but we'll see)

Edit: I just checked equip requirements, and found that checking for a state is not a default option. You need to use code for that. What is the code for checking if you have a certain state to equip a certain piece of armor in Yanfly Equip Core? Thanks.
Holy smoke!!! I thought I wrote long replies! Is this what I do to people? Hahaha. Okay, I'll read before I talk, though...

Haha, you start with saying you'll answer my questions, but I don't recall asking anything.

You don't have to be afraid of being canceled, though... In the end there is only one person who can take your game down (if you own all the assets used) and that is you. The problem is that 99% would be totally okay with everything, but that 1% that isn't has a talent to turn mobs around.

I just have a bunch of bad experienced with people who seem to be born with the talend to twist everything against you. And things like race, religion, sexuality and gender are 4 or the largest triggers that can turn larg groups of people against you.

I've been there... I didn't like it... But (like you) I know the risk and I choose to speak my mind anyway.

Since you seem to know the risk and still follow your own vision, I can do nothing but have sincere respect for that.

Good luck with your project!!

------------

How to do the requirements... And the code for that... I have to admit I don't know the code. 😛 But if I had to take a guess...

Try this:
Code:
<Custom Requirement>
value = user.isStateAffected(4);
</Custom Requirement>


If that's not it, look for thright note-tag in the help section of the plugin. But I am about 98% sure this willbe the one.
@JohnDoeNews Thank you so much for the code! That seems just about right. Thanks for talking with me. I'm going to be closing this thread now. Peace!
okay good luck. 🙂

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/lgbt-gender-requirements.130910/