Quickfacts

* where applicable:
   - show typeId
   - show english name if currently localized
   - show percentage attained by synced profiles
 * fixed some typos
This commit is contained in:
Sarjuuk
2025-10-03 00:47:57 +02:00
parent bc112b2b16
commit 60eb816002
38 changed files with 462 additions and 23 deletions

View File

@@ -194,6 +194,13 @@ class NpcBaseResponse extends TemplateResponse implements ICache
if ($this->subject->getField('npcflag') & (NPC_FLAG_SPIRIT_HEALER | NPC_FLAG_SPIRIT_GUIDE))
$infobox[] = Lang::npc('extraFlags', CREATURE_FLAG_EXTRA_GHOST_VISIBILITY);
// id
$infobox[] = Lang::npc('id') . $this->typeId;
// original name
if (Lang::getLocale() != Locale::EN)
$infobox[] = Util::ucFirst(Lang::lang(Locale::EN->value) . Lang::main('colon')) . '[copy button=false]'.$this->subject->getField('name_loc0').'[/copy][/li]';
if (User::isInGroup(U_GROUP_EMPLOYEE))
{
// AI