From 7c73db90d540f61d248aae754c10c8a6dea5a72e Mon Sep 17 00:00:00 2001 From: tajmone Date: Tue, 7 Apr 2015 16:34:49 +0200 Subject: [PATCH 1/5] Typo in create_exit_cmdset docstring. --- evennia/objects/objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evennia/objects/objects.py b/evennia/objects/objects.py index 90b149fda3..6e9102a3b8 100644 --- a/evennia/objects/objects.py +++ b/evennia/objects/objects.py @@ -1452,7 +1452,7 @@ class DefaultExit(DefaultObject): exit's name, triggering the movement between rooms. Args: - exiddobj (Object): The DefaultExit object to base the command on. + exidbobj (Object): The DefaultExit object to base the command on. """ class ExitCommand(command.Command): From 37fcbf9ba50294a015e1161c9ead47ba27fec881 Mon Sep 17 00:00:00 2001 From: tajmone Date: Tue, 7 Apr 2015 16:41:11 +0200 Subject: [PATCH 2/5] Typo in t_cmdset_get() docstring. --- evennia/objects/objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evennia/objects/objects.py b/evennia/objects/objects.py index 6e9102a3b8..2af07d4b9a 100644 --- a/evennia/objects/objects.py +++ b/evennia/objects/objects.py @@ -1525,7 +1525,7 @@ class DefaultExit(DefaultObject): command handler. If changes need to be done on the fly to the cmdset before passing them on to the cmdhandler, this is the place to do it. This is called also if the object currently - have no cmdsets. + has no cmdsets. Kwargs: force_init (bool): If `True`, force a re-build of the cmdset From 69cb443f0eed8796ff9a3ce719d7a905c20cf605 Mon Sep 17 00:00:00 2001 From: tajmone Date: Tue, 7 Apr 2015 16:49:13 +0200 Subject: [PATCH 3/5] docstring Google formatting. --- evennia/objects/objects.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/evennia/objects/objects.py b/evennia/objects/objects.py index 2af07d4b9a..2ea05ba82f 100644 --- a/evennia/objects/objects.py +++ b/evennia/objects/objects.py @@ -1132,8 +1132,8 @@ class DefaultObject(ObjectDB): normally by calling `traversing_object.move_to(target_location)`. It is normally only implemented by Exit objects. If it returns False (usually - because move_to returned False), at_after_traverse below - should not be called and instead at_failed_traverse should be + because move_to returned False), `at_after_traverse` below + should not be called and instead `at_failed_traverse` should be called. Args: From ce9758b90212f0d927f3c8a9a81365be2027ddc3 Mon Sep 17 00:00:00 2001 From: tajmone Date: Tue, 7 Apr 2015 16:52:58 +0200 Subject: [PATCH 4/5] Formatted docstring. --- evennia/objects/objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evennia/objects/objects.py b/evennia/objects/objects.py index 2ea05ba82f..d7ddbf7091 100644 --- a/evennia/objects/objects.py +++ b/evennia/objects/objects.py @@ -130,7 +130,7 @@ class DefaultObject(ObjectDB): It is recommended to create children of this class using the `evennia.create_object()` function rather than to initialize the class directly - this will both set things up and efficiently save the object - without obj.save() having to be called explicitly. + without `obj.save()` having to be called explicitly. """ # typeclass setup From a074b072a5036a318ca2c42bce3da4a273785975 Mon Sep 17 00:00:00 2001 From: tajmone Date: Tue, 7 Apr 2015 16:55:47 +0200 Subject: [PATCH 5/5] Formatted docstring. --- evennia/objects/objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evennia/objects/objects.py b/evennia/objects/objects.py index d7ddbf7091..328427e776 100644 --- a/evennia/objects/objects.py +++ b/evennia/objects/objects.py @@ -1132,7 +1132,7 @@ class DefaultObject(ObjectDB): normally by calling `traversing_object.move_to(target_location)`. It is normally only implemented by Exit objects. If it returns False (usually - because move_to returned False), `at_after_traverse` below + because `move_to` returned False), `at_after_traverse` below should not be called and instead `at_failed_traverse` should be called.