I'd like to figure out how to run a macro that figures the rooms overall size. As the above tables show some of the Go to tables are affected by the previous result and have the next roll modified in some way.Table 9 - Room Width
01-45 30’-40’ Go to Table 10 and subtract 20 to the roll
46-65 45’-55’ Go to Table 10 and subtract 10 to the roll
66-80 60’-70’ Go to Table 10
81-90 75’-85’ Go to Table 10 and add 10 to the roll
91-95 90’-100’ Go to Table 10 and add 20 to the roll
96-00 Unusual size and shape Go to Table 12
Table 10 - Room Depth
01-50 30’-40’ Go to Table 11 and subtract 20 to the roll
51-70 45’-55’ Go to Table 11 and subtract 10 to the roll
71-85 60’-70’ Go to Table 11
86-95 75’-85’ Go to Table 11 and add 10 to the roll
96-00 90’-100’ Go to Table 11 and add 20 to the roll
Table 11 - Room Height
01-50 10 feet high Go to Table 14
51-70 20 feet high Go to Table 14
71-85 30 feet high Go to Table 14
86-95 40 feet high Go to Table 14
96-00 50 feet high Go to Table 14
I've been checking previous threads on calling tables, and there's quite a few on treasure and random encounters, looks like the "[r:evalmacro)table...) might be part of the answer. If anyone has an idea or knows where a bit of sample code is I'd appreciate it.
Edit: Or I could get away with adding a manually entered modifier to the table roll if that works similar to a macro using player entered modifier.