Add tooltips for building buttons and module selection buttons

This commit is contained in:
2026-07-12 21:21:14 +02:00
parent 69f655d179
commit 177809fe1a
11 changed files with 77 additions and 2 deletions

View File

@@ -23,6 +23,9 @@ struct BuildingDef
// Output-buffer holding size for buildings without a recipe-driven buffer.
// Only the Salvage Bay sets this (REQ-BLD-SALVAGE-BAY).
std::optional<int> outputBufferCapacity;
// Optional hover-tooltip text for the build button (REQ-UI-BUILD-TOOLTIP).
std::optional<std::string> tooltip;
};
struct BuildingsConfig