ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/doc/Developers/regions
(Generate patch)

Comparing deliantra/server/doc/Developers/regions (file contents):
Revision 1.1.1.2 by elmex, Wed Feb 22 18:01:48 2006 UTC vs.
Revision 1.2 by pippijn, Thu Sep 7 21:42:51 2006 UTC

106*fallback 106*fallback
107 If a map has a misspelling, say scron instead of scorn, then we can't match the name. 107 If a map has a misspelling, say scron instead of scorn, then we can't match the name.
108 One region should have this set, so that the map can still be assigned a region 108 One region should have this set, so that the map can still be assigned a region
109 until such time the map creator learns to spell. 109 until such time the map creator learns to spell.
110 110
111*jailmap
112 The path to the map that a player who is arrested in this region (or any
113 subregion hereof) will go to
114
115*jailx, jaily
116 The x and y coordinates on the jailmap the player will go to.
117
118*****Sample Regions file entry***** 111*****Sample Regions file entry*****
119 112
120region scorn 113region scorn
121longname The Kingdom of Scorn 114longname The Kingdom of Scorn
122msg 115msg
153source code to see what they /are/ doing.... 146source code to see what they /are/ doing....
154 147
155extern char *get_region_longname(region *r); 148extern char *get_region_longname(region *r);
156 returns the longname that the region should use 149 returns the longname that the region should use
157 150
158extern object *get_jail_exit(object *op);
159 returns an object through which the player op should enter to be jailed.
160
161extern char *get_region_msg(region *r); 151extern char *get_region_msg(region *r);
162 returns the description of the region. 152 returns the description of the region.
163 153
164extern region *get_region_by_name(char *region_name); 154extern region *get_region_by_name(char *region_name);
165 given a name returns the region with that name, or the fallback if there isn't one. 155 given a name returns the region with that name, or the fallback if there isn't one.
204 194
205who can be given regions as arguments, and only show the players in that region. 195who can be given regions as arguments, and only show the players in that region.
206 196
207*****Known/suspected bugs***** 197*****Known/suspected bugs*****
208 198
199Random maps probably don't get their regions set properly (though I am not quite sure what
200 'properly' should be here).
201
209The region parser is not particularly robust, it dies if the 'endmsg' line is missing, 202The region parser is not particularly robust, it dies if the 'endmsg' line is missing,
210or if 'nomore' is missing, or if the 'end' line is missing. These stop the server from 203or if 'nomore' is missing, or if the 'end' line is missing. These stop the server from
211starting, if it starts, it should be fine afterwards. 204starting, if it starts, it should be fine afterwards.
212 205
213*****Future plans***** 206*****Future plans*****

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines