From 1f7c10252e79415bf56c461cd2eb19a5018433fb Mon Sep 17 00:00:00 2001 From: Alexander Gavrilov Date: Thu, 20 Sep 2012 11:48:53 +0400 Subject: [PATCH] Support renaming activity zones. This one required hooking the dwarfmode render method. --- README.rst | 8 +++++--- Readme.html | 8 +++++--- plugins/rename.cpp | 47 +++++++++++++++++++++++++++++++++++++++++----- 3 files changed, 52 insertions(+), 11 deletions(-) diff --git a/README.rst b/README.rst index 589451a9a..9e3d5d3f9 100644 --- a/README.rst +++ b/README.rst @@ -703,7 +703,8 @@ Options :rename unit-profession "custom profession": Change proffession name of the highlighted unit/creature. :rename building "name": Set a custom name for the selected building. - The building must be one of stockpile, workshop, furnace, trap or siege engine. + The building must be one of stockpile, workshop, furnace, trap, + siege engine or an activity zone. reveal ====== @@ -1549,7 +1550,8 @@ via a simple dialog in the game ui. * ``gui/rename [building]`` in 'q' mode changes the name of a building. - The selected building must be one of stockpile, workshop, furnace, trap or siege engine. + The selected building must be one of stockpile, workshop, furnace, trap, or siege engine. + It is also possible to rename zones from the 'i' menu. * ``gui/rename [unit]`` with a unit selected changes the nickname. @@ -1645,7 +1647,7 @@ is extracted from the workshop raws. machine connection cannot be modified. As a result, the workshop can only immediately connect to machine components built AFTER it. This also means that engines cannot be chained without intermediate -short axles that can be built later. +short axles that can be built later than both of the engines. Operation --------- diff --git a/Readme.html b/Readme.html index 4c005b6ff..7b41dc74b 100644 --- a/Readme.html +++ b/Readme.html @@ -1480,7 +1480,8 @@ highlighted unit/creature. rename building "name":  Set a custom name for the selected building. -The building must be one of stockpile, workshop, furnace, trap or siege engine. +The building must be one of stockpile, workshop, furnace, trap, +siege engine or an activity zone. @@ -2423,7 +2424,8 @@ configuration page, but configures parameters relevant to the modded power meter via a simple dialog in the game ui.