Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
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.
@BlackFranky I had a quick look and could not figure out how to hook up with surgery events. Will get back to it later.
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.
As for the default values of settings, have you tried to simply initialize the variables? "public bool alertColonist = true;"
If anyone knows how to remedy this problem, please let me know! Thanks in advance!
Happy fun!
I am using dnSpy which is mentioned in the tutorial Jigain linked.
Should be mostly copy/paste and maybe some renaming to get your source code back.
But I am also just a beginner. If at all.
https://rimworldwiki.com/wiki/Modding_Tutorials/Decompiling_source_code
Hope you manage to figure it out, I'm really missing this mod. :)
I noticed that the letter does not get send for colonists in a mental state.
You are using "pawn.IsColonistPlayerControlled" which excludes colonists in mental states.
Is there a reason for that? Otherwise "pawn.IsColonist" should fix the issue.
Thanks for your mod!
Not game-breaking, just annoying. Please update a fix.
Thank you ZzZombo, for your suggestion on using Harmony! Things are indeed nicer and cleaner.
Please help me if you can. I Believe just by looking at this image (of my code), you can point out what I need to do
https://drive.google.com/file/d/1OLnGZYm9WBoN1dztiEJ3JCEmeubJtbIb/view?usp=sharing
Thank you in advance!
Even if the tool is decent, I probably won't download to use it. Don't like having so many things lying around.
So back to manual copy and paste then :(
To clarify, Steam doesn't care a little bit about what is put in `About/About.xml` or anywhere else. It doesn't even know it's significant in any way. So you gotta manually make sure any data between them is in sync.
I will look at using Harmony when I have a chance.
Btw, do you know how to display the content of the about file in the Steam title and description? I change something in the About.xml and update the mod, and Steam does not show it. I have to copy and paste the new about content into Steam description. I am sure this is not the way, but can't figure it out. If you or anyone knows, please show me! Thanks in advance!
Cheers!
Believe me, we players with several hundreds of mods are ever so grateful for modders who do it the right way and save tons of time.
Now thats the modding is over, I have more time to exam what is what. Yeah, Letter Permanent Injury is clean, to the point and tell users all they need to know. I think I will go this route, for now. Maybe add the tag later, when it is really needed.
Cheers!
Cheers!
P. S.: It's not too late to rename your mods.
I have no actual bug report yet.