summaryrefslogtreecommitdiffstats
path: root/weatbag/items/unlit_torch.py
diff options
context:
space:
mode:
authorThomas Kluyver <takowl@gmail.com>2013-01-13 15:23:46 +0000
committerThomas Kluyver <takowl@gmail.com>2013-01-13 15:23:46 +0000
commit8ac7a65685ffe58529087bbe5a0063d1e0168f5c (patch)
treec25e5bac9f8c51627f2f9f1c9fa8380d075f7841 /weatbag/items/unlit_torch.py
parentd327e21c9c8fec8dea82035e87bfd1a3ba2b813c (diff)
New framework to allow combining items.
Diffstat (limited to 'weatbag/items/unlit_torch.py')
-rw-r--r--weatbag/items/unlit_torch.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/weatbag/items/unlit_torch.py b/weatbag/items/unlit_torch.py
new file mode 100644
index 0000000..1f313ca
--- /dev/null
+++ b/weatbag/items/unlit_torch.py
@@ -0,0 +1,6 @@
+def combine(other):
+ if other == 'match':
+ print("The torch sputters into life.")
+ return ['flaming torch']
+
+ return None