Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions example_community_patch_settings_en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,8 @@ giftsbulkclaimhooks = true

# Enable Haven help-history ordering hooks.
havenhistoryhooks = true
# Restore native Research actions, currencies and visible rows in Alliance Games Store.
alliancegamesstorehooks = true

# Enable Haven zoom hooks.
havenzoomhooks = true
Expand Down
2 changes: 2 additions & 0 deletions mods/src/config.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1037,6 +1037,8 @@ void Config::Load()
get_config_or_default(config, parsed, "patches", "pinnedshiphooks", DCP::pinnedshiphooks, write_config);
this->installPinnedShipClickToggle = get_config_or_default(config, parsed, "patches", "pinnedshipclicktoggle",
DCP::pinnedshipclicktoggle, write_config);
this->installAllianceGamesStoreHooks = get_config_or_default(
config, parsed, "patches", "alliancegamesstorehooks", DCP::alliancegamesstorehooks, write_config);
this->installHavenHistoryHooks =
get_config_or_default(config, parsed, "patches", "havenhistoryhooks", DCP::havenhistoryhooks, write_config);
spdlog::debug("");
Expand Down
3 changes: 3 additions & 0 deletions mods/src/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -355,4 +355,7 @@ class Config final

// Haven help-history list ordering
bool installHavenHistoryHooks;

// Native Alliance Games store research, currency and purchase refresh
bool installAllianceGamesStoreHooks;
};
1 change: 1 addition & 0 deletions mods/src/defaultconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ namespace Patches
constexpr bool pinnedshipclicktoggle = true; // SHIFT+click a fleet dock ship tile to pin/unpin it
constexpr bool havenhistoryhooks = true; // reverse Haven help history into newest-first order
constexpr bool revealconfirmhooks = true; // auto-confirm the Excelsior Decloaking Deflector popup when enabled in [ui]
constexpr bool alliancegamesstorehooks = true; // repair Alliance Games store research/currency/refresh
} // namespace Patches

namespace Shortcuts
Expand Down
Loading
Loading