home · contact · privacy
Rename remake_map() to make_map().
authorChristian Heller <c.heller@plomlompom.de>
Tue, 1 Sep 2015 00:58:52 +0000 (02:58 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Tue, 1 Sep 2015 00:58:52 +0000 (02:58 +0200)
roguelike-server

index edd0579d4cac9e27778ecff8c7e9806986c34665..378f0aff96ad0f8f78c4d58ed7e07699e5218960 100755 (executable)
@@ -414,7 +414,7 @@ def play_game():
         obey(read_command(), "in file", do_record=True)
 
 
-def remake_map():
+def make_map():
     """(Re-)make island map.
 
     Let "~" represent water, "." land, "X" trees: Build island shape randomly,
@@ -1200,7 +1200,7 @@ def command_makeworld(seed_string):
 
     Seed rand with seed. Do more only with a "wait" ThingAction and
     world["PLAYER_TYPE"] matching ThingType of TT_START_NUMBER > 0. Then,
-    world_db["Things"] emptied, call remake_map() and set
+    world_db["Things"] emptied, call make_map() and set
     world_db["WORLD_ACTIVE"], world_db["TURN"] to 1. Build new Things
     according to ThingTypes' TT_START_NUMBERS, with Thing of ID 0 to ThingType
     of ID = world["PLAYER_TYPE"]. Place Things randomly, and actors not on each
@@ -1251,7 +1251,7 @@ def command_makeworld(seed_string):
               "No thing action with name 'wait' defined.")
         return
     world_db["Things"] = {}
-    remake_map()
+    make_map()
     world_db["WORLD_ACTIVE"] = 1
     world_db["TURN"] = 1
     for i in range(world_db["ThingTypes"][playertype]["TT_START_NUMBER"]):