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

Programmatically check perk preconditions #71

Open
Phil25 opened this issue Nov 28, 2023 · 0 comments
Open

Programmatically check perk preconditions #71

Phil25 opened this issue Nov 28, 2023 · 0 comments
Labels
request :: api Requesting API functionality request :: general New feature or request
Milestone

Comments

@Phil25
Copy link
Owner

Phil25 commented Nov 28, 2023

Current way of checking perk preconditions is by specifying which classes or weapons it's available for through the config. This greatly limits perk variety because it's impossible to determine whether a a perk is accessible in many different cases, for example:

  • when the player does not have a weapon using ammo (Infinite/Extra Ammo is available to Demoknights),
  • when the player has or has no buildings built (there cannot exist a perk which does something to them),
  • when the player is confined within too small an area (there cannot exist a perk which enlarges the player),
  • and many more.

Furthermore, editing available classes or weapons through a config can be removed. This means server operators will no longer be able to change them without updating perk's code, use case of which is minuscule, if existent at all.

@Phil25 Phil25 added this to the 3.0.0 milestone Nov 28, 2023
@Phil25 Phil25 added request :: general New feature or request request :: api Requesting API functionality labels Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request :: api Requesting API functionality request :: general New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant