def getLastModule():
 craftSequence = getReadCraftSequence()
 if (len(craftSequence) < 1):
  return None
 return getCraftModule(craftSequence[(-1)])

def getLastModule ( ) : craftSequence = getReadCraftSequence ( ) if ( len ( craftSequence ) < 1 ) : return None return getCraftModule ( craftSequence [ ( - 1 ) ] )
get the last tool .