finished scripts in maps/python/pshop for handling the new private shops

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13581 282e977c-c81d-0410-88c4-b93c2d0d6712
master
alestan 2010-08-13 03:48:50 +00:00
parent 55fcc9797b
commit 9fe1a2977c
1 changed files with 4 additions and 4 deletions

View File

@ -11,6 +11,8 @@ sys.stdout=open("/tmp/output.log1",'w')
#print CFDataBase.__file__
CFDB=CFDataBase.CFDataBase("PShop")
PicDB=CFDataBase.CFDataBase("PicDB")
PicDict=PicDB.get("Dict")
bank=CFBank.CFBank("ImperialBank_DB")
pshop=whoami.Map.Path.replace("/","_")
@ -174,11 +176,9 @@ if whoami.Name.find("Store")>-1:
t.Title="Python"
t.Slaying="/python/pshop/Ice.py"
GlassReplica.Speed=0.0010000000475
sys.stderr=open('/tmp/output.log', 'w')
GlassReplica.Face=str(Item.Face)
GlassReplica.Face=PicDict.get(str(Item.Face),"scroll.111")
#GlassReplica.Material=(96,'ice')
GlassReplica.Name=str(Item.Quantity)+" "+Item.Name+" Price: "+str(Value)