边缘世界 RimWorld

边缘世界 RimWorld

Caravan Mood Buff
80 条留言
dominicawb 8 月 18 日 下午 12:35 
thank you for updating this, I always wondered if I was just bad at forming caravans, but this really helps to get them LAUNCHED without using dev send instantly
Syrus  [作者] 8 月 16 日 上午 1:28 
Uuh...farily certain this is the wrong mod you posted that on.
It has nothing to do with event letters, mechanoids dropping in or anything like that, just giving mood buffs to caravans. Unless there is a bug I don't know about?
Anker 8 月 15 日 下午 9:44 
Gotta drop this one. I could ignore the way it spammed a bajillion event letters- I just went ahead and added another mod to auto clear out the thousand or so letters on autosave automatically- But having mechanoids drop in an hour after battle doesn't let me deconstruct things on the battlefield to take with me, like vehicle wrecks.
Syrus  [作者] 8 月 14 日 上午 4:28 
Another small update...
Fixed caravan forming mood description & made mood buffs able to be set negative
Syrus  [作者] 8 月 14 日 上午 4:10 
Version 1.6.3
Added adjustable mood buff when forming caravans
dominicawb 8 月 12 日 下午 1:24 
That's fair, I find its a real life phenomena in my personal experience.
Syrus  [作者] 8 月 11 日 下午 5:19 
Sounds like a good idea to look into, though I would implement it as its own buff with its own settings...
dominicawb 8 月 11 日 上午 11:42 
Is it possible to apply the mood buffs DURING formation?? this is when the majority of mental breaks occur, making forming caravans annoying as hell, because they focus on packing instead of taking care of their needs first.
Syrus  [作者] 8 月 9 日 上午 10:03 
Isn't that just a short time of traveling?
Haven't actually played a proper run with this DLC, so I don't know too much about it yet
Klaus Von Wonderstrap 8 月 8 日 下午 6:35 
would it be possible to make a setting to have a mood buff for grav ship travel as well? pls and ty <3
extinct 8 月 8 日 上午 5:44 
OMG just discovered this mod THANK YOU. With Odyssey and the need to explore these elaborate complexes that take forever, the constant mental breaks of my pampered, sissy ass soldiers was driving me to an insulting spree. Like no shit you had to sleep on the ground, boo hoo, man up bitch.
Dizzy Ioeuy 8 月 1 日 下午 8:42 
Yes, no more HUGS, I can finally use this mod!
Syrus  [作者] 7 月 21 日 上午 11:32 
@Sennah
Nah, that's just debug information.
Though I have no idea how you got the initialization of the static defs to fail. Only idea I have to un- and resubscribe to the mod - or there is a conflict with some other mod you are running
Sennah 7 月 21 日 上午 11:11 
Did you leave some path to your files in your code?
Could not execute post-long-event action. Exception: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 4C830C99]
at CaravanMoodBuff.CaravanMoodBuffSettings.InitializeStatics () [0x00000] in D:\0Stuff\2Games\RimWorld\_mods\CaravanMoodBuff\Source\CaravanMoodBuffSettings.cs:59
at CaravanMoodBuff.CaravanMoodBuff.Initialize () [0x00000] in D:\0Stuff\2Games\RimWorld\_mods\CaravanMoodBuff\Source\CaravanMoodBuff.cs:50
at Verse.LongEventHandler.ExecuteToExecuteWhenFinished () [0x0007c] in <981a33edf24d499488b0f820d94638e1>:0
startIndex: 60
endIndex: 72
Syrus  [作者] 7 月 21 日 上午 9:53 
@Aladeen
As long as it works, it works. Maybe not perfectly efficient, but I see no other option for the moment.

@Richard Mc Nutbuster
The error it throws in the log would be a good start, without any info I can't help
Richard Mc Nutbuster 7 月 21 日 上午 8:06 
not sure why (id have no idea what log to produce here) but it pops up a red error and the mod options dont exist
Aladeen 7 月 20 日 下午 7:44 
@Syrus, I agree with you regarding the underlying execution and what it’s doing. Decompiling might help, but even if we figure it out, we won't be able to modify the game :)

That .ToArray() is a poor way of “solving” the problem, but if no weird behaviors are occurring, then I guess we could say “it worked.”
Jetwolf 7 月 20 日 下午 2:50 
Legendary, ta
Syrus  [作者] 7 月 20 日 上午 10:46 
Version 1.6.2
Fixed error due to modified collection, thanks to @Aladeen
Removed leftover debug print

---

@Aladeen
This issue has me slightly worried.
The code, as it was, was taken from previous versions, which ran without issue. Not sure why the collection is modified during the call all of a sudden, it could mean that there is something multithreaded going on which causes the collection to change on subsequent runs of the foreach-loop.
I applied your change, it should work fine, though if it really is a multithreading issue, I'm worried that the collection may be modified while its array is being acquired...not sure what that would mean for my code and its execution.
Aladeen 7 月 20 日 上午 8:25 
Hi Syrus, thanks for your mod! Not sure what's happening in 1.6, but in some cases it throws a repeating error. I submitted a pull request to fix it.
Jetwolf 7 月 14 日 下午 3:06 
Thank you!
[岗] Señiorita woofers 7 月 12 日 上午 8:33 
The Man
Syrus  [作者] 7 月 12 日 上午 7:57 
Update to 1.6
Removed HugsLib dependency
Reworked settings accordingly
Reidlos 7 月 11 日 下午 8:04 
hugs is on its last legs, and has been for 2 expansions, I lvoe this mod and now more then ever with the dlc promoting more exploration, so id love to see an update, if possible with out hugslib req

either way thanks!
[岗] Señiorita woofers 7 月 5 日 上午 4:17 
prolly waiting for the hugslibs update too
[岗] Señiorita woofers 7 月 5 日 上午 4:17 
1.6?
Syrus  [作者] 5 月 22 日 上午 10:49 
@SanguinarcAQL
Yep, I consider that intentional tbh. From what I saw those do not last as long as a caravan event anyway.
Otherwise I'd need to find a way to discern between pocket map from Anomaly event and floor level pocket map from MultiFloor
SanguinarcAQL 5 月 22 日 上午 12:03 
it's a small price to pay for salvation
SanguinarcAQL 5 月 22 日 上午 12:02 
So, no more bonus when going in the pit gate, which is fair, I wouldn't be happy either to descend into a flesh monster infested cave
Syrus  [作者] 5 月 21 日 下午 3:13 
Version 1.5.1
Caravan event mood buff no longer applies for Pocket Maps
(unless it's a Temporary Incident Map; not sure if those two together is ever the case)


I don't own Anomaly, but as far as I can tell, this will also prevent the mood buff from applying to colonists in "pocket maps" caused by Anomaly events.

Seemed like an acceptable solution to the MultiFloor issue, though it would not have been necessary if MultiFloor's created maps returned true for IsPlayerHome for sub-maps of colonies.
Not sure if that has any sideeffects, but if not it would be a nice thing if they changed it.
SanguinarcAQL 5 月 21 日 下午 12:05 
I, too, am very happy when I walk up a stair!
Syrus  [作者] 5 月 21 日 上午 11:23 
I guess walking up to a different floor is a long enough journey to warrant being happy about having made it? :O

Hmh...might look into it at some point
SanguinarcAQL 5 月 19 日 上午 6:27 
Hi! Just want to point out, using MultiFloor with this mod triggers the "Event" mood buff when pawn are on the upper floor
That's the only weird thing I have witnessed, other than that, great mod!
MauPow 4 月 9 日 上午 2:02 
Any chance you could add something so that pawns don't immediately fall asleep at the edge of the map when they return?
Foxtrot 813 1 月 18 日 上午 4:51 
Damn thank you for this mod, my pawn just kept mentally breaking each other, I though they would starve to the mining site.
Good Old Jim 2024 年 12 月 19 日 上午 7:49 
I dont think mood should be removed persay. But I think a rework where you could Force a pawn to snap out of it here and now and have a timed Bigger break down later. Would make more sense really. Could be used in emergencies with the pay off being their gunna ROYALLY flip their shit once things calm down.
Ciaran Zagami 2024 年 11 月 13 日 下午 12:25 
Honestly mood should just be removed, imagine bleeding out your last because your doctor decided to go eat an entire pantry worth of food instead of pulling the shrapnel out of your face
Syrus  [作者] 2024 年 10 月 22 日 上午 9:39 
@thibaultu
This mod only adds mood buffs, from what my search turned up, the debuff you are getting may be from a mod called "Home Sweet Home"?
Can't help you there, sorry, it's not related to Caravan Mood Buff.
Tybo 2024 年 10 月 22 日 上午 8:29 
I get a mood debuff 'worried about caravan' even though the caravan has been back for days.. it's a real killer -12 as well, causing all kinds of breakdowns.
graublau 2024 年 5 月 18 日 下午 1:52 
Reading the comments here I take it this as well as the Bar Adjuster still require Hugs, eh? Too bad. Great idea though, love it.
Dagger 2024 年 5 月 2 日 上午 6:07 
I had to do a ancient complex quest by shuttle with 16 colonists. It had about 20 centipedes + other mechs inside, and 8 terminals to hack. Took a day to kill all of the mechs, after which the mood debuffs alone made it impossible to hack any terminal, since the low expectations moodlet turns into high expectations after exploring a complex for some reason. No drugs, no food thanks to the shuttle not taking any item.

I did it thanks to this mod, thank you for making it. It even works mid save.
Syrus  [作者] 2024 年 4 月 12 日 下午 3:12 
Version 1.5.0
No code changes -- tested and appeared to work fine

Did not remove HugsLib as it's been updated.
netgyrl 2024 年 4 月 11 日 下午 6:25 
Thank you Syrus! Looking forward to using this again. Takes the pain and suffering out of caravans.
Syrus  [作者] 2024 年 4 月 2 日 下午 3:37 
I will update all my mods when I have time to do so (and when their dependencies are up to date), it may likely be after 1.5 is released, though.

Also, since I wanted to remove HugsLib from my mods, it may take a bit longer, especially since I'm busy with an unrelated private project.
ALE199 2024 年 4 月 1 日 上午 7:40 
do hope it gets updated to 1.5
Limburgse Kiwi 2024 年 1 月 31 日 上午 1:19 
@Syrus, the 28.8k Dial-up masterrace is grateful
Syrus  [作者] 2024 年 1 月 7 日 下午 1:57 
Version 1.4.1
Reduced mod size by removing git-, obj-, & .vs-files, etc.
Syrus  [作者] 2023 年 11 月 22 日 上午 10:30 
Hm...apparently because I have the solution (project, source code, etc.) included in it.
I thought size doesn't matter? :p
Homar 2023 年 11 月 22 日 上午 6:40 
Great mod, but why does something that seems so simple need 15mb?
Madcap Magician 2023 年 8 月 24 日 下午 12:12 
Thank you so much. What a frustrating mechanic.. They should have a "caravan optimisim" in the default game or something. Without this mod you basically need to bring some building materials with you to build a nice building with heat or cooling and a table everywhere you go.