From 06fc84fb399c9d1519c2c7719f67c579c4a6038e Mon Sep 17 00:00:00 2001 From: myk002 Date: Mon, 25 Jul 2022 22:00:56 -0700 Subject: [PATCH] update docs for infiniteSky --- docs/plugins/infiniteSky.rst | 18 ++++++++++++------ plugins/infiniteSky.cpp | 14 +------------- 2 files changed, 13 insertions(+), 19 deletions(-) diff --git a/docs/plugins/infiniteSky.rst b/docs/plugins/infiniteSky.rst index 328ee83bd..24e206f25 100644 --- a/docs/plugins/infiniteSky.rst +++ b/docs/plugins/infiniteSky.rst @@ -1,14 +1,20 @@ infiniteSky =========== -Automatically allocates new z-levels of sky at the top of the map as you build up, -or on request allocates many levels all at once. +Tags: +:dfhack-keybind:`` + +Automatically allocates new z-levels of sky at the top of the map as you build +up, or on request allocates many levels all at once. Usage: -``infiniteSky n`` - Raise the sky by n z-levels. -``infiniteSky enable/disable`` - Enables/disables monitoring of constructions. If you build anything in the second to highest z-level, it will allocate one more sky level. This is so you can continue to build stairs upward. +``enable infiniteSky`` + Enables monitoring of constructions. If you build anything in the second + highest z-level, it will allocate one more sky level. You can build stairs + up as high as you like! +``infiniteSky []`` + Raise the sky by n z-levels. If run without parameters, raises the sky by + one z-level. .. warning:: diff --git a/plugins/infiniteSky.cpp b/plugins/infiniteSky.cpp index d63eec6b8..bc51f06f1 100644 --- a/plugins/infiniteSky.cpp +++ b/plugins/infiniteSky.cpp @@ -33,19 +33,7 @@ DFhackCExport command_result plugin_init ( color_ostream &out, std::vector