#NEWLINE# def create_player( ) : #NEWLINE# #INDENT# PLAYER = life . create_life ( 'human' , name = [ 'Tester' , 'Toaster' ] , position = get_spawn_point ( zone_entry_point = True ) ) #NEWLINE# PLAYER [ 'stats' ] . update ( historygen . create_background ( life ) ) #NEWLINE# PLAYER [ 'player' ] = True #NEWLINE# for item in BASE_ITEMS : #NEWLINE# #INDENT# life . add_item_to_inventory ( PLAYER , items . create_item ( item ) ) #NEWLINE# #UNINDENT# SETTINGS [ 'controlling' ] = PLAYER [ 'id' ] #NEWLINE# _zes_leader = alife . factions . get_faction ( 'ZES' ) [ 'members' ] [ 0 ] #NEWLINE# _m = missions . create_mission ( 'locate_target' , target = _zes_leader ) #NEWLINE# _m_id = missions . remember_mission ( PLAYER , _m ) #NEWLINE# missions . change_task_description ( PLAYER , _m_id , 1 , ( 'Find ZES outpost, talk to %s' % ' ' . join ( LIFE [ _zes_leader ] [ 'name' ] ) ) ) #NEWLINE# alife . factions . add_member ( 'Loners' , SETTINGS [ 'controlling' ] ) #NEWLINE# lfe . focus_on ( LIFE [ SETTINGS [ 'controlling' ] ] ) #NEWLINE# return PLAYER