-def cmd_MAP(game, big_yx, small_yx):
- """Create new map of size small_yx at pos big_yx and only '?' cells."""
- game.world.new_map(big_yx, small_yx)
-cmd_MAP.argtypes = 'yx_tuple yx_tuple:pos'
+def cmd_SEED(game, seed):
+ game.world.rand.prngod_seed = seed
+cmd_SEED.argtypes = 'int:nonneg'
+
+def cmd_MAP_SIZE(game, size):
+ game.world.map_size = size
+cmd_MAP_SIZE.argtypes = 'yx_tuple:pos'
+
+def cmd_MAP(game, map_pos):
+ """Ensure (possibly empty/'?'-filled) map at position map_pos."""
+ game.world.get_map(map_pos)
+cmd_MAP.argtypes = 'yx_tuple'