{% if gun.grid_image_url %}

{% endif %}
{{ gun.name }}
{{ gun.caliber or '?' }}
{% if gun.wiki_url %}
wiki ↗{% endif %}
{{ "%.3f"|format(gun.weight_kg) if gun.weight_kg is not none else '?' }}
Base weight (kg)
{% if gun.ergonomics %}
{{ gun.ergonomics }}
Ergonomics
{% endif %}
{% if gun.recoil_vertical %}
{{ gun.recoil_vertical }}
Recoil (V)
{% endif %}
{% if gun.fire_rate %}
{{ gun.fire_rate }}
Fire rate
{% endif %}
Lightest possible build:
{{ "%.3f"|format(lightest_total) }} kg
base {{ "%.3f"|format(gun.weight_kg or 0) }} kg + lightest mod per slot
{% if key_slots %}
Key slots
{% for slot in key_slots %}
{% set lightest = slot.mods[0] if slot.mods else none %}
{% if slot.mods %}
{% for mod in slot.mods %}
{% if mod.grid_image_url %}

{% else %}
{% endif %}
{{ mod.mod_name }}
{% if mod.mod_short and mod.mod_short != mod.mod_name %}
{{ mod.mod_short }}
{% endif %}
{% if mod.wiki_url %}
wiki
{% endif %}
{% if mod.weight_kg is not none %}{{ "%.3f"|format(mod.weight_kg) }} kg{% else %}—{% endif %}
{% endfor %}
{% else %}
No compatible mods found in database.
{% endif %}
{% endfor %}
{% endif %}
{% if other_slots %}
All other slots
{% for slot in other_slots %}
{% set lightest = slot.mods[0] if slot.mods else none %}
{% if slot.mods %}
{% for mod in slot.mods %}
{% if mod.grid_image_url %}

{% else %}
{% endif %}
{{ mod.mod_name }}
{% if mod.mod_short and mod.mod_short != mod.mod_name %}
{{ mod.mod_short }}
{% endif %}
{% if mod.wiki_url %}
wiki
{% endif %}
{% if mod.weight_kg is not none %}{{ "%.3f"|format(mod.weight_kg) }} kg{% else %}—{% endif %}
{% endfor %}
{% else %}
No compatible mods found in database.
{% endif %}
{% endfor %}
{% endif %}