From 228397d01105480d898af5b4d6da9d71b486ad9f Mon Sep 17 00:00:00 2001 From: Ferywir <65760459+Ferywir@users.noreply.github.com> Date: Mon, 22 Jun 2026 12:40:59 +0200 Subject: [PATCH] feature(rally-point): bold the "?" for incoming stacks below rally point level [#249] (#251) On the rally point incoming tab, the number of an incoming unit type is never revealed: it is always shown as a "?". When that stack is smaller than the defender's rally point (gid 16) level, the "?" is rendered in solid black bold, matching original Travian behaviour (e.g. rally point level 20 and an incoming 19 praetorians shows a bold "?"). The eyesight artifact still reveals which troop types are present (0 for the absent ones). Scope: village attacks/raids only. Co-authored-by: Claude Opus 4.8 --- Templates/Build/16_incomming.tpl | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/Templates/Build/16_incomming.tpl b/Templates/Build/16_incomming.tpl index 69f49b27..d743b60f 100644 --- a/Templates/Build/16_incomming.tpl +++ b/Templates/Build/16_incomming.tpl @@ -6,6 +6,10 @@ include_once 'GameEngine/Data/unitdata.php'; $units = $database->getMovement(34, $village->wid, 1); $artifactsSum = $database->getArtifactsSumByKind($session->uid, $village->wid, 3); +// Rally-point indicator (issue #249): the incoming count is never revealed; an +// incoming unit type whose stack is smaller than this village's rally point +// (gid 16) level is flagged with a bold "?" instead of a plain one. +$rpLevel = (int) $database->getFieldLevelInVillage($village->wid, 16); ?>