From 3400844980917bb3d59da322a3e33f55f81afe12 Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Mon, 7 Jan 2013 20:50:07 +0000 Subject: Add a simple way to test tiles --- doc/testing.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 doc/testing.rst (limited to 'doc/testing.rst') diff --git a/doc/testing.rst b/doc/testing.rst new file mode 100644 index 0000000..db70f09 --- /dev/null +++ b/doc/testing.rst @@ -0,0 +1,13 @@ +Testing tiles +============= + +To save you repeatedly playing through the game to test your latest changes, +there's a script to skip to any given tile:: + + ./test_tile.py n2 + +If the player needs specific items to test the tile, add a list called test_items +to the module. The test script will add these to the player's inventory. For +example, tile n2 defines:: + + test_items = ['unlit torch'] -- cgit v1.3