From 4b2fe6d55100faf3d879c9fdfca342ec63ecc505 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Wed, 11 Jun 2025 20:41:31 -0400 Subject: [PATCH] More data plus example flavour text UI --- .../Entity/Parts/EntityHeaderComponent.razor | 11 + .../Entity/Parts/EntityInfoComponent.razor | 15 +- Model/Entity/Data/DATA.cs | 460 ++++++++---------- Model/Entity/Data/Ids_Entity.cs | 59 ++- Model/Entity/Types/DescriptiveType.cs | 9 +- 5 files changed, 263 insertions(+), 291 deletions(-) diff --git a/IGP/Pages/Database/Entity/Parts/EntityHeaderComponent.razor b/IGP/Pages/Database/Entity/Parts/EntityHeaderComponent.razor index ff68569..da12eac 100644 --- a/IGP/Pages/Database/Entity/Parts/EntityHeaderComponent.razor +++ b/IGP/Pages/Database/Entity/Parts/EntityHeaderComponent.razor @@ -23,6 +23,17 @@ else } + + +
+ @if (Entity.Info().FlavorText != "") + { +
+ @((MarkupString)Entity.Info().FlavorText) +
+ } + +