ID:104336   Nov 8 2010, 7:18 am (Edited on Nov 8 2010, 10:38 am) Keywords: dm, reference Libraries will never be as easy to use as BYOND's built-in features because their documentation cannot be accessed as easily. It's possible to add your own entries to DM's reference so that pressing F1 can show reference pages related to content your created in a library. Having these reference pages would be useful for any library. Reference pages are simple to make, but unfortunately they're a hassle to maintain and difficult for the end user to setup (some built-in support would really help here). This post on my forum outlines the process a user has to go through to set up a custom DM reference. As you can see there are some problems with this: 1. If another library provided a custom reference you'd have to pick between which pages you wanted. One info.html file would overwrite the other. 2. It's a hassle to set up. It's not terribly difficult but the user shouldn't have to do any work to set this up. That being said, here is how you can create your own reference pages: Start by locating DM's reference. If you installed BYOND to c:\program files\byond\ the reference will be in the c:\program files\byond\help\ref folder. There are four HTML files in that folder. Even if you don't know HTML you should be able to figure out what they do. contents.html controls what is displayed in the "Contents" tab of the help window. info.html contains the majority of the reference. It is a list of pages. Dream Maker splits this huge document into pages. For each page there is an entry in the listbox on the "Topic" tab of the help window. A page in info.html looks like this: 

x var (atom)

loc var (atom)
Default value:
The x coordinate of the object on the map.

You may assign the coordinates of movable objects (mobs and objs), but thisis not advisable. It is better to compute the new location (withlocate()) and move them to that. Then you can use the normalMove() procedure, which enables all the normal movement behavior.

For areas that are on the map, this is the coordinate of the turf with thelowest z, y, and x coordinate (in that order) that is contained by the area.

 The page is contained between the