summaryrefslogtreecommitdiff
path: root/player.py
diff options
context:
space:
mode:
Diffstat (limited to 'player.py')
-rw-r--r--player.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/player.py b/player.py
index 156030a..2e3eafa 100644
--- a/player.py
+++ b/player.py
@@ -1,3 +1,11 @@
+#!/usr/bin/python
+"""
+ Copyright 2011, Dipesh Amin <yaypunkrock@gmail.com>
+ Copyright 2011, Stefan Beller <stefanbeller@googlemail.com>
+
+ This file is part of tradey, a trading bot in the mana world
+ see www.themanaworld.org
+"""
class Item:
pass
@@ -29,3 +37,6 @@ class Player:
if self.inventory[item].itemId == item_id:
return item
return -10 # Not found - bug somewhere!
+
+if __name__ == '__main__':
+ print "Do not run this file directly. Run main.py"