In order to avoid shadowing any built-in set() method for Python
modules, rename the set() function defined in the command module to
c_set() and adjust the corresponding caller for the "set"
administrative command accordingly.
"""User command functions for the mudpy engine."""
"""User command functions for the mudpy engine."""
-# Copyright (c) 2004-2018 mudpy authors. Permission to use, copy,
+# Copyright (c) 2004-2019 mudpy authors. Permission to use, copy,
# modify, and distribute this software is granted under terms
# provided in the LICENSE file distributed with this software.
# modify, and distribute this software is granted under terms
# provided in the LICENSE file distributed with this software.
actor.send("What do you want to say?")
actor.send("What do you want to say?")
-def set(actor, parameters):
+def c_set(actor, parameters):
"""Set a facet of an element."""
if not parameters:
message = "You must specify an element, a facet and a value."
"""Set a facet of an element."""
if not parameters:
message = "You must specify an element, a facet and a value."
-_copy: Copyright (c) 2004-2018 mudpy authors. Permission to use, copy,
+_copy: Copyright (c) 2004-2019 mudpy authors. Permission to use, copy,
modify, and distribute this software is granted under terms
provided in the LICENSE file distributed with this software.
modify, and distribute this software is granted under terms
provided in the LICENSE file distributed with this software.
went teh wrong way?"$(eol) You say, "youre sure i went teh wrong way?"
command.say.see_also: chat
went teh wrong way?"$(eol) You say, "youre sure i went teh wrong way?"
command.say.see_also: chat
-command.set.action: mudpy.command.set(actor, parameters)
+command.set.action: mudpy.command.c_set(actor, parameters)
command.set.administrative: true
command.set.description: Set a facet of an element.
command.set.help: Invoke it like
command.set.administrative: true
command.set.description: Set a facet of an element.
command.set.help: Invoke it like