RimWorld

RimWorld

Letter Permanent Injury
43 Comments
wowhvb  [author] 24 Aug @ 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!
llunak 24 Aug @ 3:22am 
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  [author] 22 Apr @ 6:51pm 
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 22 Apr @ 5:44am 
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 12 Apr @ 5:30pm 
thank you for updating it!!!!
wowhvb  [author] 11 Apr @ 8:25pm 
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 11 Apr @ 11:05am 
hoping this works in 1.5. such an essential mod that should be basegame
wowhvb  [author] 13 Mar @ 4:08pm 
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 16 Nov, 2022 @ 11:10am 
Thank you for the update!
wowhvb  [author] 8 Nov, 2022 @ 4:38pm 
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 8 Nov, 2022 @ 4:51am 
@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 8 Nov, 2022 @ 3:05am 
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  [author] 8 Nov, 2022 @ 2:51am 
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 1 Nov, 2022 @ 4:39pm 
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 28 Oct, 2022 @ 1:26am 
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  [author] 26 Oct, 2022 @ 3:35pm 
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 :) 25 Oct, 2022 @ 4:42pm 
Thanks for the great mod! Hoping it gets updated for 1.4. <3
wowhvb  [author] 14 Oct, 2021 @ 5:53am 
@Avila Could you please take a screenshot of the error from rocketman? Also, is rocketman a mod that helps with frame rate?
Avila 13 Oct, 2021 @ 11:15am 
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 22 Sep, 2021 @ 3:50pm 
Otherwise, very handy mod. +1. :)
FoxyLover69 22 Sep, 2021 @ 3:50pm 
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 21 Sep, 2021 @ 7:04am 
Glad you resolved it! Looking forward to your mods!
wowhvb  [author] 19 Sep, 2021 @ 11:10am 
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  [author] 19 Sep, 2021 @ 9:06am 
@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 12 Sep, 2021 @ 7:09am 
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  [author] 12 Sep, 2021 @ 6:36am 
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 12 Sep, 2021 @ 4:33am 
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  [author] 11 Sep, 2021 @ 9:14pm 
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  [author] 11 Sep, 2021 @ 9:02pm 
Thanks for the tip. I have no idea about both of the points you gave. I have to spend sometime and find out.
ZzZombo 11 Sep, 2021 @ 2:10am 
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 11 Sep, 2021 @ 2:02am 
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  [author] 10 Sep, 2021 @ 3:18am 
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 10 Sep, 2021 @ 1:20am 
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 10 Sep, 2021 @ 1:18am 
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 9 Sep, 2021 @ 7:30pm 
No problem, buddy!
wowhvb  [author] 9 Sep, 2021 @ 7:04pm 
Changed mod tag name to WarBuggy to avoid confusion. Thanks everyone for the feedback!
wowhvb  [author] 9 Sep, 2021 @ 6:50pm 
I was just blindly follow tutorial suggestion :)) Thanks for the advice ZzZombo. I will change it something less confusing.
Cheers!
ZzZombo 9 Sep, 2021 @ 5:45pm 
Then you should name mods like so "Buggy's <whatever>". Cheers!
P. S.: It's not too late to rename your mods.
wowhvb  [author] 9 Sep, 2021 @ 8:18am 
Sorry for the confusion. It is not. Buggy is my tag name.

I have no actual bug report yet.
ZzZombo 9 Sep, 2021 @ 4:18am 
Why is this buggy?
wooaa 3 Sep, 2021 @ 3:04pm 
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.
wowhvb  [author] 3 Sep, 2021 @ 11:25am 
@Mile I added tag name like in the tutorial recommended, but didn't know that Steam create another mod :( Please subscribe to this one. Sorry for the inconvenience!
(Edited: subscribe to THIS one... excuse me... it's late here)
Mlie 3 Sep, 2021 @ 11:17am 
Why two versions of the same mod?