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.1 by root, Fri Feb 3 07:12:35 2006 UTC vs.
Revision 1.1.1.2 by elmex, Wed Feb 22 18:01:48 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
111*****Sample Regions file entry***** 118*****Sample Regions file entry*****
112 119
113region scorn 120region scorn
114longname The Kingdom of Scorn 121longname The Kingdom of Scorn
115msg 122msg
146source code to see what they /are/ doing.... 153source code to see what they /are/ doing....
147 154
148extern char *get_region_longname(region *r); 155extern char *get_region_longname(region *r);
149 returns the longname that the region should use 156 returns the longname that the region should use
150 157
158extern object *get_jail_exit(object *op);
159 returns an object through which the player op should enter to be jailed.
160
151extern char *get_region_msg(region *r); 161extern char *get_region_msg(region *r);
152 returns the description of the region. 162 returns the description of the region.
153 163
154extern region *get_region_by_name(char *region_name); 164extern region *get_region_by_name(char *region_name);
155 given a name returns the region with that name, or the fallback if there isn't one. 165 given a name returns the region with that name, or the fallback if there isn't one.
194 204
195who can be given regions as arguments, and only show the players in that region. 205who can be given regions as arguments, and only show the players in that region.
196 206
197*****Known/suspected bugs***** 207*****Known/suspected bugs*****
198 208
199Random maps probably don't get their regions set properly (though I am not quite sure what
200 'properly' should be here).
201
202The region parser is not particularly robust, it dies if the 'endmsg' line is missing, 209The region parser is not particularly robust, it dies if the 'endmsg' line is missing,
203or if 'nomore' is missing, or if the 'end' line is missing. These stop the server from 210or if 'nomore' is missing, or if the 'end' line is missing. These stop the server from
204starting, if it starts, it should be fine afterwards. 211starting, if it starts, it should be fine afterwards.
205 212
206*****Future plans***** 213*****Future plans*****

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines