eRep Energy Recovery

Energy recovery for eRebuglik

These are versions of this script where the code was updated. Show all versions.

  • v2.0 2020-06-10 minor polish
  • v1.9 2017-12-09 added an extra foodAvailable condition for the game pages without the left column
  • v1.8 2017-06-12 fixed the battlefield energy recovery - there are two energy counters on the battlefield; made the script read the last one
  • v1.7 2017-04-24 simplified the energy recovery; eRep will only try to load what it can, so the energy recovery can be triggered as soon as you have at least 2 energy units - just buy Q1 food :)
  • v1.6 2017-04-12 added more safety checks for proper energy values
  • v1.5 2017-04-12 stop depending on the "erepublik" object
  • v1.4 2017-04-04 simplified the energy recovery: it will recover it only when all the recoverable energy can be recovered (even number), so the game won't ask if you want to waste food to recover 1 energy
  • v1.3 2017-03-27 small bugfix - can't rely on erepublik.citizen.energyToRecover because it doesn't update to reflect the real value
  • v1.2 2017-03-27 updated the script to avoid feeding when you would partially waste food (new eRep weekly challenge)
  • v1.1 2016-12-04 added the inactivity reset function to handle in-game actions (mouse/keyboard)
  • v1.0 2016-12-04