Skip to content

Missing tooltips for buildbox, lightsource and revivebox#839

Open
wersal454 wants to merge 5 commits intoAntistasi-Ultimate-Community:unstablefrom
wersal454:patch-486370
Open

Missing tooltips for buildbox, lightsource and revivebox#839
wersal454 wants to merge 5 commits intoAntistasi-Ultimate-Community:unstablefrom
wersal454:patch-486370

Conversation

@wersal454
Copy link
Copy Markdown

What type of PR is this?

  • Bug
  • Change
  • Feature
  • Miscellaneous
Sub-categories:
  • Template
  • Map
  • Config
  • Function
  • Localization

What have you changed, and why?

Information:

Part of the #607, adds missing tooltips for buildbox, lightsource and revivebox

How can your changes be tested, or reproduced?

...

Does this PR include changes not authored by you?

  • No
  • Yes (See below)
Further info:
  • I confirm that I, and by extension this repository, can legally use these third-party changes. (Provide links or author attribution.)

...

Please verify the following (If possible).

* - Mandatory

  • These changes are my own, or I have written permission to use them. *
  • These changes are ready for review, or will be marked as a draft. *
  • I have loaded the mission in LAN host.
  • I have loaded the mission on a dedicated server.

Is further work needed?

  • Needs further testing.
  • Needs further changes.
  • Needs to be converted to a draft.

Please specify which Issue this PR Resolves (If Applicable).

This PR closes #XYZ.


Notes:

...

Signed-off-by: wersal <wroma@bk.ru>
Comment on lines +492 to +515
if (_className isEqualTo "Box_NATO_Support_F") then
{
_itemPic ctrlSetTooltip localize "STR_antistasi_dialogs_buy_vehicle_revivekitbox_tooltip";
};
if (_className isEqualTo "Land_PlasticCase_01_small_black_F") then
{
_itemPic ctrlSetTooltip localize "STR_antistasi_dialogs_buy_vehicle_buildbox_tooltip";
};
if (_className isEqualTo "Land_PlasticCase_01_medium_black_F") then
{
_itemPic ctrlSetTooltip localize "STR_antistasi_dialogs_buy_vehicle_buildbox_tooltip";
};
if (_className isEqualTo "A3AU_Build_Box_Large_1") then
{
_itemPic ctrlSetTooltip localize "STR_antistasi_dialogs_buy_vehicle_buildbox_tooltip";
};
if (_className isEqualTo "Land_PlasticCase_01_large_black_F") then
{
_itemPic ctrlSetTooltip localize "STR_antistasi_dialogs_buy_vehicle_buildbox_tooltip";
};
if (_className isEqualTo "A3AU_Build_Box_Humongous") then
{
_itemPic ctrlSetTooltip localize "STR_antistasi_dialogs_buy_vehicle_buildbox_tooltip";
};
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add this as a new property in their config definition and read it out here with a single line instead.

@wersal454 wersal454 requested a review from UnseenKill March 14, 2026 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants