{# Character Panel - Left sidebar Displays character stats, resource bars, and action buttons #}
{# Character Header #}
{{ character.name }}
{{ character.class_name }} Level {{ character.level }}
{% include 'components/usage_display.html' %}
{# Resource Bars #}
{# HP Bar #}
HP {{ character.current_hp }} / {{ character.max_hp }}
{% set hp_percent = (character.current_hp / character.max_hp * 100)|int %}
{# MP Bar #}
MP {{ character.current_mp }} / {{ character.max_mp }}
{% set mp_percent = (character.current_mp / character.max_mp * 100)|int %}
{# Stats Accordion (Collapsed by default) #} {# Quick Actions (Inventory, Equipment, Skills, NPC, Travel) #}
{# Inventory - Opens modal #} {# Equipment & Gear - Opens modal #} {# Shop - Opens shop modal #} {# Skill Trees - Direct link to skills page #} 🌱 Skill Trees {% set skill_pts = character.available_skill_points|default(character.level - (character.unlocked_skills|default([])|length), true) %} {% if skill_pts > 0 %} ({{ skill_pts }} pts) {% endif %} {# Talk to NPC - Opens NPC accordion #} {# Travel - Opens modal #} {# Search for Monsters - Opens modal with encounter options #}
{# Actions Section #}
Actions
{# Free Tier Actions #}
Free Actions
{% for action in actions.free %} {% set available = action.context == ['any'] or location.location_type in action.context %} {% endfor %}
{# Premium Tier Actions #}
Premium Actions
{% for action in actions.premium %} {% set available = action.context == ['any'] or location.location_type in action.context %} {% set locked = user_tier not in ['premium', 'elite'] %} {% endfor %}
{# Elite Tier Actions #}
Elite Actions
{% for action in actions.elite %} {% set available = action.context == ['any'] or location.location_type in action.context %} {% set locked = user_tier != 'elite' %} {% endfor %}