Skip to content

Commit

Permalink
Documentation for issue KSP-KOS#2319
Browse files Browse the repository at this point in the history
  • Loading branch information
evandisoft committed Nov 12, 2018
1 parent d72ba46 commit a721f2a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
15 changes: 15 additions & 0 deletions doc/source/structures/celestial_bodies/body.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ All of the main celestial bodies in the game are reserved variable names. The fo
:attr:`NAME` :ref:`string <string>`
:attr:`DESCRIPTION` :ref:`string <string>`
:attr:`MASS` :ref:`scalar <scalar>` (kg)
:attr:`OCEAN` :ref:`boolean <boolean>`
:attr:`HASSOLIDSURFACE` :ref:`boolean <boolean>`
:attr:`ORBITINGCHILDREN` :struct:`List`
:attr:`ALTITUDE` :ref:`scalar <scalar>` (m)
:attr:`ROTATIONPERIOD` :ref:`scalar <scalar>` (s)
:attr:`RADIUS` :ref:`scalar <scalar>` (m)
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit a721f2a

Please sign in to comment.