Clean debug statement.

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18320 282e977c-c81d-0410-88c4-b93c2d0d6712
master
ryo_saeba 2012-07-01 17:09:15 +00:00
parent ee50bbdeec
commit 3c158c16a7
6 changed files with 8 additions and 8 deletions

View File

@ -47,7 +47,7 @@ guildrecord = CFGuilds.CFGuildHouses().info(guildname)
found = 0
if text:
if text[0].upper() == 'ENTER':
print guildrecord
#print guildrecord
if guildrecord['Status'] == 'inactive':
message = 'This guild is currently inactive and available to be bought.'

View File

@ -17,4 +17,4 @@ if points:
else:
pass
else:
print 'Error, no points specified in %s on map %s' %(whoami.Name,mapname)
Crossfire.Log(Crossfire.LogError, 'Error, no points specified in %s on map %s' %(whoami.Name,mapname))

View File

@ -32,7 +32,7 @@ if (guildname):
names.append(player.Name)
if len(players) == 3:
print '%s,%s and %s found guild %s' %(names[0], names[1], names[2], guildname)
Crossfire.Log(Crossfire.LogInfo, '%s,%s and %s found guild %s' %(names[0], names[1], names[2], guildname))
CFGuilds.CFGuildHouses().establish(guildname)
#Masterize them
@ -47,7 +47,7 @@ if (guildname):
else:
message = 'To purchase a guild requires two additional persons to stand on the alcoves above.'
else:
print 'Guild Purchase Error: %s, %s' %(guildname, activatorname)
Crossfire.Log(Crossfire.LogError, 'Guild Purchase Error: %s, %s' %(guildname, activatorname))
message = 'Guild Purchase Error, please notify a DM'
whoami.Say(message)

View File

@ -56,7 +56,7 @@ if (guildname):
else:
message = 'No one is in the chair!'
else:
print 'Guild Join Error: %s' %(guildname)
Crossfire.Log(Crossfire.LogError, 'Guild Join Error: %s' %(guildname))
message = 'Guild Join Error, please notify a DM'
whoami.Say(message)

View File

@ -23,7 +23,7 @@ if (r <= 0.26):
if map:
me.Teleport(map, eat_x, eat_y)
else:
print "There is no eat map"
Crossfire.Log(Crossfire.LogError, "There is no eat map")
elif isplayer == 0:
me.Map.Print("\nThe %s is swallowed whole by the %s!" % (me.Name, worm.Name))

View File

@ -15,8 +15,8 @@ bank=CFBank.CFBank("ImperialBank_DB")
pshop=whoami.Map.Path.replace("/","_")
print CFDB.get(pshop)
print pshop
#print CFDB.get(pshop)
#print pshop