Version 1.2.0 - sync with base game + tweaks

File
Game Addon: 
game_addon_string: 
tome
Changes:
  • merge in _t / tformat() changes to flee help emote code (is this translation-related?)
  • use _t / tformat() for custom emotes too
  • minor changes to emote text
  • implement consistent 35% chance to run rest AI instead of any action other than following the player (or fleeing)
  • implement consistent 10% chance to do a single emote at the player, with action-specific taking precedence
  • use consistent logic to check whether a path was generated
  • choose an action, but defer taking it until after emoting (reduces chance of wrong/double emote)
  • enhance rest AI to emote fully-rested state
  • fully integrate useEnergy call into rest AI design