RimWorld
Smart Meditation
58 comentarios
Felnel 15 JUL a las 14:21 
Coool, Thanks !!
pureMJ  [autor] 15 JUL a las 13:46 
Updated to 1.6
Scionin 15 JUL a las 12:21 
1.6?
Felnel 14 JUL a las 7:17 
1.6?
Turu 14 JUL a las 1:35 
1.6 update?
Flesh Forge 31 MAY a las 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  [autor] 1 MAY a las 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 MAY a las 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  [autor] 1 MAY a las 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 MAY a las 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 OCT 2024 a las 13:55 
Thanks so much!
pureMJ  [autor] 21 OCT 2024 a las 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 OCT 2024 a las 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  [autor] 20 OCT 2024 a las 8:43 
@HeatherAthebyne
Is Child psycaster a modded thing?
HeatherAthebyne 20 OCT 2024 a las 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 OCT 2024 a las 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 AGO 2024 a las 3:34 
在没有娱乐需求的小人身上会爆红字,建议加个判定
SoulDRoul 10 AGO 2024 a las 3:53 
哦,可以在设置里改一下……如果有设定让单个小人不这么做就好了
SoulDRoul 10 AGO 2024 a las 3:52 
而且似乎获得不了精神力就不会有娱乐值上升……?
SoulDRoul 10 AGO 2024 a las 3:50 
有点问题,设置需求阈值为0还会不停地尝试冥想,问题是我那个不是通过普通冥想能获得精神的,这就很尴尬,对某些特殊情况不方便
下回合就睡 9 AGO 2024 a las 23:31 
奴隶有灵能时会爆红,要关掉奴隶冥想
Muyu 9 JUN 2024 a las 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  [autor] 9 JUN 2024 a las 10:37 
Updated to 1.5
去码头整点薯条 28 ABR 2024 a las 21:54 
老铁,期待你的更新:steamhappy:
тетеря, блин 22 ABR 2024 a las 8:27 
could someone confirm it does throw errors and really needs to be updated?
kuna 15 ABR 2024 a las 22:22 
Would love an update!
Kowhaifan 14 ABR 2024 a las 23:08 
1.5?
Delta7777777 3 MAR 2024 a las 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 NOV 2023 a las 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 NOV 2023 a las 16:25 
is it possible to just split meditation from the solitary recreation?
Coolchilion 28 SEP 2023 a las 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  [autor] 25 SEP 2023 a las 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 SEP 2023 a las 14:44 
I keep getting this error related to smart meditation
https://gist.github.com/HugsLibRecordKeeper/a7d3c5fadf85675932e07b187f0c83f7
pureMJ  [autor] 14 AGO 2023 a las 14:33 
@Yoann

It should work fine with Common Sense.
Yoann 14 AGO 2023 a las 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 FEB 2023 a las 6:22 
Thanks for the mod! "Reset to default" button in the mod settings would be great)
pureMJ  [autor] 12 FEB 2023 a las 9:35 
@Pandruid
不是。这个Mod并不会改变无精神力的小人的行为。
Pandruid 12 FEB 2023 a las 8:39 
没有精神力的小人不喜欢娱乐,不知道是不是这个MOD的缘故
Rlocks 25 DIC 2022 a las 18:28 
Thank you for this, I'm shocked it isn't in the vanilla game!
chch 10 DIC 2022 a las 10:26 
请问能不能加一个在冥想时间表冥想至精神力满值后去工作或者娱乐的功能呢
renegade_sock 3 DIC 2022 a las 21:44 
Looks great, I'll try this now :)
shawyer 24 NOV 2022 a las 13:18 
Excellent mod, thanks!
VelxraTV 30 OCT 2022 a las 18:31 
Thank you!
Sir Rolin 30 OCT 2022 a las 17:41 
nice
pureMJ  [autor] 30 OCT 2022 a las 13:15 
Updated to 1.4
VelxraTV 21 OCT 2022 a las 16:58 
Please update to 1.4
Sir Rolin 4 AGO 2022 a las 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 JUL 2022 a las 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 MAY 2022 a las 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  [autor] 3 MAY 2022 a las 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.