{% if not sim and not strfm %}
No data loaded. Open PARTS.INI or SCRIPT.DAT first.
{% else %}
{% if sim %}
Current part {{ sim.curr_part }} chapter {{ sim.curr_chap }}
Resources: {{ sim.res|length }}
Objects: {{ sim.objects|length }}
Scenes: {{ sim.scenes|length }}
Names: {{ sim.invntr|length }}
Invntr: {{ sim.invntr|length }}
Casts: {{ sim.casts|length }}
Messages: {{ sim.msgs|length }}
Dialog groups: {{ sim.dlgs|length }}
Opened stores: {{ strfm.strfd|length }}
Files: {{ strfm.strtable|length }}
Start scene: {% set scnfnd = [] %}
{% for scn in sim.scenes %}
{% if not scnfnd and scn.name == sim.start_scene %}
{{ scn.idx|fmt_scene(True) }}{% do scnfnd.append(True) %}
{% endif %}
{% endfor %}
{% if not scnfnd %}{{ sim.start_scene }}{% endif %}
Opcodes
Dialog opcodes
{% elif strfm %}
Single store mode
Opened stores: {{ strfm.strfd|length }}
Files: {{ strfm.strtable|length }}
{% endif %}
{% endif %}
{% if save %}
Save
{% endif %}