<%def name="accuracy_graph(recent_weapons)"> ### hitscan weapon data is available % if 'nex' in recent_weapons or 'rifle' in recent_weapons or 'minstanex' in recent_weapons or 'uzi' in recent_weapons or 'shotgun' in recent_weapons:

Accuracy

    % for weapon in ['nex', 'rifle', 'minstanex', 'uzi', 'shotgun']: % if weapon in recent_weapons:
  • ### the nex is underscored first by default (until user selection) % if weapon == 'nex':
    % else:
    % endif

    ${weapon}

  • % endif % endfor
% endif