[1.1.2654] Psyfocus Meditation Problem

Started by HunterSilver, June 04, 2020, 02:10:15 PM

Previous topic - Next topic

HunterSilver

1) When setting the psyfocus meditation threshold for Dignified meditation types, pawns entered an endless, inefficient loop.

2) Setting the psyfocus meditation threshold for Dignified meditation type pawns causes them to meditate up only just above/below the selected meditation level, abandon meditation, fall below the set threshold, and immediately queue meditation again in an endless loop. At a threshold of 93.8% they will meditate to 94%, stop meditating, queue another activity, then immediately queue meditation again when they drop below 93.8%. At a threshold of 100% they will meditate to 95%, stop meditating, queue another activity, then immediately queue meditation again when they drop below 94.8%.

3) Other meditation types, such as Nature, meditate to a reasonable level above the set threshold so they do not immediately fall below their threshold and queue meditation. On a Nature meditation type pawn, at 93.8% threshold they meditated to 100%, queued another task, and did not queue meditation again for nearly a full day. I have not tried this for morbid or acetic meditation types.

5a) https://gist.github.com/fb0b9cfbd9d38728178dfecc097e04b4

7) None.

nbk_redspy


nbk_redspy

Did a little more testing.

Seems to have something to do with the throne, after uninstalling the thrones, the meditation went back to a reasonable level.  Reinstalling the throne would resume the issue.

I have four psychics, three had thrones and one did not.  All three with thrones had the issue.  If the psychic level dropped below the threshold by even a tenth of a percent, they would immediately go to the throne to recharge (after completing their current task).  The one without the throne didn't have an issue.

For the guys with the throne issue, 2 are morbid focus, 1 is natural.  The one without the throne is morbid and never had an issue.


nbk_redspy

Tested with no mods.

Working on repo steps with save.

Found so far:
Morbid Meditation type psy meditates on throne to -5% of target (eg 95% instead of 100%), while regular meditation goes to about 99%
Oddly, if you uninstall the throne and create a meditation circle, this can cause the psy pawn to prefer to not meditate on the throne (even after reinstall)





nbk_redspy

Created a new bug with no mods, from scratch, and included save since this was in the mods sub category

https://ludeon.com/forums/index.php?topic=52621.0

Found a work around: 
Forbid the door on the throne room and lock them out, they will use the meditation spots instead.
This doesn't seem to impact the throne room requirement.