traveller:roll20
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
traveller:roll20 [2020/10/24 16:18] – sam | traveller:roll20 [2020/10/25 14:48] (current) – sam | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{ : | ||
+ | |||
====== Roll20 Scripts ====== | ====== Roll20 Scripts ====== | ||
===== Physics [!physics] ===== | ===== Physics [!physics] ===== | ||
- | The // | + | The // |
+ | |||
+ | The '' | ||
+ | |||
+ | The sub-commands can be shortened to the shortest unique word, which current is a single letter for all of them. | ||
+ | |||
+ | ==== thrust ==== | ||
+ | |||
+ | The '' | ||
+ | |||
+ | < | ||
+ | !phy thrust 1g 1.2mkm | ||
+ | </ | ||
+ | |||
+ | This will give information on how long to accelerate to the mid-point, then decelerate to the destination. It also gives the time taken for when you don't want to decelerate - for example a missile that will accelerate all the way to the destination. | ||
+ | |||
+ | If ' | ||
+ | |||
+ | The distance is assumed to be kilometres unless other units are specified. '' | ||
+ | |||
+ | ==== rocket ==== | ||
+ | |||
+ | The '' | ||
+ | |||
+ | < | ||
+ | !phy rocket 1000 200 350 | ||
+ | </ | ||
+ | |||
+ | It takes the wet and dry mass of the ship (units aren't important, since it's only the ration that matters), and the Isp (specific impulse) of the drive (in seconds). | ||
==== planet ==== | ==== planet ==== | ||
Line 19: | Line 50: | ||
Displays statistics on a planet with a radius of 6400km, and a density of 5.5g/cm³. It will display the planet' | Displays statistics on a planet with a radius of 6400km, and a density of 5.5g/cm³. It will display the planet' | ||
+ | You don't have to specify the full command. You can use !phy instead of !physics. You can also specify the first letters of the command word. | ||
+ | < | ||
+ | !phy planet 6400 5.5 | ||
+ | !phy plan 6400 5.5 | ||
+ | !phy p 6400 5.5 | ||
+ | </ | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | You can specify different units, for example you can use ' | ||
+ | |||
+ | < | ||
+ | !physics planet 1e 1e | ||
+ | </ | ||
+ | |||
+ | === Orbits === | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Another option is to specify an orbit. If a third parameter is specified, then it is the distance to an orbit, which by default is from the centre of the planet. To specify a 7,000km orbit around a 6,400km radius planet you would use: | ||
+ | |||
+ | < | ||
+ | !physics planet 6400km 5.5 7000km | ||
+ | </ | ||
+ | |||
+ | Alternatively, | ||
+ | |||
+ | < | ||
+ | !physics planet 6400km 5.5 +400km | ||
+ | </ | ||
+ | |||
+ | === Solar Orbits === | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | You can also specify solar orbits, simply by using larger numbers. | ||
+ | |||
+ | < | ||
+ | !physics planet 1sol 1sol 1au | ||
+ | !physics planet 2sol 1.5sol 3au | ||
+ | !physics planet 5j 1.5j 1mkm | ||
+ | </ | ||
traveller/roll20.1603556303.txt.gz · Last modified: 2020/10/24 16:18 by sam