Difference for python/IPO/say.py from version 1.9 to 1.10


version 1.9 version 1.10
Line 150
 
Line 150
  inv = activator.CheckInventory(sackName)   inv = activator.CheckInventory(sackName)
  map = 0   map = 0
  if inv != 0:   if inv != 0:
  while inv != 0:   while inv:
  next = inv.Below   next = inv.Below
  text2=string.split(inv.Name)   text2=string.split(inv.Name)
  if text2[0]==sackName and text2[1]=='T:' and text2[3]=='F:' and text2[2] == text[1]:   if text2[0]==sackName and text2[1]=='T:' and text2[3]=='F:' and text2[2] == text[1]:
Line 168
 
Line 168
 elif text[0] == 'receive':  elif text[0] == 'receive':
  map = Crossfire.ReadyMap(storage_map)   map = Crossfire.ReadyMap(storage_map)
  if ( map != 0 ):   if ( map != 0 ):
  item = map.GetObjectAt(storage_x, storage_y)   item = map.ObjectAt(storage_x, storage_y)
  count = 0   count = 0
  while item != 0:   while item:
  previous = item.above   previous = item.Above
  text2 = string.split(item.Name)   text2 = string.split(item.Name)
  if ( len(text2) == 5 ) and ( text2[0] == sackName ) and ( text2[2] == activatorname ):   if ( len(text2) == 5 ) and ( text2[0] == sackName ) and ( text2[2] == activatorname ):
  activator.InsertObjectInside(item)   activator.InsertObjectInside(item)


Legend:
line(s) removed in v.1.9 
line(s) changed
 line(s) added in v.1.10

File made using version 1.96 of cvs2html by leaf at 2006-02-15 17:29