#NEWLINE# def with_ammunition_type( self , ammunition_type ) : #NEWLINE# #INDENT# '\n        Configure type of this ammunition\n\n        :param ammunition_type: type of ammunition\n        :type ammunition_type: string\n        ' #NEWLINE# if ( self . ammunition_data is None ) : #NEWLINE# #INDENT# self . ammunition_data = AmmunitionData ( ) #NEWLINE# #UNINDENT# self . ammunition_data . ammunition_type = ammunition_type #NEWLINE# return self