From f07cfeff7bcf84029b7117943eb948096647e4b2 Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Tue, 4 Mar 2008 06:14:00 +0000 Subject: Added HP regeneration and new death messages. --- src/net/beinghandler.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/net/beinghandler.cpp') diff --git a/src/net/beinghandler.cpp b/src/net/beinghandler.cpp index 25d7b6a0..3e55cce9 100644 --- a/src/net/beinghandler.cpp +++ b/src/net/beinghandler.cpp @@ -617,9 +617,12 @@ void BeingHandler::handleBeingActionChangeMessage(MessageIn &msg) _("I guess this did not run too well."), _("Do you want your possessions identified?"), // Nethack reference _("Sadly, no trace of you was ever found..."), // Secret of Mana reference + _("Annihilated."), // Final Fantasy VI reference + _("Looks like you got your head handed to you."), //Earthbound reference + _("You screwed up again, dump your body down the tubes and get you another one.") // Leisure Suit Larry 1 Reference }; - std::string message(deadMsg[rand()%10]); + std::string message(deadMsg[rand()%13]); message.append(_(" Press OK to respawn")); OkDialog *dlg = new OkDialog(_("You died"), message); dlg->addActionListener(&(Net::GameServer::Player::respawnListener)); -- cgit v1.2.3-70-g09d2