Updated game/ for the ev API. There will likely be some changes happening in the game/folder, in the way new objects are inherited. This should use the API rather than inherit from the basecommand/baseobject modules (these will probably into the example folders as vanilla templates instead).

This commit is contained in:
Griatch 2012-03-25 13:09:17 +02:00
parent 3466e406f6
commit 88c0087fbd
13 changed files with 66 additions and 43 deletions

View file

@ -15,7 +15,8 @@ sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
# Get Evennia version
#------------------------------------------------------------
try:
VERSION = open("%s%s%s" % (os.pardir, os.sep, 'VERSION')).readline().strip()
with open(os.pardir + os.sep + 'VERSION') as f:
VERSION = "%s-r%s" % (f.read().strip(), os.popen("hg id -i").read().strip())
except IOError:
VERSION = "Unknown version"