summaryrefslogtreecommitdiffstats
path: root/doc/interface.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/interface.rst')
-rw-r--r--doc/interface.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/interface.rst b/doc/interface.rst
index 796fa4b..dd960b4 100644
--- a/doc/interface.rst
+++ b/doc/interface.rst
@@ -52,3 +52,9 @@ Your module should define a class called ``Tile``, with the following interface:
:param player: the active :class:`~weatbag.Player` instance
:param direction: the direction the player is trying to leave, as a single
lowercase character, n/e/s/w
+
+ .. attribute:: no_path_msg
+
+ *Optional.* The message to display if the player attempts to leave in a
+ direction where there is no tile. The default message says "The undergrowth
+ in that direction is impassable. You turn back."