RimWorld
Letter Permanent Injury
52 megjegyzés
wowhvb  [készítő] júl. 12., 13:12 
@@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  [készítő] júl. 11., 22:37 
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  [készítő] júl. 4., 13:02 
@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 júl. 4., 12:43 
1.6 please?
wowhvb  [készítő] jún. 30., 15:09 
@BlackFranky Noted. Thank you for your feedback!
BlackFranky jún. 30., 11:46 
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  [készítő] febr. 25., 19:15 
@Shouty I don't understand what you meant? Message as in those texts on the top left of the screen?
Shouty febr. 25., 17:50 
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  [készítő] 2024. okt. 13., 10:07 
@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  [készítő] 2024. aug. 24., 20:18 
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!
llunak 2024. aug. 24., 3:22 
This does not report scars, could you please add that?

As for the default values of settings, have you tried to simply initialize the variables? "public bool alertColonist = true;"
wowhvb  [készítő] 2024. ápr. 22., 18:51 
This is a problem I am aware of but do not know how to fix, unfortunately. I have true as the default settings, for all colonists, prisoners and pets. But somehow on new download, everything is set to false :(
If anyone knows how to remedy this problem, please let me know! Thanks in advance!
Corosus 2024. ápr. 22., 5:44 
Was going to write to say the mod never worked for me, but I figured I should check the settings first, turns out every feature is off by default xD. I imagine it'll probably work now.
Commander Link 2024. ápr. 12., 17:30 
thank you for updating it!!!!
wowhvb  [készítő] 2024. ápr. 11., 20:25 
I added compatibility for 1.5. Sorry but I don't have time to test it with just vanilla 1.5. I could only test it with 1.5 + all DLCs, including Anomaly. If you haven't got Anomaly and run into any problem, please let me know here!

Happy fun!
Commander Link 2024. ápr. 11., 11:05 
hoping this works in 1.5. such an essential mod that should be basegame
wowhvb  [készítő] 2024. márc. 13., 16:08 
Hi everyone. Great news about 1.5 and Anomaly. I don't have time to play and test the beta branch right now. I read through the 1.5 patch note and it seems like my mods might not be affected. If you find any compatibility problem, please let me know and I will spend time to fix it up properly. Thank you in advance! When 1.5 officially drops, I will update the mod ASAP.
gold_talisman 2022. nov. 16., 11:10 
Thank you for the update!
wowhvb  [készítő] 2022. nov. 8., 16:38 
Hi everyone! I added compatibility for 1.4. Unfortunately, I haven't really tested or even played 1.4 much. It would be great if you guys can help me with testing! Thanks everyone for your supports!
Kopp 2022. nov. 8., 4:51 
@wowhvb
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.
Jigain 2022. nov. 8., 3:05 
This seems like a good place to start:
https://rimworldwiki.com/wiki/Modding_Tutorials/Decompiling_source_code

Hope you manage to figure it out, I'm really missing this mod. :)
wowhvb  [készítő] 2022. nov. 8., 2:51 
Hi @Kopp! How do you know which function that I used? I am asking because I just realized I lost all the source codes for both of my mods. Not only that, since I haven't done any modding for a while now, I have forgotten EVERYTHING! I have to go over the tutorials again :)) Anyway, back to my question, do you know a way to decompile the dll? Please help me! I am just a hobby coder. Thanks in advance!
Kopp 2022. nov. 1., 16:39 
hey wowhvb,
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!
Jigain 2022. okt. 28., 1:26 
Good to hear you're planning on updating the mod @wowhvb! It's such a simple idea yet so very crucial once you get used to having it as a mod. Enjoy the rest of your vacation!
wowhvb  [készítő] 2022. okt. 26., 15:35 
Thanks basic :) ! Right now, I am on a planned vacation (talk about bad timing) and won't be able to do anything for another 2 weeks or so :(. Updating the mod will be the first priority when I am back.
basics :) 2022. okt. 25., 16:42 
Thanks for the great mod! Hoping it gets updated for 1.4. <3
wowhvb  [készítő] 2021. okt. 14., 5:53 
@Avila Could you please take a screenshot of the error from rocketman? Also, is rocketman a mod that helps with frame rate?
Avila 2021. okt. 13., 11:15 
I'm unsure why this happens, or if it's a conflict with another mod. For some reason when this mod is active, it causes rocketman to shoot out an error, and forces all attacks to auto miss. Eventually they stop fighting and move away, and whenever drafting to attack nothing happens either.
FoxyLover69 2021. szept. 22., 15:50 
Otherwise, very handy mod. +1. :)
FoxyLover69 2021. szept. 22., 15:50 
Please remember to turn off harmony log output when publishing. I keep getting a harmony.log on my desktop from this mod.

Not game-breaking, just annoying. Please update a fix.
ZzZombo 2021. szept. 21., 7:04 
Glad you resolved it! Looking forward to your mods!
wowhvb  [készítő] 2021. szept. 19., 11:10 
Never mind, ZzZombo. I got it. The key was using static constructor and not blindly follow Harmony doc sample code.

Thank you ZzZombo, for your suggestion on using Harmony! Things are indeed nicer and cleaner.
wowhvb  [készítő] 2021. szept. 19., 9:06 
@ZzZombo Could you help me with this harmony problem? I am trying to use Harmony for this mod. I got the code, but can't get rimworld to load it. No Log.Message of any kind. No Harmony log txt file even with DEBUG true.

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!
ZzZombo 2021. szept. 12., 7:09 
I know it's probably a long shot to switch to Harmony patches (although it's not that complicated either), so meanwhile, consider going away from overwriting vanilla defs to patching them with XML patches. Fact: I've spent last several days trying to catch a bug in MY mod before I realized another, careless mod author overwrote the same def I also worked with, so no changes I did actually got through. Dis not fun!
wowhvb  [készítő] 2021. szept. 12., 6:36 
Thank you ZzZombo.

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 :(
ZzZombo 2021. szept. 12., 4:33 
Sorry, but unless you want to use certain tools, this is the way I personally do it. And before you ask, the tools are all highly opinionated, poorly maintained and often outdated and lack docs or any help from devs as far as I know, so I'd advise not to even bother, although yeah, they exist.

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.
wowhvb  [készítő] 2021. szept. 11., 21:14 
Hi ZzZombo! I think I made use of the change log section. Didn't know about it. Thanks for letting me know!

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!
wowhvb  [készítő] 2021. szept. 11., 21:02 
Thanks for the tip. I have no idea about both of the points you gave. I have to spend sometime and find out.
ZzZombo 2021. szept. 11., 2:10 
Oh, and also please use the proper Changelog section of the Workshop. It's a real hassle to find out what mods changed what because some of them do not conform to doing this in the intended way and so instead of just going there you have to jump back and forth to find the update notes. You can edit it any time so I guess now is a good time as any to try it out!

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.
ZzZombo 2021. szept. 11., 2:02 
Please never override any definition, this will lead to incompatibilities down the line. Use XML patches instead, and in your case I'm sure it's actually better not to touch XML at all and make a Harmony patch to display your messages when a negative permanent hediff is applied.
wowhvb  [készítő] 2021. szept. 10., 3:18 
Lol, thank you for the feedback, JACK!

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!
JACK 2021. szept. 10., 1:20 
though honestly I'm not sure this NEEDS a prefix unless you'd like it to have one. if you're only adding it because the tutorial suggested it then there's that info. no shame in having your name attached to your work though if that's your aim
JACK 2021. szept. 10., 1:18 
sorry to say I have another gripe with the name, lol! because it's warbuggy - modname rather than, say, warbuggy's modname, or modname by warbuggy, I assumed this was for a pack/a patch to a mod named warbuggy! lucky me I clicked in and learned more because I NEED this in my life, but just so you're aware! this one fortunately much less of an issue than the previous one seemed to be but thought I'd let you know nonetheless
ZzZombo 2021. szept. 9., 19:30 
No problem, buddy!
wowhvb  [készítő] 2021. szept. 9., 19:04 
Changed mod tag name to WarBuggy to avoid confusion. Thanks everyone for the feedback!
wowhvb  [készítő] 2021. szept. 9., 18:50 
I was just blindly follow tutorial suggestion :)) Thanks for the advice ZzZombo. I will change it something less confusing.
Cheers!
ZzZombo 2021. szept. 9., 17:45 
Then you should name mods like so "Buggy's <whatever>". Cheers!
P. S.: It's not too late to rename your mods.
wowhvb  [készítő] 2021. szept. 9., 8:18 
Sorry for the confusion. It is not. Buggy is my tag name.

I have no actual bug report yet.
ZzZombo 2021. szept. 9., 4:18 
Why is this buggy?
wooaa 2021. szept. 3., 15:04 
This looks like a fun quality of life mod, all to often have I wondered why someone is walking slow, only to realise they lost their leg 5 days ago.