{% if planet.basic_factories or planet.advanced_factories or planet.high_tech_factories %}
{% if planet.basic_factories %}
BASIC (T1)
{% for pin in planet.basic_factories %}
{% if pin.product_type %}
{{ pin.product_type.name }}
{% else %}
No Schematic
{% endif %}
{{ pin.status_label }}
{% endfor %}
{% endif %}
{% if planet.advanced_factories %}
ADVANCED (T2/T3)
{% for pin in planet.advanced_factories %}
{% if pin.product_type %}
{{ pin.product_type.name }}
{% else %}
No Schematic
{% endif %}
{{ pin.status_label }}
{% endfor %}
{% endif %}
{% if planet.high_tech_factories %}
HIGH TECH (T4)
{% for pin in planet.high_tech_factories %}
{% if pin.product_type %}
{{ pin.product_type.name }}
{% else %}
No Schematic
{% endif %}
{{ pin.status_label }}
{% endfor %}
{% endif %}
{% else %}
No factories installed
{% endif %}
Storage & Infrastructure
{% for pin in planet.command_centers %}
Command Center
{% endfor %}
{% for pin in planet.storage_pins %}
{{ pin.type.name|default:"Storage" }}
{% endfor %}
{% if not planet.command_centers and not planet.storage_pins %}
No infrastructure found
{% endif %}
{% endfor %}
{% endfor %}
{% else %}
No Planetary Interaction data found. Ensure your PI
characters are authorized with the esi-planets.manage_planets.v1 scope via the
Tokens /
Services page, and click "Refresh PI Data".