RimWorld

RimWorld

Gauranlen Meditation
20 kommentarer
chrismmar 3. dec. 2023 kl. 17:44 
its still broken, at least for me, as soon as i installed the mod then my pawns stopped maintaining it properly.
Fokson 25. okt. 2023 kl. 17:15 
Glad to help! =)
these people  [ophavsmand] 25. okt. 2023 kl. 17:13 
Finally got around to that - sorry, it's been a busy month
these people  [ophavsmand] 7. okt. 2023 kl. 12:23 
@Fokson Ahhhhh I probably should have realized that, but it does make sense. Thank you for looking into it! I will ping you on it when I get a chance!
Fokson 7. okt. 2023 kl. 2:07 
I poked around in your source code and fixed the issue. Giving the tree a meditation focus stat makes the game treat it as something you don't need to interact with when you don't need to meditate, so I removed that part of the code and replaced it with this:


float psy = pawn.GetStatValue( StatDefOf.MeditationFocusGain );

psy += LoadedModManager.GetMod<GauranlenMeditation>().GetSettings<GauranlenMeditationSettings>().psyfocusGain;

psy /= 60000f;

pawn.psychicEntropy.OffsetPsyfocusDirectly( psy );


I'm not posting this to the workshop myself, but feel free to reach out if you want to implement it yourself and need further information.
these people  [ophavsmand] 7. apr. 2023 kl. 16:24 
@Casiy - It is semi-abandoned I suppose. I could not figure out why the behavior was occurring because again, all it does is add some psyfocus regain when they're doing pruning. It doesn't make pruning count as a meditation type. There might be something deeper within all the AI that sees that the job has psyfocus, but I couldn't figure it out. That said, I believe I included the source code in the download if anyone else wants to take a look!
Casiy Rose 7. apr. 2023 kl. 15:41 
Has this just been abandoned or will it be fixed? It's a great mod, but a bit broken.
Triel 15. mar. 2023 kl. 8:37 
Try getting common sense and disabling 'pawns meditate only as much as they need', maybe itll change something?
these people  [ophavsmand] 7. feb. 2023 kl. 19:38 
@Gravekeeper See the weird thing about the issues people are seeing is that this shouldn't change it to count as a psyfocus meditation type at all - they should only be prioritizing it as much as they would be pruning anyway. All it should be doing is adding psyfocus gain (if they have psyfocus) while pruning.
Gravekeeper 7. feb. 2023 kl. 17:48 
wouldnt dedicated meditation time in the work scheduler fix that? they would attempt to do psyfocus tasks regardless due to the schedule no?
these people  [ophavsmand] 8. dec. 2022 kl. 13:49 
I might have to look deeper into the decision-making trees, because all this really should be doing is adding psyfocus gain when they would be pruning anyway. I have not had much time for modding lately however
Casiy Rose 8. dec. 2022 kl. 13:17 
That's odd, I'm having the same issue as others seem to be having and I only have Faster Gau Pruning, which shouldn't affect this at all. Now my pawns only prune to fill up their psyfocus (when I tell them to) and then stop, so they don't prune the same arbitrary length of time to maintain the connection. If I tell them to prune once their psy is filled, they only fill the interaction bar once and then leave.
RedPine 3. maj 2022 kl. 22:44 
For now I've just disabled this mod, which fixes the issue for me.

It's possible disabling "smart meditation" would also fix the issue, as it specifically changes how pawns prioritize meditation sources, but I haven't tested that.
Righthandoftyr 9. sep. 2021 kl. 16:53 
I'm having the same problem. Experimenting a bit, it seems like they prune until they fill their psyfocus and then only prune occasionally and don't keep pruning for long. If I use some psycasts, they start pruning more reliably again until they reach their target focus again, but still not reliably enough to maintain tree connection.
Tabris 23. aug. 2021 kl. 1:55 
Yes, I ahve removed it and the pawns are now correctly pruning the trees.
these people  [ophavsmand] 22. aug. 2021 kl. 5:56 
This mod should be safe to add or remove mid-game if you want to experiment to see if it does change things.
Tabris 22. aug. 2021 kl. 5:51 
I might be wrong on the cause but i'm pretty sure the characters were ignoring it to the point of going idle instead of pruning, even thought the percentage was far below the desired level.
these people  [ophavsmand] 22. aug. 2021 kl. 5:50 
Yeah, it doesn't change pawn decision-making at all, psyfocus or not. All it does is add a psyfocus gain to the already-existing prune job. Could it be another one of the Gauranlen mods doing that?
these people  [ophavsmand] 22. aug. 2021 kl. 5:37 
Hmm, I haven't experienced that, and it really shouldn't be seeing pruning as recreation. But I'll check into it, thank you!
Tabris 22. aug. 2021 kl. 0:59 
This mod appears to cause pawns to prune trees less often. Haven't tested with pawns with psycasts but I suspect what is happening is that it's seeing pruning as a Recreation Source (Like meditation if you are not a psycaster) and therefore only making character prune if needed for recreation.