[CENSORED] How Rimworld's code defines strict gender roles - Code is never neutral

DuskEngine

watermelon seller
True & Honest Fan
kiwifarms.net
https://www.rockpapershotgun.com/2016/11/02/rimworld-code-analysis/

Reed’s having a bad day: her spaceship crashed, she’s one of three survivors, and the other two won’t stop hitting on her. Unfortunately for her, she’s beautiful, which means that they’re immediately enamoured with her; unfortunately for them, she’s gay, which means the feeling is definitely not mutual. Her life is a constant hellish stream of corny pick-up lines and work for the colony.


RimWorld is a scifi colony management sim that seems to effortlessly weave dynamic stories around the player’s attempts to survive on an often harsh alien world, but when it comes to sexuality, romance and gender, it tells variations on this one story far too often. We dug into the code to find out why that is.


Returning to Reed, we can see that the pick-up lines don’t get her down. She receives no penalty to her mood for being barraged by come-ons. But the two men, Rob and Boots, feel differently. They have a near-permanent mood and relationship penalty for Reed, because they keep asking her out, and keep getting rebuffed. But it’s not really their fault – Rob and Boots can’t stop hitting on her because they’re men, and because she’s just so gosh-darned pretty. More precisely, that’s how they’ve been programmed.

The eerie thing is, remove the bit about the crashed spaceship and this scenario mirrors a common narrative about romance, sexuality, and relationships between men and women. It is not at all uncommon to hear stories, in media and in real life, of how men ‘just can’t help themselves’ around beautiful women, and to hear how devastating it is for men to be rejected by the women to whom they are attracted. Setting aside the truth of those stories, and how demeaning they are to men and women both, why is this the story that RimWorld tells about relationships? In order to get to the heart of the situation, I unpacked the latest publicly-available build of RimWorld to see how romantic interactions are determined. For the sake of non-coders among us, longer sections are presented in pseudocode that tells you what it does, without requiring you to be fluent in C#.


To be clear, the anecdote I’ve described above is not a unique scenario in RimWorld. The current top-rated post of all time on the RimWorld subreddit is a user asking for “strategies to deal with attractive lesbians”. Additionally, an earlier decompilation of the game, summarizing how RimWorld models romantic behaviour, was a pretty good indicator that the answer to Reed’s dilemma lay somewhere in the game’s source code.

So why were Reed’s fellow survivors constantly hitting on her? The answer lies, partially, in how romance attempts are calculated differently for male and female “pawns”, the game’s term for all the colonists you control. All pawns start out with a base chance of turning any social interaction into a romance attempt, and a minimum threshold of attractiveness and positive opinion for this to happen. In other words, you have to actually like someone and find them attractive in order to try to start a romantic relationship with them. Things become interesting when the random chance of initiation comes in.

// Change chance of initiation based on gender of initiator

if(me.gender == male) {
// no change
initiation-chance = initiation-chance * 100%;
}


if(me.gender == female) {
// initiation chance is 12.5% of what it would be
Initiation-chance = initiation-chance * 12.5%
}

In other words, female pawns are about eight times less likely to try and start a romantic relationship. Granted, this is not the only factor – other elements include presence or absence of an existing romantic partner, and how they feel about said partner. However, this single check on gender has such a profound effect that it makes female-initiated romance attempts incredibly rare. Notice that neither a history of rebuffals nor the presence of the “gay” trait in the recipient are factored in, which would explain why they won’t stop. This behaviour is one-way, though. Reed doesn’t hit on them, not because she’s female, but because she finds them unattractive.

bond.jpg


So how is attractiveness actually calculated? For both male and female pawns, attractiveness rests on a few variables: the genders of the initiator and the recipient, the sexual orientation of the initiator, the beauty of the recipient, age, and physical ability.

Before going into gender-specific differences, let’s first look at some universal variables..

// In the rest of the function, multiply attractiveness with the factors for:
// Talking, moving, and manipulation efficiency (penalty for pawns with disabilities)
// Bonus or penalty for attractiveness traits (ugly = 30% as likely, beautiful = 230% as likely)
// Additional age factor for people between 15 and 18else if(me.gender == female) {
// Enforce sexual orientation for gay women

if(me.orientation == gay and them.gender == male) {
// zero attractiveness, no matter what
return 0.0;
}
// And for non-gay women
if(me.orientation == straight and them.gender == female) {
// Only 15% as strong as it would otherwise be
attractiveness = attractiveness * 15%;
}

There are no straight women in RimWorld, as in, there are no women only attracted to men. Instead, every single non-gay woman in the game has some chance of being attracted to another woman. As for the men, it works a little differently.

// Calculate the perceived attractiveness (between 0.0 and 1.0) of them, to me

float calculate_attractiveness(Pawn me, Pawn them) {
float attractiveness = 0.0;


if(me.gender == male) {


// Enforce sexual orientation for male pawns
if(me.orientation == gay and them.gender == female) {
// zero attractiveness, no matter what
return 0.0;
}
if(me.orientation == straight and them.gender == male) {
// zero attractiveness, no matter what
return 0.0;
}
Notice that there’s only two possible orientations for men, gay or straight. In RimWorld, there are no bisexual men, only gay or straight men; there are no straight women, only gay or bisexual women.

Lastly, we move on to the most complicated part of this, age-based attraction. These are hard to visualize just by reading the code, so here they are in diagram form.

malegraph.jpg


femalegraph.jpg


In RimWorld, male pawns will always find pawns between 20 and their own age attractive. If the male pawn in question is under 20, that doesn’t make a difference – because it’ll check the “lower” bound first, they’re guaranteed to find a 20-year-old attractive. This explains why Rob (age 32) and Boots (age 17) keep trying to ask out Reed (age 23). But, since the same code doesn’t check for relative age, 17-year-old Boots wouldn’t actually find a fellow 17-year-old teenager all that attractive. There’s also a minimum age for attraction, 16 years old, and a maximum age, any pawn 15 years older than themselves. So in this case, Boots wouldn’t find any woman over the age of 32, or any woman under age 16, attractive.

On the other hand, women overwhelmingly prefer partners older than them. And, unlike for men, there’s no firm cutoff for pawns that are “too old”: even pawns 40 years older than the woman in question have a chance of being perceived as attractive. Contrast this to the calculation for men, where pawns 15 years older than them have absolutely no chance.

In summary:

  • Men are about eight times as likely as women to try and start a romance.
  • Pawns with disabilities will always be found less attractive.
  • Beautiful pawns are always considered vastly more attractive; ugly pawns, vastly less. Physical beauty is the only trait that governs attractiveness, aside from sexual orientation.
  • Straight men always find men unattractive. Gay men always find women unattractive. There are no bisexual men.
  • Women may find women attractive. Gay women always find men unattractive. There are only bisexual or gay women.
  • All men consider partners aged 20 to their own age most attractive. If they’re under 20, they’ll find pawns 20 or over most attractive, with no regard for pawns that are a similar age to them.
  • All women consider partners the same age and older most attractive. Partners slightly younger than themselves are very unattractive, and partners that are 10 years younger than them are always considered unattractive.
  • All men consider any pawn 15 years older than themselves to be unattractive.
  • There is no “old age” cutoff for women. No matter how much older a partner is, women have some chance of finding them attractive.
Now, RimWorld is not finished. It’s a game that’s still under constant development, and so this relationship system might well continue to develop and change. On top of that, the various numbers thrown into these governing formulae might well be there because of a late night, or as placeholders, or just to try and make the systems work. In other words, there might not be any specific commentary on or interpretation of gender roles behind this, malicious or otherwise. Any game system that tries to represent or model complicated real-world scenarios necessarily has to make abstractions and sacrifices, and human relationships might be one of the most complicated things you could possibly portray.

rimworldcol.jpg


But we are not analyzing RimWorld on the basis of what it might be in the future. The question we’re asking is, “what are the stories that RimWorld is already telling?” Yes, making a game is a lot of work, and maybe these numbers were just thrown in without too much thought as to how they’d influence the game. But what kind of system is being designed, that in order to ‘just make it work’, you wind up with a system where there will never be bisexual men? Or where all women, across the board, are eight times less likely to initiate romance?

On top of that, what RimWorld doesn’t model is as important as what it does. Remember how constantly being hit on and rebuffing people doesn’t lead to a mood penalty, only a reduced opinion of the person pursuing? In daily life, the feeling of having to constantly turn people down is not a nice feeling. But these negative feelings are only reflected mechanically for those being rejected, and because of the way romance initiation is handled, you end up having to cater for the sad rejected men, rather than the women who are always having to turn away these unwanted encounters.

We could label that behaviour a bug, perhaps. But those are just the surface symptoms. Those are the easily-noticed, in-game consequences of a system whose base structure has literally encoded assumptions about how men and women operate. Now, representation is a tricky subject, and we will probably never create a perfect model of romantic behaviour.

But the problem with this model isn’t that it’s flawed. It’s that it’s flawed in a way that perfectly mirrors existing sexist expectations of romance, with such specificity that it is hard to view it as unintentional . And if it is unintentional it is on us to ask what this system is trying to show. What are the possibilities that it allows? What is RimWorld setting as the boundaries of possibility?

Decompiling the source code provides a very clear look at how these gender differences were written into the game. However, it’s not something that’s intuitive to grasp just by playing the game. At the same time, this is a system that has an enormous impact on how you play, because one of the key challenges in RimWorld is keeping your colonists happy. Code is never neutral. All of these coded structures push a particular scenario over others, and most of the time this is fairly benign. However, this does not mean that it should escape scrutiny, because we can end up uncritically coding in harmful assumptions, which ultimately means we are constraining what our games could be while also alienating other players.

roughchild.jpg


As for Reed, things have gotten a little better. Other women have joined the colony, and one of them, nineteen-year-old Roughchild, has gotten engaged to Rob. Reed’s on better terms with Rob, now that he’s spending time with his fiancee instead of constantly trying to get with her. Everyone still adores her, of course, because she’s beautiful; everyone still talks to her, and Boots is still making passes at her. But the feeling is never mutual.
 

Strelok

Perfectly Cromulent Poster
kiwifarms.net
I'm actually going to break the meme circlejerk here to actually explain what happened here, becuase this drama has actually been brewing for awhile. It's retarded, but not in the way you'd think from the title. RPS has a sjw tilt for sure, but they also are one of the few mainstream review sites that are willing to tell a press darling dev "what the fuck are you doing" like their no man's sky review, instead of sucking the hype cock.

Ok so Rimworld, aka "Dwarf Fortress but not as interesting". The guy who makes it is a weirdo loveshy apparently, who decided his game about space colonists mucking about on an alien world before getting butchered by barbarians needed to "factually represent scientific studies on sexuality" and other insane buzzwords that only made sense to him. As a result, all women in his game are partially bi, all men are either gay or straight full stop, (because bisexual men and straight women don't exist see) and all men wind up being weirdo dipshits who spend all day hitting on women (instead of DOING THEIR FUCKING JOBS WE NEED MEAT JOE SUAREZ STOP HITTING ON LINDA) and being rejected to the point where an actual meta strategy you wind up having to deal with is all your beta cucks being depressed and needing better amenities to help them get over the constant pain of rejection. The women take no hit from this barage of weirdos, which is a good thing otherwise some guy with his dick out would literally grind the entire goddamn colony to a halt.

When people pointed out how this was retarded and pointless, he isntead jumps into muli paragraph rants about what studies he read, when what people really mean is "seriously, nobody fucking cares, its a space colony game"
 
Last edited:

DuskEngine

watermelon seller
True & Honest Fan
kiwifarms.net
Ok so Rimworld, aka "Dwarf Fortress but not as interesting". The guy who makes it is a weirdo loveshy apparently, who decided his game about space colonists mucking about on an alien world before getting butchered by barbarians needed to "factually represent scientific studies on sexuality" and other insane buzzwords that only made sense to him.

Yeah the RPS handwringing is funny as ever but it was pretty interesting seeing the autismal level of thought he put into this instead of adding content that anyone anywhere wanted.

As a result, all women in his game are partially bi, all men are either gay or straight full stop, (because bisexual men and straight women don't exist see) and all men wind up being weirdo dipshits who spend all day hitting on women (instead of DOING THEIR FUCKING JOBS WE NEED MEAT JOE SUAREZ STOP HITTING ON LINDA) and being rejected to the point where an actual meta strategy you wind up having to deal with is all your beta cucks being depressed and needing better amenities to help them get over the constant pain of rejection. The women take no hit from this barage of weirdos, which is a good thing otherwise some guy with his dick out would literally grind the entire goddamn colony to a halt.

I have lost more colonists to love quest induced stress than I have to the fucking mechanoids
 

Strelok

Perfectly Cromulent Poster
kiwifarms.net
Yeah the RPS handwringing is funny as ever but it was pretty interesting seeing the autismal level of thought he put into this instead of adding content that anyone anywhere wanted.



I have lost more colonists to love quest induced stress than I have to the fucking mechanoids

He claims he refused their interview because he didn't want any editing, but everyone who knows him knows nobody would give him editorial control because he has a tendency to go into essay long rants, and nobody would want to read an interview in that fucking format.

Interviewer: "So, good morning, how are you"
Him: "Entire transcript of war and peace in three languages"
 

Strelok

Perfectly Cromulent Poster
kiwifarms.net
Also to point out how absurd it is from an actual gameplay standpoint, the last time I played, I got 5 men and 1 women. They all died to raiders because the men spent all day crying into their beds instead of setting up a perimeter. The woman was a massive alcoholic, and thus was useless too.

It literally is Beta Cuck Simulator 2016.
 

Strelok

Perfectly Cromulent Poster
kiwifarms.net
lol didn't read

realtallk: I think they're overthinking it.

I would agree they're overthinking it if the guy who made it had gone "oh, no it was some shitty code I overlooked, i just punched in some placeholder values and haven't gone back to it" (i mean he sooorta made this argument before he took the exit to crazytown), or "I don't really care, it's my game, suck it up" instead of "actually, all these studies about gender relations and sexual characteristics and such that I've researched, read, and cited means XYZ is perfectly normal to put in my game about mentally brain damaged colonists who can't even build a bed without some overseer screaming a them to do it".

This was part of his massive rebuttal to the article, and it's fucking WEIRD how invested he is into how much your dipshit colonists grind sexual organs. TLDR just read the first like 3 sentences it's the important bit.

I think bi-curiosity is quite asymmetrical between sexes. I've developed this view from research, and it also aligns with what I've observed personally.
Research: http://www.advocate.com/bisexuality/2015/08/26/study-women-are-more-likely-be-bisexual-men
The above study indicates that a larger proportion of women who identify as straight are bi-curious or have engaged in bisexual behavior.
Research: http://williamsinstitute.law.ucla.edu/wp-content/uploads/Gates-How-Many-People-LGBT-Apr-2011.pdf
The above paper indicates (on page 6 specifically) that of people who identify as gay/lesbian/bi, the proportion of bi among women is about double the proportion of bi men.
And personal observations: I've known some bi women and a large proportion of the nominally straight women I've known have discussed bi impulses or experiences they've had. In contrast, every bi man I've ever known has ultimately ended up identifying as gay. These patterns seem to apply even in very gay-friendly social contexts.
Of course I'm sure bi/bi-curious men exist, but the research and what I've seen supports the conclusion that they're rarer than bi women. Conversely, gay women seem to be rarer than gay men.
Nor am I an expert in all this; the game simply attempts a very rough approximation of some patterns from real life. In truth I never did a full analysis of every possible situation this code could run into. I'm sure various numbers are wrong. But, it's functional and gets the job done.
In truth I hate these discussions because there's really no way to reach agreement. So I don't ask you to agree with me necessarily, only to understand why I would make these choices given the research and observations I've found.

It's like if Yanderedev at least knew how to code. It's the perfect storm of drama where everyone involved are retarded.
 
Last edited:

c-no

Gluttonous Bed Shitter
True & Honest Fan
kiwifarms.net
I'm actually going to break the meme circlejerk here to actually explain what happened here, becuase this drama has actually been brewing for awhile. It's exceptional, but not in the way you'd think from the title. RPS has a sjw tilt for sure, but they also are one of the few mainstream review sites that are willing to tell a press darling dev "what the fuck are you doing" like their no man's sky review, instead of sucking the hype cock.

Ok so Rimworld, aka "Dwarf Fortress but not as interesting". The guy who makes it is a weirdo loveshy apparently, who decided his game about space colonists mucking about on an alien world before getting butchered by barbarians needed to "factually represent scientific studies on sexuality" and other insane buzzwords that only made sense to him. As a result, all women in his game are partially bi, all men are either gay or straight full stop, (because bisexual men and straight women don't exist see) and all men wind up being weirdo dipshits who spend all day hitting on women (instead of DOING THEIR FUCKING JOBS WE NEED MEAT JOE SUAREZ STOP HITTING ON LINDA) and being rejected to the point where an actual meta strategy you wind up having to deal with is all your beta cucks being depressed and needing better amenities to help them get over the constant pain of rejection. The women take no hit from this barage of weirdos, which is a good thing otherwise some guy with his dick out would literally grind the entire goddamn colony to a halt.

When people pointed out how this was exceptional and pointless, he isntead jumps into muli paragraph rants about what studies he read, when what people really mean is "seriously, nobody fucking cares, its a space colony game"
And I thought it was just some people bitching over a stupid video game. Now to see how the dev is, may as well get some popcorn and see how far this turd train goes, especially since the dev had to reply with paragraph rants.

It's like if Yanderedev at least knew how to code. It's the perfect storm of drama where everyone involved are exceptional.
Not to sound like an insult to @Jaimas but damn in regards to the paragraph, that could rival the paragraph's that Jaimas would post.
 

Similar threads

ft. r/GenderCritical & related reddits, Mancheeze, Cathy Brennan, GCDad, RadFHarva, Jamie Shupe, etc; "Gender Critical Feminism is Homophobic" - Cathy Brennan, 2019.
Replies
3K
Views
603K
J
For people who find Tumblr too triggering
Replies
242
Views
87K
Batshit Otherkin Pedophile Sadist and Her Brainwashed Child Bride
Replies
4K
Views
829K
Top