From a721f2af6338da38b52a16c8ebc1da461c33a391 Mon Sep 17 00:00:00 2001 From: Evan Dickinson Date: Mon, 12 Nov 2018 12:55:39 -0800 Subject: [PATCH] Documentation for issue #2319 --- .gitignore | 3 +++ doc/source/structures/celestial_bodies/body.rst | 15 +++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/.gitignore b/.gitignore index 1dd4bff18..0edb34a87 100644 --- a/.gitignore +++ b/.gitignore @@ -46,3 +46,6 @@ netkan.exe #zip files for archived art assets *.zip + +# .swp files from vim (temporary files that vim creates when editing a file) +*.swp diff --git a/doc/source/structures/celestial_bodies/body.rst b/doc/source/structures/celestial_bodies/body.rst index 4d35b8dc2..afcaabf41 100644 --- a/doc/source/structures/celestial_bodies/body.rst +++ b/doc/source/structures/celestial_bodies/body.rst @@ -67,6 +67,9 @@ All of the main celestial bodies in the game are reserved variable names. The fo :attr:`NAME` :ref:`string ` :attr:`DESCRIPTION` :ref:`string ` :attr:`MASS` :ref:`scalar ` (kg) + :attr:`OCEAN` :ref:`boolean ` + :attr:`HASSOLIDSURFACE` :ref:`boolean ` + :attr:`ORBITINGCHILDREN` :struct:`List` :attr:`ALTITUDE` :ref:`scalar ` (m) :attr:`ROTATIONPERIOD` :ref:`scalar ` (s) :attr:`RADIUS` :ref:`scalar ` (m) @@ -96,6 +99,18 @@ All of the main celestial bodies in the game are reserved variable names. The fo The mass of the body in kilograms. +.. attribute:: Body:OCEAN + + Does the body have oceans? + +.. attribute:: Body:HASSOLIDSURFACE + + Does the body have an actual solid surface? + +.. attribute:: Body:ORBITINGCHILDREN + + A list of the bodies orbiting this body. + .. attribute:: Body:ALTITUDE The altitude of this body above the sea level surface of its parent body. I.e. the altitude of Mun above Kerbin.