KEYS updated, signed copy.
[realism.git] / main_game / maps.py
blobfce839c6f9b8c91c26e88f7beb9a8b93c4827e03
1 # This file is part of Realism, which is Copyright FunnyMan3595 (Charlie Nolan)
2 # and licensed under the GNU GPL v3. For more details, see LICENSE in the main
3 # Realism directory.
5 # WARNING: All mod formats are under heavy development. They may change at any
6 # time, breaking old mods. For this reason, we DO NOT RECOMMEND making mods
7 # at this time.
9 # This file defines the maps used in the game. It has the same format as
10 # <module>/maps.py.
11 # For a complete guide to modding, see MODDING, in the Realism main directory.
13 # Like all the .py files, this is Python code. Most mod makers should be able
14 # to understand and adapt it, but knowledge of Python will help, and may allow
15 # you to do neat tricks.
17 '''Defines the maps used in the game.'''
19 # This is the voodoo that processes the map files and lets them inter-link.
20 from engine.game_map import make_make_map
21 make_map = make_make_map(__file__)
23 # Map definitions are of the form:
24 # make_map("map_name")
25 # The actual map must be in map_name.map, in this directory.
27 # Optionally, you can give the map a name for use in your functions:
28 # name = make_map("map_name")
30 # Every mod must have a map called start. This is where the player starts.
31 # TODO: REWORD, FIX
32 # The engine checks for the name at left first, then for a "start" passed to
33 # make_map. If neither is available, the mod will not run.
34 start_map = make_map("start_map")
36 start_town = make_map("start_town")
37 beginner_woods = make_map("beginner_woods")
38 open_plains = make_map("open_plains")