Merge pull request #2138 from Henddher/improve_help_of_puzzles_use_command
Make Puzzle's use command user-friendly.
This commit is contained in:
commit
9a862eac4a
1 changed files with 18 additions and 3 deletions
|
|
@ -588,15 +588,30 @@ def _matching_puzzles(puzzles, puzzlename_tags_dict, puzzle_ingredients):
|
||||||
|
|
||||||
|
|
||||||
class CmdUsePuzzleParts(MuxCommand):
|
class CmdUsePuzzleParts(MuxCommand):
|
||||||
|
"""
|
||||||
|
Use an object, or a group of objects at once.
|
||||||
|
|
||||||
|
|
||||||
|
Example:
|
||||||
|
You look around you and see a pole, a long string, and a needle.
|
||||||
|
|
||||||
|
use pole, long string, needle
|
||||||
|
|
||||||
|
Genius! You built a fishing pole.
|
||||||
|
|
||||||
|
|
||||||
|
Usage:
|
||||||
|
use <obj1> [,obj2,...]
|
||||||
|
"""
|
||||||
|
|
||||||
|
# Technical explanation
|
||||||
"""
|
"""
|
||||||
Searches for all puzzles whose parts match the given set of objects. If there are matching
|
Searches for all puzzles whose parts match the given set of objects. If there are matching
|
||||||
puzzles, the result objects are spawned in their corresponding location if all parts have been
|
puzzles, the result objects are spawned in their corresponding location if all parts have been
|
||||||
passed in.
|
passed in.
|
||||||
|
|
||||||
Usage:
|
|
||||||
use <part1[,part2,...>]
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
key = "use"
|
key = "use"
|
||||||
aliases = "combine"
|
aliases = "combine"
|
||||||
locks = "cmd:pperm(use) or pperm(Player)"
|
locks = "cmd:pperm(use) or pperm(Player)"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue