RimWorld

RimWorld

187 ratings
Letter Permanent Injury
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.3, 1.4, 1.5, 1.6
File Size
Posted
Updated
849.200 KB
3 Sep, 2021 @ 10:53am
13 Jul @ 8:08pm
14 Change Notes ( view )

Subscribe to download
Letter Permanent Injury

Description
Send a letter when a colonist, a prisoner or a colony's animal suffers a permanent injury. The letter shows the unfortunate pawn's name and body part.

There are options to choose which pawn to send letter upon injury.

There is an option to ignore permanent injuries when affected pawn is under anesthesia. This is a workaround to prevent alerts when pawn is undergo planned surgery. Default is on (show alerts).

From v0.4, this mod uses Harmony and should not cause any conflict with other mods.

Please check the mod settings to turn on the alerts (Thanks, Corosus). They are off by default and I do not know how to change this.

It can be safely added mid-game.

If you like this mod, maybe check out my other ones:
More Biotech Letters https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2889303626
Mutated Pawn: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3010441060
Billed Deep Drill https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2593197871

It would be great to receive feedback, suggestions or pointers on how to improve. Hope these mods help!

Cheers!

Github: https://github.com/WarBuggy/RimworldMod.LetterPermanentInjury.git

Version history
v0.7.1
  • Fix a bug where debug setting is used for under anesthesia setting.
v0.7
  • Add option to ignore permanent injuries when affected pawn is under anesthesia. This is a workaround to prevent alerts when pawn is undergo planned surgery. Default is on (show alerts).
v0.6.1
  • Add compatibility for 1.6.
v0.6
  • Add compatibility for 1.5. Happy horror hunting!
  • Add github link.
v0.5
  • Add compatibility for 1.4. Thank you basics :), Jigain, Kopp and every other subscribers for your patient, help and encouragement!
  • Uncontrolled colonists that receive permanent injuries can now be included. Thank you Kopp!
v0.4.1
  • Turn off Harmony DEBUG. Sorry about this guys! Thank you FoxyLover69!
v0.4
  • Use Harmony to avoid conflict with other mod. Thank you ZzZombo!
v0.3.2
  • Remove tag from mod name to make it clearer.
v0.3.1
  • Add tag to mod name as recommended in tutorials.
v0.3
  • Add options to send letter or not when pawns are colonists, prisoners or pets. Sending letter is the default options for all 3.
  • Add option to log debug message on console. Default option is no logging.
v0.2
  • The game now also send a letter when a colony animal or pet suffers a permanent injury.
v0.1
  • Send a letter when a colonist or a prisoner suffer a permanent injury.
52 Comments
wowhvb  [author] 12 Jul @ 1:12pm 
@@BlackFranky I added an option to ignore permanent injuries when affected pawn is under anesthesia. This is a workaround to prevent alerts when pawn is undergo planned surgery. Default is on (show alerts).

It is not the perfect solution, but it will do for now. If the option is set to off (not show) and unexpected permanent injuries occur, the "surgery failed" letter should alert the mishappen and be inspected.
wowhvb  [author] 11 Jul @ 10:37pm 
The mod is now 1.6 compatible.
@BlackFranky I had a quick look and could not figure out how to hook up with surgery events. Will get back to it later.
wowhvb  [author] 4 Jul @ 1:02pm 
@thorman123456789 I will work on the version and feature update once 1.6 is officially out and relatively stable. This is because I don't have much time and prefer to work on a as stable as possible source code. That might mean my mods do not get update day 1 or even week 1. I would like to wait until after some post release hot-fixes, if any. Cheers!
thorman123456789 4 Jul @ 12:43pm 
1.6 please?
wowhvb  [author] 30 Jun @ 3:09pm 
@BlackFranky Noted. Thank you for your feedback!
BlackFranky 30 Jun @ 11:46am 
Hi, could you exclude permanent injuries which happen because of removal operations?
I am removing all implants from my colonists (like archotech legs and arms) to put the on their brand new high quality sleeves (Altered Carbon Mod) and get yellow messages for both operation botched and operation worked.
I already switched the messages off for the moment as a workaround, but you may want to consider this.
wowhvb  [author] 25 Feb @ 7:15pm 
@Shouty I don't understand what you meant? Message as in those texts on the top left of the screen?
Shouty 25 Feb @ 5:50pm 
great mod. Is it possible to set injury alerts to instead be messages? I was doing a Winston Waves CE game and I would get like 5 alerts a battle...I'd bet the alerts are fine in normal play tho :)
wowhvb  [author] 13 Oct, 2024 @ 10:07am 
@lluank I have made several attempts to look for scars, but failed. To me, the game and my mod use the same code to look for scars (HediffUtility.TryGetComp<HediffComp_GetsPermanent> and isPermanent). Do you or anyone know how to detect scar in a new injury?
wowhvb  [author] 24 Aug, 2024 @ 8:18pm 
Thank you for the tip @llunank. I haven't done that ("public bool alertColonist = true;"). I will try that. And also look into the scar issue. Cheers!