RimWorld
Smart Meditation
Комментариев: 58
Felnel 15 июл в 14:21 
Coool, Thanks !!
pureMJ  [создатель] 15 июл в 13:46 
Updated to 1.6
Scionin 15 июл в 12:21 
1.6?
Felnel 14 июл в 7:17 
1.6?
Turu 14 июл в 1:35 
1.6 update?
Flesh Forge 31 мая в 14:56 
Was looking for something like this to fix that deadlock of colonists just meditating forever despite being 100% focus, thanks for this!
pureMJ  [создатель] 1 мая в 16:13 
@Warith_Magus
You can simply set the "chance factor" to 99 so it's 1% doing other types of solitary relaxation, effectively the same as banning them.

This mod does not just ban it because many people also prefer some variety of things their pawns can do.
Wraith_Magus 1 мая в 15:15 
I only set it up to 100% when I still saw my pawn preferring to do other solitary relaxation in spite of the mod even while psyfocus dropped to below 20% while set to a target of 50%, 62%, and higher. I didn't realize this mod had an options setting before now, though, and I'm surprised to see that it's even an option where you merely increase a probability to have non-meditation solitary relaxation. I thought banning all other solitary relaxation so that it isn't constantly at 90% boredom was the point? The only thing this mod did was make my pawn not meditate when she should have while wasting even more time on recreation she was going to gain from meditation anyway.
pureMJ  [создатель] 1 мая в 15:01 
@Wraith_Magus
When you set your character at target of 100% psyfocus it will ignore this mod. The problem you described is not related to the mod, but vanilla game.

If you want this mod to help you EVEN when you set the target focus at MAX, you can adjust the mod settings (uncheck "Do not treat tolerance as focus when Focus Target is set at Max")
Wraith_Magus 1 мая в 14:28 
I'm having a lot of trouble getting this mod to work as intended, and it's actively making the problem it's trying to solve worse. My psycaster character (artistic focus) now refuses to ever meditate unless she's at 100% recreation already. She will even go perform other solitary relaxation while bored of solitary relaxation before she will meditate, guaranteeing that solitary recreation is at 90% boredom at all times. This happens even when she's at 20% or so psyfocus and I set her to a target of 100% psyfocus. I can't force her to meditate unless I manually change her schedule to meditation. (Which I could do without this mod...)
HeatherAthebyne 22 окт. 2024 г. в 13:55 
Thanks so much!
pureMJ  [создатель] 21 окт. 2024 г. в 20:07 
@HeatherAthebyne
Thanks a LOT for the detailed minimalistic report :)
I have fixed it. Update to v0.3.1 of this MOD and it should be good now.
HeatherAthebyne 21 окт. 2024 г. в 18:19 
No, this can be reproduced with only Core, Royalty, Biotech, Harmony, and Smart Meditation. In dev mode spawn a child pawn, then give a psylink. Set target psyfocus higher than current psyfocus, and unpause.
pureMJ  [создатель] 20 окт. 2024 г. в 8:43 
@HeatherAthebyne
Is Child psycaster a modded thing?
HeatherAthebyne 20 окт. 2024 г. в 8:08 
Forgot to mention, the exception repeats as long as the child's psyfocus is under target, but stops when I set target to 0.
HeatherAthebyne 20 окт. 2024 г. в 8:05 
I am getting an exception when I have a child psycaster whose psyfocus is lower than target. Schedule is set to anything. I think this is because children technically don't do recreation. Thank you for your time!

Exception in Verse.AI.ThinkNode_PrioritySorter GetPriority: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 22C87311]
at MjRimMods.SmartMeditation.MeditatePatch.Postfix (Verse.Pawn pawn, System.Single& __result) [0x0009a] in <dbd569bbf81243ea8e3237aa0eedf791>:0
at RimWorld.JobGiver_Meditate.GetPriority (Verse.Pawn pawn) [0x0010a] in <2259bac29f964e2a9e4a0c4805fcda8d>:0
- POSTFIX PureMJ.MjRimMods.SmartMeditation: Void MjRimMods.SmartMeditation.MeditatePatch:Postfix(Pawn pawn, Single& __result)
at Verse.AI.ThinkNode_PrioritySorter.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x0006f] in <2259bac29f964e2a9e4a0c4805fcda8d>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
[...]
载入中... 21 авг. 2024 г. в 3:34 
在没有娱乐需求的小人身上会爆红字,建议加个判定
SoulDRoul 10 авг. 2024 г. в 3:53 
哦,可以在设置里改一下……如果有设定让单个小人不这么做就好了
SoulDRoul 10 авг. 2024 г. в 3:52 
而且似乎获得不了精神力就不会有娱乐值上升……?
SoulDRoul 10 авг. 2024 г. в 3:50 
有点问题,设置需求阈值为0还会不停地尝试冥想,问题是我那个不是通过普通冥想能获得精神的,这就很尴尬,对某些特殊情况不方便
下回合就睡 9 авг. 2024 г. в 23:31 
奴隶有灵能时会爆红,要关掉奴隶冥想
Muyu 9 июн. 2024 г. в 11:07 
Woo! Have been waiting for this. Thank you.
Now my pawns will stop spending 99% of the day in front of a statue.
pureMJ  [создатель] 9 июн. 2024 г. в 10:37 
Updated to 1.5
去码头整点薯条 28 апр. 2024 г. в 21:54 
老铁,期待你的更新:steamhappy:
тетеря, блин 22 апр. 2024 г. в 8:27 
could someone confirm it does throw errors and really needs to be updated?
kuna 15 апр. 2024 г. в 22:22 
Would love an update!
Kowhaifan 14 апр. 2024 г. в 23:08 
1.5?
Delta7777777 3 мар. 2024 г. в 15:10 
I don't know if this issue is still relevant, but FileSeek helps me find things I am looking for no matter the game or mods.
-
Use 'FileSeek' to help you find the wording you are searching for.
>Patch1
You can tell it to search within the Mod folder structure specifically. Then it will scan all the files and list the results with system hyperlinks.
Good luck.
PanicOregon281 7 ноя. 2023 г. в 21:43 
Got Unity level crash, Not sure if it'll be any help but i uploaded the crash captured by the UnityEngine crash handler. https://github.com/I2pRandom/Rimworld-Crash-Repo
PanicOregon281 7 ноя. 2023 г. в 16:25 
is it possible to just split meditation from the solitary recreation?
Coolchilion 28 сен. 2023 г. в 7:58 
I'm on the rimworld discord and we discussed the issue, I'll link the discussion here
https://discord.com/channels/214523379766525963/632790371256238120/1156966160416395325
pureMJ  [создатель] 25 сен. 2023 г. в 11:31 
@Coolchilion
The stacktrace shows that it's called by:
GetPriority_Patch1
This is from some other Mod (with bad naming habit)

My mod has MeditatePatch but it should always be passed in a valid Pawn object (not null) by vanilla game. I think the error is probably from GetPriority_Patch1 .

Unfortunately because they didn't name their patch properly I can't tell what mod that is.
Coolchilion 15 сен. 2023 г. в 14:44 
I keep getting this error related to smart meditation
https://gist.github.com/HugsLibRecordKeeper/a7d3c5fadf85675932e07b187f0c83f7
pureMJ  [создатель] 14 авг. 2023 г. в 14:33 
@Yoann

It should work fine with Common Sense.
Yoann 14 авг. 2023 г. в 14:24 
Any conflict with Common Sense?
It has this setting:
"Pawns will meditate only as much as they need" ("Unless under meditation assignment, pawns will stop meditating if their psyfocus is full and they don't see meditation as a good source of joy (i. e. full or bored of it)")
hottt3 24 фев. 2023 г. в 6:22 
Thanks for the mod! "Reset to default" button in the mod settings would be great)
pureMJ  [создатель] 12 фев. 2023 г. в 9:35 
@Pandruid
不是。这个Mod并不会改变无精神力的小人的行为。
Pandruid 12 фев. 2023 г. в 8:39 
没有精神力的小人不喜欢娱乐,不知道是不是这个MOD的缘故
Rlocks 25 дек. 2022 г. в 18:28 
Thank you for this, I'm shocked it isn't in the vanilla game!
chch 10 дек. 2022 г. в 10:26 
请问能不能加一个在冥想时间表冥想至精神力满值后去工作或者娱乐的功能呢
renegade_sock 3 дек. 2022 г. в 21:44 
Looks great, I'll try this now :)
shawyer 24 ноя. 2022 г. в 13:18 
Excellent mod, thanks!
VelxraTV 30 окт. 2022 г. в 18:31 
Thank you!
Sir Rolin 30 окт. 2022 г. в 17:41 
nice
pureMJ  [создатель] 30 окт. 2022 г. в 13:15 
Updated to 1.4
VelxraTV 21 окт. 2022 г. в 16:58 
Please update to 1.4
Sir Rolin 4 авг. 2022 г. в 17:01 
Hey MJ, Could a request an addition?

I have several meditation spots for different types of meditation, but when I assign a colonist to a spot, they'll just ignore it and use the closest one instead... I would love to see them actually prioritising their assigned spot instead.
Daemonjax 19 июл. 2022 г. в 13:01 
It's important to not force any meditation time on the psy colonist's schedule with this mod active, otherwise he'll over-meditate and be back to being bored with meditation.
VelxraTV 8 мая. 2022 г. в 4:47 
The meditation feature has been needing a serious overhaul and your mod has helped a ton. I hope to see it continue to improve more in this area of the game.
pureMJ  [создатель] 3 мая. 2022 г. в 22:51 
@RedPine
This mod does not touch WorkGiver, so it's unrelated to the priority of plant cutting.

This mod modifies two cases:
* Get Joy (now conditionally favors meditate)
* Get focus by meditation (now will not do if too bored)

By its own the prunning is completely unrelated.