Skip to content

[FEATURE] Hybrid Requirement #9

@HSGamer

Description

@HSGamer

Type

Plugin

Specific

Requirement

Content

I'm thinking of a new Requirement Type that combines multiple Requirement Set and adds more logic to them.

The logic includes:

  • Minimum Requirement: The plugin would check if there are an amount of Requirement Set equal or higher than the minimum value.
  • Success Only: If a set of Requirement Set are met, only successful ones will be executed. Otherwise, all sets are executed regardless of the success status.
  • Optional Requirement: When a set of Requirement Set are met, If a set is marked as optional, its actions will not be executed.

The format would look like

hybrid:
  success-only: <true/false>
  minimum: 1
  
  <requirement-set1>:
    requirement1: value1
    requirement2: value2
    requirement3: value3
    
    optional: <true/false>
  
  <requirement-set2>:
    requirement1: value1
    requirement2: value2
    requirement3: value3
    
    optional: <true/false>
  
  <requirement-set2>:
    requirement1: value1
    requirement2: value2
    requirement3: value3
    
    optional: <true/false>

Alternative

No response

Screenshots & Links

A similar implementation on DeluxeMenus: https://wiki.helpch.at/clips-plugins/deluxemenus/options-and-configurations/requirements

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions