+def command_turn(turn_string):
+ """Set turn to what's described in turn_string."""
+ min = 0
+ max = 65535
+ try:
+ turn = int(turn_string)
+ if turn < min or turn > max:
+ raise ValueError
+ world_db["TURN"] = turn
+ except ValueError:
+ print("Ignoring: Please use integer >= " + str(min) + " and <= " +
+ "str(max)+ '.")
+
+
+def command_makeworld(seed_string):
+ # Mere dummy so far.
+ min = 0
+ max = 4294967295
+ try:
+ seed = int(seed_string)
+ if seed < min or seed > max:
+ raise ValueError
+ world_db["SEED_RANDOMNESS"] = seed
+ world_db["SEED_MAP"] = seed
+ except ValueError:
+ print("Ignoring: Please use integer >= " + str(min) + " and <= " +
+ "str(max) '.")
+
+