Upgrade NPC admin editor selectors and add dialog tree admin UI

This commit is contained in:
dingo
2026-02-14 01:31:05 -05:00
parent 0e71d64baa
commit 4ba5a1040b
8 changed files with 1157 additions and 29 deletions
+9 -6
View File
@@ -10,12 +10,15 @@
<h1 class="text-3xl font-bold text-white">NPCs</h1>
<p class="text-gray-400 mt-1">Manage NPC definitions, stats, behavior, and interactions</p>
</div>
<a href="/admin/npcs/edit" class="btn btn-primary flex items-center gap-2">
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 4v16m8-8H4"/>
</svg>
Create NPC
</a>
<div class="flex items-center gap-2">
<a href="/admin/npcs/dialogtrees" class="btn btn-secondary">Dialog Trees</a>
<a href="/admin/npcs/edit" class="btn btn-primary flex items-center gap-2">
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 4v16m8-8H4"/>
</svg>
Create NPC
</a>
</div>
</div>
<div class="card p-4">