fix(trol): Grab Log works on the game's Use button, gamepad included

A log carries only vanilla's HoverText, which is not an Interactable, so
the game's Use on a log did nothing. Grab Log was read off the keyboard
alone (and the radial menu), and a gamepad had no button for it.

A prefix on Player.Interact grabs the log for a True Form Trol at tier
7+, the way the Aswid's Dominate rides the same button. The Grab Log key
still works on top of it, with a short debounce so the two readers of an
E press grab once. The hover prompt now shows the Use key, which resolves
to the pad's own button.
This commit is contained in:
kanym 2026-10-29 01:53:32 +01:00
commit 4862f47e73
5 changed files with 44 additions and 6 deletions

View file

@ -45,7 +45,7 @@
"rov_hover_trenta_ready_empty": "готово: $1 $2\n[<color=yellow><b>$KEY_Use</b></color>] Опустошить",
"rov_hover_trenta_rotting_minutes_left": "гниет, осталось $1 мин",
"rov_hover_trol_call_warbands": "\n[<color=yellow><b>$KEY_Use</b></color>] Созвать боевые дружины",
"rov_hover_trol_grab_log": "\n[<color=yellow><b>$1</b></color>] Взять бревно",
"rov_hover_trol_grab_log": "\n[<color=yellow><b>$KEY_Use</b></color>] Взять бревно",
"rov_hover_trol_warbands": "дружины $1/$2",
"rov_hover_trol_yagluth_drop_hand_buys_king": "\n(трофей Яглута в руке позволит насадить голову конунга и нанять еще две дружины)",
"rov_hover_ward_personal": "Личный",