From 712639d0045eeef3c84f233f58cd4115989b5c74 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Tue, 1 Sep 2015 03:43:43 +0200 Subject: [PATCH 1/1] More helpfulness on how to start over in a new game world. --- README | 4 ++-- roguelike-server | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README b/README index 7c2a10f..1ab4cec 100644 --- a/README +++ b/README @@ -78,8 +78,8 @@ clients in parallel in multiple terminal windows that can be managed by one's own window manager choice, instead of relying on plomrogue-client's bizarre in-client window management. -Save files and replay game recording ------------------------------------- +Save files, replay game recording, starting over +------------------------------------------------ By default, the game state is saved in the file ./save, and read from there on (server) restart. Another file name to use can be given with the -l option (i.e. diff --git a/roguelike-server b/roguelike-server index a16c1ca..c73a63a 100755 --- a/roguelike-server +++ b/roguelike-server @@ -601,6 +601,8 @@ def decrement_lifepoints(t): if world_db["Things"][0] == t: t["fovmap"] = bytearray(b' ' * (world_db["MAP_LENGTH"] ** 2)) strong_write(io_db["file_out"], "LOG You die.\n") + strong_write(io_db["file_out"], + "LOG See README on how to start over.\n") else: t["fovmap"] = False t["T_MEMMAP"] = False -- 2.30.2