Difference for doc/Developers/regions from version 1.3 to 1.4


version 1.3 version 1.4
Line 108
 
Line 108
  One region should have this set, so that the map can still be assigned a region   One region should have this set, so that the map can still be assigned a region
  until such time the map creator learns to spell.   until such time the map creator learns to spell.
   
   *jailmap
    The path to the map that a player who is arrested in this region (or any
    subregion hereof) will go to
   
   *jailx, jaily
    The x and y coordinates on the jailmap the player will go to.
   
 *****Sample Regions file entry*****  *****Sample Regions file entry*****
   
 region scorn  region scorn
Line 148
 
Line 155
 extern char *get_region_longname(region *r);  extern char *get_region_longname(region *r);
  returns the longname that the region should use   returns the longname that the region should use
   
   extern object *get_jail_exit(object *op);
    returns an object through which the player op should enter to be jailed.
   
 extern char *get_region_msg(region *r);  extern char *get_region_msg(region *r);
  returns the description of the region.   returns the description of the region.
   
Line 196
 
Line 206
   
 *****Known/suspected bugs*****  *****Known/suspected bugs*****
   
 Random maps probably don't get their regions set properly (though I am not quite sure what  
  'properly' should be here).  
   
 The region parser is not particularly robust, it dies if the 'endmsg' line is missing,   The region parser is not particularly robust, it dies if the 'endmsg' line is missing,
 or if 'nomore' is missing, or if the 'end' line is missing. These stop the server from  or if 'nomore' is missing, or if the 'end' line is missing. These stop the server from
 starting, if it starts, it should be fine afterwards.  starting, if it starts, it should be fine afterwards.


Legend:
line(s) removed in v.1.3 
line(s) changed
 line(s) added in v.1.4

File made using version 1.98 of cvs2html by leaf at 2011-07-21 19:42