Source

This page was generated with Wiki Builder. Do not change the format!

Info

Where the sausage gets made. Unlock Expressions are the foundation of the game's gating mechanics and investment-related restrictions. They can test Unlock Flags and Unlock Values for certain states, using a sufficient amount of logical operators such that unlock expressions are effectively Turing complete. Use UnlockExpressionParser to evaluate expressions using an IUnlockContext parsed from Babel.

Schema

  • Schema Type: Definition
  • Type: object

Properties

Name Type Description
scope DestinyGatingScope:Enum A shortcut for determining the most restrictive gating that this expression performs. See the DestinyGatingScope enum's documentation for more details.

Example

{
    // Type: DestinyGatingScope:Enum
    "scope": {}
}

References

  1. https://bungie-net.github.io/multi/schema_Destiny-Definitions-DestinyUnlockExpressionDefinition.html#schema_Destiny-Definitions-DestinyUnlockExpressionDefinition