#NEWLINE# def conditions( life , alife_seen , alife_not_seen , targets_seen , targets_not_seen , source_map ) : #NEWLINE# #INDENT# RETURN_VALUE = STATE_UNCHANGED #NEWLINE# if ( not lfe . execute_raw ( life , 'state' , 'hide' ) ) : #NEWLINE# #INDENT# if ( life [ 'state' ] == STATE ) : #NEWLINE# #INDENT# lfe . clear_actions ( life ) #NEWLINE# #UNINDENT# return False #NEWLINE# #UNINDENT# if ( not ( life [ 'state' ] == STATE ) ) : #NEWLINE# #INDENT# RETURN_VALUE = STATE_CHANGE #NEWLINE# #UNINDENT# return RETURN_VALUE