@page "/admin/recipes" @model Recipes.IndexModel @using DataServer.Data.Entities @{ ViewData["Title"] = "Recipes"; } @Html.AntiForgeryToken()
Manage crafting recipes
| ID | Recipe | Output | Skill | Lvl | Ingredients | Base | Enabled | Actions |
|---|---|---|---|---|---|---|---|---|
| @recipe.Id |
@recipe.Name
@if (!string.IsNullOrEmpty(recipe.Description))
{
@recipe.Description } |
@if (recipe.OutputItem != null)
{
@if (!string.IsNullOrEmpty(recipe.OutputItem.SpritePath))
{
}
else
{
Missing Item #@recipe.OutputItemDefinitionId
}
@recipe.OutputItem.Name
@if (recipe.OutputQuantity > 1)
{
x@recipe.OutputQuantity
}
|
@recipe.SkillType | @recipe.RequiredLevel | @recipe.Ingredients.Count | @if (recipe.IsBaseRecipe) { ✓ } else { - } | @if (recipe.IsEnabled) { } else { } | |
| No recipes found. Create one? | ||||||||