1.1.2654 Throne does not give 5% psyfocus buffer, causes meditation loop.

Started by nbk_redspy, July 19, 2020, 01:42:57 PM

Previous topic - Next topic

nbk_redspy

Update:  Changed title.  The issue appears to be that the throne doesn't give the extra 5% target buffer that meditation spots do.  EG:  Meditation spots meditate to ~80% when target is 75% while throne mediates to 75%.

Summary:
No mods
Morbid focus pawn charges on throne to 95% instead of 100%.  Ignores meditation spots for morbid.
Causes loop of meditating after every task as the game will force meditation when under 95%.
Save included.

Uninstalling throne will allow to the pawn to use meditation spot and charge to 100%.

Related to:   https://ludeon.com/forums/index.php?topic=52389.0

Reproduction:
Save is too big for board, here is a link:
https://www.dropbox.com/s/zhle3nud44o7tjv/Throne%20-%20prefers%20throne.zip?dl=1

Tested without mods in 1.1.2654
(Core and royalty only)

To reproduce in dev mode:

Give a pawn with morbid focus, level 1 psychic power and give the title of yeoman.

Setup:
   Create a grand throne and throne room
   Set the pawn to 100% psyfocus target

   Let the pawn meditate until full.  (Observation:  Pawn only charges to about 95% psyfocus)
   Give the pawn a short task (hauling or cleaning works)
Expected:
  Expected the pawn to meditate to 100%
  Expected the pawn to not meditate for a while
Actual:
  The pawn meditates to 95%
  As soon as the pawn drops below 95% (even 94.9%), it will go to the throne immediately, meditate up to 95% and return.
  Since the throne only refilled psyfocus to 95%, this causes a meditation loop.
  Note - after unpausing the included save, you should see the pawn do several micro meditations.

 
Additional scenarios tested:
      
   Test: Created morbid specific meditation spot: 
   Result: Pawn preferred throne.
   
   Test: Tried destroying throne and recreating and reassigning: 
   Result: In one case, the pawn started preferring meditation spot, but could not reproduce.  Additional attempts had pawn preferring throne.
   
   Test:  Set psyfocus to 75%
   Result:  Throne recharged to 75%, pawn meditates again when under 75%
   
   Test:  Created morbid focus in throne room
   Result:  Pawn still preferred throne.
   
   Test: Destroyed throne
   Result:  Pawn used meditation spot, charged to target (charged to 99% with target of 100%)




nbk_redspy

Found a workaround:

Forbid the door on the throne room to force the pawn to ignore the throne.

nbk_redspy

I think the real issue is that the meditation spots will give a +5% buffer to the target while the throne goes to exactly the target psyfocus.

Unless the target is 100%, then the throne charges to 95%.

nbk_redspy

Looks like the issue is addressed in the latest unstable (1.1.2701).

Thanks!