#macro up_exit 1 #macro right_exit 10 #macro down_exit 100 #macro left_exit 1000
Combining these macros results in four digit integers that can easily help define the type of room that has been created. For example, a room with a value of 101 would have an up and a down exit. A room with a value of 1010 would have a left and right exits. With the Hamilton generator, only two of these values would ever be combined, but the option is there for future expansion should the need arise.
One helpful aspect about these macro values is that they can be used for pulling template data from JSON files. There could be several templates for rooms with down and left exits, and the 1100 value will be useful shorthand for describing them.