Skip to content
Snippets Groups Projects
Commit 14b95a1c authored by Hachem_Muche's avatar Hachem_Muche
Browse files

Updated resting:

Added a new callback "callbackOnWait" to trigger various effects when an Actor takes no action in a turn.  Added to Actor:waitTurn in place of "callbackOnRest."   New function Player:restCheck (an overload of engine/interface/PlayerRest:restCheck) triggers "callbackOnWait" when successfully resting.

The recovery effects of Spacetime Tuning and Throwing Knives use the "callbackOnWait" callback.

NPCs that know Spacetime Tuning will automatically set an appropriate preferred paradox value periodically (at 100 below the anomaly threshold).

Added the game.turn to the output of a number of AI debugging statements.

Fixed a bug where Chants and Hymns could be learned without also gaining the appropriate resource pool.
parent 47b4eafd
No related branches found
No related tags found
1 merge request!463Major AI Update
Showing
with 110 additions and 81 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment