<s> class Step ( object ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , name ) : <EOL> self . name = name <EOL> self . include_plates = True <EOL> self . include_precipitations = False <EOL> self . include_erosion = False <EOL> self . include_biome = False <EOL> @ staticmethod <EOL> def get_by_name ( name ) : <EOL> if name == "<STR_LIT>" : <EOL> return Step . plates ( ) <EOL> elif name == "<STR_LIT>" : <EOL> return Step . precipitations ( ) <EOL> elif name == "<STR_LIT>" : <EOL> return Step . full ( ) <EOL> raise Exception ( "<STR_LIT>" % name ) <EOL> @ classmethod <EOL> def full ( cls ) : <EOL> if not hasattr ( cls , "<STR_LIT>" ) : <EOL> step = Step ( "<STR_LIT>" ) <EOL> step . include_precipitations = True <EOL> step . include_erosion = True <EOL> step . include_biome = True <EOL> cls . _full = step <EOL> return cls . _full <EOL> @ classmethod <EOL> def precipitations ( cls ) : <EOL> if not hasattr ( cls , "<STR_LIT>" ) : <EOL> step = Step ( "<STR_LIT>" ) <EOL> step . include_precipitations = True <EOL> cls . _precipitations = step <EOL> return cls . _precipitations <EOL> @ classmethod <EOL> def plates ( cls ) : <EOL> if not hasattr ( cls , "<STR_LIT>" ) : <EOL> step = Step ( "<STR_LIT>" ) <EOL> step . include_precipitations = True <EOL> step . include_erosion = True <EOL> step . include_biome = True <EOL> cls . _plates = step <EOL> return cls . _plates <EOL> def __eq__ ( self , other ) : <EOL> return isinstance ( other , self . __class__ ) and self . __dict__ == other . __dict__ </s>
