Fix plugin name in error, add link in docs

Ref #1769
develop
lethosor 2021-02-25 00:41:13 -05:00
parent cb9ed4ff0c
commit 4a7fcc6118
No known key found for this signature in database
GPG Key ID: 76A269552F4F58C1
2 changed files with 4 additions and 4 deletions

@ -1278,8 +1278,8 @@ Units module
Sets the given labor to the given (boolean) validity for all units that are Sets the given labor to the given (boolean) validity for all units that are
part of your fortress civilization. Valid labors are allowed to be toggled part of your fortress civilization. Valid labors are allowed to be toggled
in the in-game labor management screens (including DFHack's labor manipulator in the in-game labor management screens (including DFHack's `labor manipulator
screen). screen <manipulator>`).
* ``dfhack.units.getNominalSkill(unit, skill[, use_rust])`` * ``dfhack.units.getNominalSkill(unit, skill[, use_rust])``

@ -570,8 +570,8 @@ static void enable_alchemist(color_ostream &out)
if (!Units::setLaborValidity(unit_labor::ALCHEMIST, true)) if (!Units::setLaborValidity(unit_labor::ALCHEMIST, true))
{ {
// informational only; this is a non-fatal error // informational only; this is a non-fatal error
out.printerr("manipulator: Could not flag Alchemist as a valid skill; Alchemist will not" out.printerr("%s: Could not flag Alchemist as a valid skill; Alchemist will not"
" be settable from DF or DFHack labor management screens.\n"); " be settable from DF or DFHack labor management screens.\n", plugin_name);
} }
} }