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

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