(id_)
return getattr(constants.Item, 'Agent%d' % id_).value
Gets the state value based off of agents "name"
Gets the state value based off of agents "name"
Gets the state value based off of agents name
def agent_value(id_):
    '''Gets the state value based off of agents "name"'''
    return getattr(constants.Item, 'Agent%d' % id_).value
def agent_value ( id_ ) : return getattr ( constants . Item , 'Agent%d' % id_ ) . value