Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conditionally Load Compats #743

Merged
merged 2 commits into from
Nov 17, 2023
Merged

Conditionally Load Compats #743

merged 2 commits into from
Nov 17, 2023

Conversation

Mike-MF
Copy link
Contributor

@Mike-MF Mike-MF commented Sep 8, 2023

When merged this pull request will:

  • Uses skipWhenMissingDependencies to conditionally load compats from requiredAddons
  • Merges ACE/Advanced Rappelling compats into main addons
  • Adds Advanced Rappelling requiredAddon

@mharis001 mharis001 added the enhancement Improves an existing feature label Sep 9, 2023
@mharis001 mharis001 added this to the 1.15.0 milestone Sep 9, 2023
@Kexanone
Copy link
Member

Kexanone commented Sep 9, 2023

One disadvantage is that this approach won't work when Advanced Rappelling is only present as a server side mod, but I would say that is a small price to pay for getting rid of compats.

@mharis001 mharis001 added the 2.14 Arma 3 2.14 label Oct 2, 2023
@mharis001
Copy link
Member

Because the Advanced Rappelling compat only adds the waypoint and the waypoint's condition will prevent it from being shown when the mod is not loaded, we do not need to use skipWhenMissingDependencies for it. This should allow us to support the situation where the Advanced Rappelling mod is loaded only as a server side mod.

@Kexanone
Copy link
Member

Kexanone commented Oct 3, 2023

lgtm, just needs to be tested. I can have a look on my test server when I got time.

@mharis001 mharis001 merged commit 88c193d into zen-mod:master Nov 17, 2023
2 checks passed
@Mike-MF Mike-MF deleted the conditional-compats branch November 17, 2023 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.14 Arma 3 2.14 enhancement Improves an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants