@page "/admin/npcs" @model Npcs.IndexModel @{ ViewData["Title"] = "NPCs"; }
Manage NPC definitions, stats, behavior, and interactions
| ID | Name | Level | Behavior | Killable | Shop | Dialog | Enabled | Actions |
|---|---|---|---|---|---|---|---|---|
| @npc.Id |
@npc.Name
@npc.Key
|
@npc.Level | @npc.BehaviorMode | @(npc.IsKillable ? "Yes" : "No") | @(npc.ShopId.HasValue ? "Yes" : "No") | @(npc.DialogTreeId.HasValue ? "Yes" : "No") | @if (npc.IsEnabled) { } else { } | |
| No NPCs found. Create one? | ||||||||