Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Macros and Rollable Tables for Wind Speed

We are going to be running a seafaring campaign and are working on a system to simplify ship to ship combat. So far, we made two rollable tables: 1) a 1d8 roll for wind direction (N, NE, E... etc), and 2) a 1d4 roll for wind speed (light, moderate, strong, gale). We plan to take those two values and create a data table that shows how far a ship can move in any direction given the rolled wind direction and wind speed. We would like to know 1. How and where to create that data table so that it is accessible by Roll20, and 2. How to create a readout of the data in the chat window (something looking like the attached pic) Any help would be greatly appreciated. Thank you in advance.
1564130656

Edited 1564138575
At first glance I'd do it with the help of a script, which is a feature for pro-members. The problem is you can't use a result of a roll twice in a macro, i.e. you can't display it and then make some math with it. At second thought, you could put all the info in one table, making entrys for [N-light, N-moderate, N-strong, N-gale, NE-light....] where every entry has all the info for shipmovement hardcoded. So you roll on just one table and just display the results. Edit: To make that look nice, I would again use a script which lets me use templates in rollable-tables. Edit 2: It looks like you got your table mixed up. With winds from NE, the fastest a ship could go would be S and W. Yes, not SW. In SW it could only go as fast as the wind. In S and W it could go faster than the wind, because the sails create airodynamic surfaces and then physics produce additional lift. ;) More info on that  on this sailing blog .