{% extends "base.html" %} {% block title %}Story Session - Dev Tools{% endblock %} {% block extra_head %} {% endblock %} {% block content %}
DEV MODE - Session {{ session_id[:8] }}...

Session State

Session ID
{{ session_id[:12] }}...
Turn
{{ session.turn_number }}
Location
{{ session.game_state.current_location }}
Type
{{ session.game_state.location_type }}
Active Quests
{{ session.game_state.active_quests|length }}

NPCs Here

{% if npcs_present %} {% for npc in npcs_present %}
{{ npc.name }}
{{ npc.role }}
{% endfor %} {% else %}

No one here to talk to.

{% endif %}
← Back to Sessions

Story Gameplay

{% if history %} {{ history[-1].dm_response if history else 'Take an action to begin your adventure...' }} {% else %} Take an action to begin your adventure... {% endif %}
{% if session.available_actions %} {% for action in session.available_actions %} {% endfor %} {% else %}

No actions available for your tier/location. Try changing location or upgrading tier.

{% endif %}
[+] Debug Info (click to toggle)

History

{% if history %} {% for entry in history|reverse %}
Turn {{ entry.turn }}
{{ entry.action }}
{{ entry.dm_response[:150] }}{% if entry.dm_response|length > 150 %}...{% endif %}
{% endfor %} {% else %}

No history yet.

{% endif %}
{% endblock %}