{% extends "base.html" %} {% block title %}Dwarves — df-storyteller{% endblock %} {% block content %}

Citizens of {{ fortress_name or "the Fortress" }}

{{ dwarves | length }} souls call this place home

Relationship Web Family Tree Pantheon
{% if dwarves %}
{% for dwarf in dwarves %}
{{ dwarf.name }} {% if dwarf.highlight_role %}{{ dwarf.highlight_role }}{% endif %} {% if not dwarf.is_alive %}Deceased{% endif %}
{% if dwarf.sex == 'male' %}{% elif dwarf.sex == 'female' %}{% endif %} {% set unique_positions = dwarf.noble_positions | reject('equalto', dwarf.profession) | list %} {{ dwarf.profession }}{% if unique_positions %} — {{ unique_positions | join(', ') }}{% endif %} · Age {{ dwarf.age | int }}
{% if dwarf.permanent_injuries %}
{{ dwarf.permanent_injuries | join(', ') }}
{% elif dwarf.notable_traits %}
{{ dwarf.notable_traits }}
{% endif %}
{% endfor %}
{% else %}

No dwarves found. Run storyteller-begin in DFHack to take a snapshot.

{% endif %} {% if visitors %}

{{ visitors | length }} traveler{{ 's' if visitors | length != 1 else '' }} currently at the fortress

{% for v in visitors %}
{% if v.unit_id %} {% endif %}
{{ v.name }}
{{ v.profession }}{% if v.race %} · {{ v.race }}{% endif %} · Age {{ v.age | int }}
{% if v.hfid %}
Details View in Legends
{% endif %}
{% endfor %}
{% endif %} {% if traders %}
Traders ({{ traders | length }})
{% for t in traders %}
{% if t.unit_id %} {% endif %}
{{ t.name }} trader
{{ t.profession }}{% if t.race %} · {{ t.race }}{% endif %} · Age {{ t.age | int }} {% if t.civ_name %} · {{ t.civ_name }}{% endif %}
{% if t.hfid %} {% endif %}
{% endfor %}
{% endif %} {% if total_animals > 0 %}

{{ total_animals }} creature{{ 's' if total_animals != 1 else '' }}

{% if pets_owned %}
Pets ({{ pets_owned | length }})
{% for a in pets_owned %}
{% if a.name %}{{ a.name }}{% else %}{{ a.race }}{% endif %} {% if a.category in ('war', 'hunting') %}{{ a.category }}{% endif %}
{% if a.sex == 'male' %}{% elif a.sex == 'female' %}{% endif %} {% if a.name %}{{ a.race }} · {% endif %} {% if a.profession %}{{ a.profession }} · {% endif %} Age {{ a.age | int }} {% if a.owner_name %} · Owner: {{ a.owner_name }}{% endif %}
{% if a.traits %}
{{ a.traits | join(', ') }}
{% endif %}
{% endfor %}
{% endif %} {% if pets_adoptable %}
Awaiting Owners ({{ pets_adoptable | length }})
{% for a in pets_adoptable %}
{% if a.name %}{{ a.name }}{% else %}{{ a.race }}{% endif %} adoptable
{% if a.sex == 'male' %}{% elif a.sex == 'female' %}{% endif %} {% if a.name %}{{ a.race }} · {% endif %} {% if a.profession %}{{ a.profession }} · {% endif %} Age {{ a.age | int }}
{% if a.traits %}
{{ a.traits | join(', ') }}
{% endif %}
{% endfor %}
{% endif %} {% if livestock %}
Livestock ({{ livestock | length }})
{% for a in livestock %}
{% if a.name %}{{ a.name }}{% else %}{{ a.race }}{% endif %} {% if a.category in ('war', 'hunting') %}{{ a.category }}{% endif %}
{% if a.sex == 'male' %}{% elif a.sex == 'female' %}{% endif %} {% if a.name %}{{ a.race }} · {% endif %} {% if a.profession %}{{ a.profession }} · {% endif %} Age {{ a.age | int }}
{% if a.traits %}
{{ a.traits | join(', ') }}
{% endif %}
{% endfor %}
{% endif %} {% if wild_animals %}
Wild Animals ({{ wild_animals | length }})
{% for a in wild_animals %}
{% if a.name %}{{ a.name }}{% else %}{{ a.race }}{% endif %}
{% if a.sex == 'male' %}{% elif a.sex == 'female' %}{% endif %} {% if a.name %}{{ a.race }} · {% endif %} Age {{ a.age | int }}
{% if a.traits %}
{{ a.traits | join(', ') }}
{% endif %}
{% endfor %}
{% endif %} {% endif %} {% endblock %} {% block scripts %} {% endblock %}