Add a UI indicator for bot players.

This commit is contained in:
Matthias Mailänder
2024-07-26 19:42:38 +02:00
committed by Gustas
parent 9761a68cd4
commit c24913ea24
24 changed files with 82 additions and 9 deletions

View File

@@ -408,6 +408,7 @@ lobby-bits:
admin-anonymous: 802, 51, 16, 16
player-registered: 785, 51, 16, 16
player-anonymous: 819, 51, 16, 16
bot: 938, 51, 16, 16
reload-icon:
Inherits: ^Chrome

View File

@@ -412,6 +412,20 @@ Background@LATENCY_TOOLTIP:
Height: 23
Font: Bold
Background@BOT_TOOLTIP:
Logic: BotTooltipLogic
Background: panel-black
Height: 30
Width: 300
Children:
Label@NAME:
X: 5
Y: 2
Text: label-bot-player-tooltip-name
Width: 290
Height: 24
Font: Bold
Background@ANONYMOUS_PLAYER_TOOLTIP:
Logic: AnonymousProfileTooltipLogic
Background: panel-black

View File

@@ -696,5 +696,7 @@ button-settings-panel-reset = Reset
## tooltips.yaml
label-latency-tooltip-prefix = Latency:
label-anonymous-player-tooltip-name = Anonymous Player
label-bot-player-tooltip-name = Bot
label-bot-managed-by-tooltip = Bot managed by { $name }
label-game-admin = Game Admin

Binary file not shown.

Before

Width:  |  Height:  |  Size: 406 KiB

After

Width:  |  Height:  |  Size: 415 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1019 KiB

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 166 KiB

After

Width:  |  Height:  |  Size: 170 KiB