Skip to content

Commit

Permalink
Fixing reference to TriggerLike (#221)
Browse files Browse the repository at this point in the history
* Fixing reference to TriggerLike

* Fixing ButtonModel
  • Loading branch information
joshuaskelly authored Mar 19, 2021
1 parent 20622c0 commit 5d88393
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions jsonschema/current/Interfaces.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,9 @@
{"$ref": "dungeoneer/entities/projectiles/Projectile.schema.json"},
{"$ref": "dungeoneer/entities/triggers/BasicTrigger.schema.json"},
{"$ref": "dungeoneer/entities/triggers/ButtonModel.schema.json"},
{"$ref": "dungeoneer/entities/triggers/ButtonDecal.schema.json"},
{"$ref": "dungeoneer/entities/triggers/ConditionalTrigger.schema.json"},
{"$ref": "dungeoneer/entities/triggers/DamageTrigger.schema.json"},
{"$ref": "dungeoneer/entities/triggers/LevelSwap.schema.json"},
{"$ref": "dungeoneer/entities/triggers/LookAtTrigger.schema.json"},
{"$ref": "dungeoneer/entities/triggers/Trigger.schema.json"},
{"$ref": "Interfaces.schema.json#/definitions/TriggerLike"},
{"$ref": "Interfaces.schema.json#/definitions/ActorLike"},
{"$ref": "Interfaces.schema.json#/definitions/AreaLike"},
{"$ref": "Interfaces.schema.json#/definitions/ItemLike"},
Expand Down Expand Up @@ -97,6 +94,14 @@
"oneOf": [
{"$ref": "dungeoneer/statuseffects/StatusEffect.schema.json" }
]
},
"TriggerLike": {
"oneOf": [
{"$ref": "dungeoneer/entities/triggers/ButtonDecal.schema.json"},
{"$ref": "dungeoneer/entities/triggers/ConditionalTrigger.schema.json"},
{"$ref": "dungeoneer/entities/triggers/LevelSwap.schema.json"},
{"$ref": "dungeoneer/entities/triggers/Trigger.schema.json"}
]
}
}
}

0 comments on commit 5d88393

Please sign in to comment.