Make Puzzle's use command user-friendly.

This commit is contained in:
Henddher Pedroza 2020-05-17 16:26:38 -04:00
parent 998bf2271f
commit 08b49274eb

View file

@ -588,15 +588,30 @@ def _matching_puzzles(puzzles, puzzlename_tags_dict, puzzle_ingredients):
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
puzzles, the result objects are spawned in their corresponding location if all parts have been
passed in.
Usage:
use <part1[,part2,...>]
"""
key = "use"
aliases = "combine"
locks = "cmd:pperm(use) or pperm(Player)"