Say "Health restored" and "Magic restored" instead of HP/MP restored.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@720 c06c8d41-db1a-0410-9941-cceddc491573
ZM4IOCU4Y3NUKTLW3KPBCPWQD4NJ6BCORCVSOBJWXL5Z7H3QBPSAC
3WRAJZ5ZLOSIZHFBUH5552QC4F3GAK7AXF6VIQFVN6VY7PUO6HPQC
SDLKLUNFGVKDS55DDJZCBAVIB7NL3RRYPTACAY65SCUQKV6APFSAC
RPOZZWKG5GLPHVZZ7ZKMKS64ZMV2LDCQSARBJFJ6FZOTOKCQO7FAC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
mpr("HP restored.");
mpr("Health restored.");
mpr("MP restored.");
mpr("Magic restored.");
static command_type get_running_command() { if ( kbhit() ) { stop_running(); return CMD_NO_CMD;
static command_type get_running_command() {
if ( kbhit() ) {
stop_running();
return CMD_NO_CMD;
static command_type get_running_command(){ if ( kbhit() ) { stop_running(); return CMD_NO_CMD;
static command_type get_running_command()
{
if ( kbhit() )
if ( is_resting() ) { you.running.rest(); if ( !is_resting() )
if ( is_resting() ) {
you.running.rest();
if ( !is_resting() )
if ( is_resting() ) { you.running.rest(); if ( !is_resting() && you.running.hp == you.hp && you.running.mp == you.magic_points ) {
if ( is_resting() )
if ( !is_resting() && you.running.hp == you.hp
&& you.running.mp == you.magic_points )
return CMD_MOVE_NOWHERE;
} return CMD_MOVE_NOWHERE;
}