def log_help():
"""Send quick usage info to log."""
strong_write(io_db["file_out"], "LOG "
- + "Use 'w'/'e'/'s'/'d'/'x'/'c' to move.\n")
+ + "Use 'w'/'e'/'s'/'d'/'x'/'c' to move, and 'w' to wait.\n")
strong_write(io_db["file_out"], "LOG "
+ "Use 'p' to pick up objects, and 'D' to drop them.\n")
strong_write(io_db["file_out"], "LOG "
+ "Use 'l' to toggle 'look' mode (move an exploration cursor "
+ "instead of the player over the map).\n")
strong_write(io_db["file_out"], "LOG See README file for more details.\n")
+ strong_write(io_db["file_out"], "LOG \n")
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
"TT_START_NUMBER": (1, False, setter("ThingType", "TT_START_NUMBER",
0, 255)),
"TT_PROLIFERATE": (1, False, setter("ThingType", "TT_PROLIFERATE",
- 0, 255)),
+ 0, 65535)),
"TT_LIFEPOINTS": (1, False, setter("ThingType", "TT_LIFEPOINTS", 0, 255)),
"TT_STORAGE": (1, False, setter("ThingType", "TT_STORAGE", 0, 255)), # #
"T_ID": (1, False, command_tid),