RimWorld

RimWorld

111 ratings
A mod that basically adds Cyberpsychosis
2
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.5
File Size
Posted
Updated
372.362 KB
Dec 26, 2024 @ 5:58am
Mar 27 @ 1:01pm
9 Change Notes ( view )

Subscribe to download
A mod that basically adds Cyberpsychosis

Description
Content
This mod adds a cyberpsychosis-like mechanic to the game. Non-mechanoid pawns [such as humans and animals] will have a new Biostability need, it starts full and passively refills over time. Its level gets lowered when a pawn receives body modifications such as installation of bionics or xenogene implantations.
Most values, multipliers and whatever else can be adjusted in the mod’s settings.

Biostability Loss Details
The amount of Biostability lost upon the installation of an implant depends on a few different factors:
  • Implant / Body Part Replacement. Body modifications that are installed onto or into a body part, such as the mechlink or stoneskin gland implants have a lesser impact on Biostability than those that fully replace a body part, such as bionics.
  • Market Value. The impact on Biostability is mainly affected by the implant’s or body part replacement’s market value. The more expensive it is, the more of an impact it has. For most body part replacements, the Biostability loss should be the equivalent to its market value divided by 100. This multiplier is capped at 50, so any implant that costs more than 5000 counts as being worth 5000. This can be adjusted in the mod’s settings.
  • Pawn Stats. This mod adds two new stats for pawns. One of them affects Biostability loss. At the time of me writing this, said stat is affected by the Body Purist and Body Modder traits and certain Ideology precepts.
  • Mod Settings. Other than settings for certain multipliers, there also are sliders that affect “global” Biostability gain and recovery speed.
  • Mod Extension. In case the impact of a body modification doesn’t match its importance for whatever reason, a simple mod extension can be added to its def in order to give it an extra multiplier. At the time of me writing this, only the mechlink has been given one [due to its removal method, or lack of it to be precise, the market value of it wasn’t accessible for use in the calculations]. If another modder wants to or wants me to make their implants have a lesser or higher impact then this can be used for such a purpose.
Biotech Only. The amount of biostability lost upon the implantation of new xenogenes is higher for each xenogene’s impact on metabolic efficiency [for that reason cosmetic-only genes are “free”]. There is also a cap on the impact, it starts at 35% and is increased by 5% for each point of metabolic efficiency away from 0. The maximum value of the cap is 60%. In short: while “unbalanced” sets of genes are not gonna instantly drive a pawn insane by themselves, an overall metabolic efficiency of 0 is the sweet spot that will keep the impact low even with a lot of xenogenes being installed.

Biostability Recovery Details
Biostability can be recovered/refilled in a few different ways:
  • Passive Recovery. The Biostability need, like mentioned before, passively refills over time. The rate at which it does so is affected by the pawn’s stats and the mod’s settings.
  • Implant Removal. The need can be refilled by removing implants or bionics, doing so “refunds” most of the stability that was lost by the item’s installation. The amount of stability refunded decreases with each implant or bionic the pawn currently has installed, this can be adjusted or disabled entirely in the mod’s settings.

Consequences of Low Biostability
When Biostability reaches low enough levels, two main things will start happening:
  • Mood Debuffs. When the bar reaches a level below 80%, the pawn will receive a -4 mood debuff and for every 15% below that, the debuff will double. The maximum is a -64 mood debuff if the bar reaches less than 20%.
  • Forced Mental Breaks. When the bar reaches a level below 60%, the pawn will have a 20% chance every 2 days to experience a “forced” mental break, which means it will happen regardless of the pawn’s mood or mental break threshold. At first the breaks are of a minor level, if the bar falls below 35% the breaks will be of the major level, a value of less than 20% will result in extreme mental breaks. In the case of animals, the only mental breaks available for them are Aimless Wandering, Tantrum and Berserk mental states. The chance can be adjusted in the settings [setting it to 0% should completely prevent those breaks from happening].
Most Vanilla and DLC implants should not drop the bar below levels that cause the -4 mood debuff if the bar is at 100% when queuing the surgery. So while the consequences are meant to be harsh, my intention is to make them easily avoidable if implants are installed slowly.

Compatibility
Any health condition, aka a “hediff”, that directly or indirectly uses the “ImplantHediffBase” will work with this mod by default. Any unsupported mod should be quite easy to support, so just let me know if there are any that don’t work with this mod and I’ll make a patch for ‘em.

Miscellaneous Details
  • Removing xenogenes does not “refund” Biostability.
  • Biostability loss happens regardless of how an implant is installed.
  • When Biostability loss would result in a level below 0%, the pawn will get a “biodestabilization” health condition that lowers recovery rate.
  • Swapping a body part replacement with another one will still cause a Biostability “refund” to happen. For example: swapping a bionic arm for an archotech one will result in a lower loss than installing an archotech arm right away.

Answers To Questions That I’m Assuming People Are Gonna Ask
  • Question: Is this mod safe to add/remove mid-save?
  • Answer: Yep, it should be perfectly safe to add mid-save or disable it mid-save if it’s
    causing issues. After removal you’ll get a large handful of errors when you first re-load your save, but I have not not noticed any long-term issues after disabling the mod during testing. Do make backups just in case though.
  • Question: What about immunosuppresants? They’re a thing in Cyberpunk Edgerunners, so why not add them?
  • Answer: I didn’t really know how to balance the mod around an item that would essentially disable its one and only mechanic. But I do wanna make a separate mod that adds a similar drug. If another modder wants to beat me to it, there are two sets of textures for said drug in the mod’s files that are currently not in use, they’re free to use if anyone wants ‘em.
  • Question: Is this mod balanced?
  • Answer: It should be, though it likely will depend on what mod are in your mods list and settings.
  • Question: What’s the performance impact?
  • Answer: From what I’ve checked and tested, the impact is minimal.
  • Question: CE?
  • Answer: >:[
Popular Discussions View All (5)
13
Mar 28 @ 1:29pm
Support/Compatability
MrKociak
7
Dec 29, 2024 @ 11:57am
Suggestion for immunosuppresants
Reishe
1
Dec 26, 2024 @ 8:30am
Balancing
MrKociak
74 Comments
GravitWry Jun 5 @ 2:00pm 
@MrMociak Oh my worries were for nothing, works just fine, the only problem is that it installs all individual implants in one go, so unlike doing the operation manually, you can't gauge how much the Biostability bar lowers, thus a ticking time bomb once the aesthetic wears off.
MrKociak  [author] Jun 5 @ 7:44am 
@GravitWry The automator would be a bit hard to use with this mod, ye.
I'm assuming it installs a ton of bionics into a pawn at once, so it would cause the biostability bar to drop by a lot instantly.

Tho, if you meant to ask whether or not it would bypass this mod then no need to worry :smugcatsack:
The bar gets lowered regardless of how an implant was applied, so it doesn't have to be installed via a normal surgery for it to have an effect. It even works with implants applied via dev mode.

This extends to regaining stability too. Getting a bionic arm shot off "helps" the same way surgical removal would.
GravitWry Jun 4 @ 6:43pm 
God yes, this is perfect for me to slow down and not messily slap what ever mods I have on hand on what ever pawn would fit it, this'll actually force me to slow down and think things through and be a /not/ an idiot.

Also I haven't tried it yet but something tells me that "Bionix Automator" would be.. problematic(?) with this mod, I thought about it just now when making the comment above.
Comradebusman3 Jun 1 @ 5:28pm 
@pootis I'd also like to say that lets be honest, most Ad Mech are completely and utterly bonkers. They're definitely insane, it's just a different type of insanity than cyberpunk, more of the "I can hear voices" and less of the "the voices tell me to kill"
MrKociak  [author] May 31 @ 2:16am 
@Pootis yeah, but I thought that'd be a lil' too OP.
Body modder is already one of the best traits in the game [and body purist's already one of the worst], so I didn't wanna go too overboard.
Pootis May 30 @ 10:08pm 
Wouldn't it just completely disable the biostability need entirely?
Y'know, kinda like how the Admech in 40k venerate becoming 80% machine without going insane.
MrKociak  [author] May 30 @ 4:53am 
@Pootis pawns with that ideology/trait don't mind receiving implants as much
Pootis May 29 @ 9:41pm 
How does this interact with the Transhumanism meme and Transhumanist trait?
MrKociak  [author] May 29 @ 9:15am 
@Stellar forester once I'm done with this semester [so in maybaps ~3 weeks] and get around to making an immunosuppresants mod, I'll experiment with various drawbacks like those, ye :smugcatsack:
MrKociak  [author] May 29 @ 9:11am 
@Rudi Gauss huh, I'll have to look into how the freak that happens.
If that mental break straight up refills every need bar, imma perform violent actions against Tynan