Skip to main content

Or Condition

Condition type: modonomicon:or

This condition will be met, if at least one of the conditions in the children array is met. Can be chained with modonomicon:and to create complex unlock logic.

Attributes

children (Condition[], mandatory)

The conditions that need to be met alternatively to unlock this entry.

Usage Examples

<my-entry>.json

{
...
"condition": {
"type": "modonomicon:or",
"children": [
{
"type": "modonomicon:advancement",
"advancement_id": "occultism:occultism/craft_dimensional_matrix"
},
{
"type": "modonomicon:entry_unlocked",
"entry_id": "modonomicon:features/condition_root"
}
]
},
...
}