From 8ac7a65685ffe58529087bbe5a0063d1e0168f5c Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Sun, 13 Jan 2013 15:23:46 +0000 Subject: New framework to allow combining items. --- weatbag/items/unlit_torch.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 weatbag/items/unlit_torch.py (limited to 'weatbag/items/unlit_torch.py') 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 -- cgit v1.3