From 39c96c474a827cb01ffc7a2ba8b450be8aa14565 Mon Sep 17 00:00:00 2001 From: Michael Casadevall Date: Tue, 14 Jun 2016 16:13:26 -0400 Subject: [PATCH] Fix ordering, news, and indentation Signed-off-by: Michael Casadevall --- NEWS.rst | 5 ++++- docs/Plugins.rst | 44 +++++++++++++++++++++--------------------- plugins/CMakeLists.txt | 2 +- 3 files changed, 27 insertions(+), 24 deletions(-) diff --git a/NEWS.rst b/NEWS.rst index 025aabfbc..1b1b594b5 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -37,10 +37,13 @@ Lua --- - Label widgets can now easily register handlers for mouse clicks +New Plugins +----------- +- `dwarfvet` enables animal caretaking. + New Features ------------ - `gui/gm-editor` it's now possible to insert default types to containers. For primitive types leave the type entry empty, for references use ``*``. -- `dwarfvet` enables animal caretaking. Fixes ----- diff --git a/docs/Plugins.rst b/docs/Plugins.rst index 34bbef32e..f352d97fe 100644 --- a/docs/Plugins.rst +++ b/docs/Plugins.rst @@ -1109,28 +1109,6 @@ Example: This will confiscate rotten and dropped food, garbage on the floors and any worn items with 'X' damage and above. -.. _dwarfvet: - -dwarfvet -============ -Enables Animal Caretaker functionality - -Always annoyed your dragons become useless after a minor injury? Well, with -dwarfvet, your animals become first rate members of your fort. It can also -be used to train medical skills. - -Animals need to be treated in an animal hospital, which is simply a hospital -that is also an animal training zone. The console will print out a list on game -load, and whenever one is added or removed. Dwarfs must have the Animal Caretaker -labor to treat animals. Normal medical skills are used (and no experience is given -to the Animal Caretaker skill). - -Options: - -:enable: Enables Animal Caretakers to treat and manage animals -:disable: Turns off the plguin -:report: Reports all zones that the game considers animal hospitals - .. _dwarfmonitor: dwarfmonitor @@ -1208,6 +1186,28 @@ Some widgets support additional options: displayed as ``-1`` when the cursor is outside of the DF window; otherwise, nothing will be displayed. +.. _dwarfvet: + +dwarfvet +============ +Enables Animal Caretaker functionality + +Always annoyed your dragons become useless after a minor injury? Well, with +dwarfvet, your animals become first rate members of your fort. It can also +be used to train medical skills. + +Animals need to be treated in an animal hospital, which is simply a hospital +that is also an animal training zone. The console will print out a list on game +load, and whenever one is added or removed. Dwarfs must have the Animal Caretaker +labor to treat animals. Normal medical skills are used (and no experience is given +to the Animal Caretaker skill). + +Options: + +:enable: Enables Animal Caretakers to treat and manage animals +:disable: Turns off the plguin +:report: Reports all zones that the game considers animal hospitals + .. _workNow: workNow diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt index fbf33f459..79d2f0092 100644 --- a/plugins/CMakeLists.txt +++ b/plugins/CMakeLists.txt @@ -93,7 +93,7 @@ if (BUILD_SUPPORTED) DFHACK_PLUGIN(dig dig.cpp) DFHACK_PLUGIN(digFlood digFlood.cpp) add_subdirectory(diggingInvaders) - DFHACK_PLUGIN(dwarfvet dwarfvet.cpp) + DFHACK_PLUGIN(dwarfvet dwarfvet.cpp) DFHACK_PLUGIN(dwarfmonitor dwarfmonitor.cpp LINK_LIBRARIES lua) DFHACK_PLUGIN(embark-tools embark-tools.cpp) DFHACK_PLUGIN(eventful eventful.cpp LINK_LIBRARIES lua)