From d4df0948e3230b356874e427b764b074d6d86be0 Mon Sep 17 00:00:00 2001 From: Griatch Date: Fri, 17 Feb 2017 08:39:14 +0100 Subject: [PATCH] Change @ desc to @ setdesc to avoid confusion with desc command. --- evennia/commands/default/building.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/evennia/commands/default/building.py b/evennia/commands/default/building.py index 6ea81ead03..b098aebd5f 100644 --- a/evennia/commands/default/building.py +++ b/evennia/commands/default/building.py @@ -20,7 +20,7 @@ COMMAND_DEFAULT_CLASS = class_from_module(settings.COMMAND_DEFAULT_CLASS) # limit symbol import for API __all__ = ("ObjManipCommand", "CmdSetObjAlias", "CmdCopy", "CmdCpAttr", "CmdMvAttr", "CmdCreate", - "CmdDesc", "CmdDestroy", "CmdDig", "CmdTunnel", "CmdLink", + "CmdSetDesc", "CmdDestroy", "CmdDig", "CmdTunnel", "CmdLink", "CmdUnLink", "CmdSetHome", "CmdListCmdSets", "CmdName", "CmdOpen", "CmdSetAttribute", "CmdTypeclass", "CmdWipe", "CmdLock", "CmdExamine", "CmdFind", "CmdTeleport", @@ -533,12 +533,12 @@ def _desc_quit(caller): caller.attributes.remove("evmenu_target") caller.msg("Exited editor.") -class CmdDesc(COMMAND_DEFAULT_CLASS): +class CmdSetDesc(COMMAND_DEFAULT_CLASS): """ - describe an object + describe an object or the current room. Usage: - @desc [ =] + @setdesc [ =] Switches: edit - Open up a line editor for more advanced editing. @@ -546,7 +546,7 @@ class CmdDesc(COMMAND_DEFAULT_CLASS): Sets the "desc" attribute on an object. If an object is not given, describe the current room. """ - key = "@desc" + key = "@setdesc" aliases = "@describe" locks = "cmd:perm(desc) or perm(Builders)" help_category = "Building"