#NEWLINE# def add_raid_targets( life ) : #NEWLINE# #INDENT# for raider in [ LIFE [ r ] for r in raids . get_raiders ( raider [ 'camp' ] ) ] : #NEWLINE# #INDENT# if ( raider [ 'id' ] == life [ 'id' ] ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# if ( not alife . brain . knows_alife ( life , raider ) ) : #NEWLINE# #INDENT# alife . brain . meet_alife ( life , raider ) #NEWLINE# #UNINDENT# if ( not lfe . get_memory ( life , matches = { #NEWLINE# #INDENT# 'text' : 'target_is_raiding' , #NEWLINE# 'target' : raider [ 'id' ] , #NEWLINE# 'camp' : life [ 'camp' ] , #NEWLINE# #UNINDENT# } ) ) : #NEWLINE# #INDENT# lfe . memory ( life , 'target_is_raiding' , target = raider [ 'id' ] , camp = life [ 'camp' ] )