X-Git-Url: https://mudpy.org/gitweb?a=blobdiff_plain;f=share%2Fcommand.yaml;h=cfa10f7d40b26d7e2443e7322b9fb14a5b134ea3;hb=e1c28efd28dcad31000a07dfe303adfde4b47522;hp=0f4df404080ea7b15949f876f670f5e5fdc379bb;hpb=29041014a531835bf9b6a80ca9d7ed414a929432;p=mudpy.git diff --git a/share/command.yaml b/share/command.yaml index 0f4df40..cfa10f7 100644 --- a/share/command.yaml +++ b/share/command.yaml @@ -1,5 +1,5 @@ --- -_copy: Copyright (c) 2004-2020 mudpy authors. Permission to use, copy, +_copy: Copyright (c) 2004-2022 mudpy authors. Permission to use, copy, modify, and distribute this software is granted under terms provided in the LICENSE file distributed with this software. @@ -30,6 +30,30 @@ command.destroy.description: Destroy an existing element in the universe. command.destroy.help: You can destroy any element in the universe as follows:$(eol)$(eol) destroy prop.dagger +command.evaluate.debugging: true +command.evaluate.description: Evaluate a Python expression. +command.evaluate.help: For debugging purposes, you can use this to run certain + Python language expressions within the running engine's context, though for + safety reasons only a limited set of builtins are allowed, as well as + objects in the mudpy package namespace and the active universe object. + Expressions containing "__" or "lambda" are also prohobited for additional + safety. Everything following the word "evaluate" is assumed to be a Python + expression, and is passed to the eval() built-in, outputting a string + representation of whatever it returns. Any exceptions are caught in an + attempt to avoid accidentally crashing the engine. This command is mostly + useful for inspecting the contents of in-memory objects, for + example:$(eol)$(eol) evaluate universe.groups['actor'].keys() + +command.get.action: command.c_get +command.get.description: Pick up or retrieve an item. +command.get.help: To retrieve something from your environment into your + inventory, get it by whatever name is shown, or even a subset or keyword + which you think might relate to it. + +command.drop.description: Put an item onto the ground. +command.drop.help: To drop something, reference it by whatever name is shown in + your inventory. + command.halt.administrative: true command.halt.description: Shut down the world. command.halt.help: This will save all active accounts, disconnect all clients @@ -40,6 +64,9 @@ command.help.help: This will list all command words available to you along with a brief description or, alternatively, give you detailed information on one command. +command.inventory.description: Look in your inventory. +command.inventory.help: List the items you're currently carrying around. + command.look.description: Look around. command.look.help: With the look command, you can see where you are. @@ -95,6 +122,5 @@ command.show.help: Here are the possible incantations ( is required, data files)$(eol) show group (list the elements in a group)$(eol) show groups (list all element group names)$(eol) show log [level [start [stop]]] (list logs above level from start to - stop)$(eol) show result (evaluate a python - expression)$(eol) show time (return several current timer + stop)$(eol) show time (return several current timer values)$(eol) show version (display running version and dependencies)