Updated filter refernences

This commit is contained in:
DaanV2
2021-06-03 14:11:45 +02:00
parent 8edda85149
commit 85f00c81cf
217 changed files with 277 additions and 349 deletions

View File

@@ -45,7 +45,7 @@
"description": "Event to run when this entity grows up",
"oneOf": [
{ "type": "string" },
{ "type": "object", "properties": { "event": { "type": "string" }, "target": { "$ref": "../filters/types/base_subject.json" } } }
{ "type": "object", "properties": { "event": { "type": "string" }, "target": { "$ref": "../../filters/filters/types/subject.json" } } }
],
"title": "TODO Title"
}

View File

@@ -11,7 +11,7 @@
"description": "Applies gravity each tick. Causes more of a wave simulation, but will cause more gravity to be applied outside liquids.",
"title": "Apply Gravity"
},
"base_buoyancy": {
"buoyancy": {
"type": "number",
"default": 1,
"description": "Base buoyancy used to calculate how much will a mob float.",

View File

@@ -28,7 +28,7 @@
"properties": {
"filters": { "$ref": "../../filters/filters.json" },
"event": { "type": "string", "pattern": "^.*$", "description": "TODO description: event", "title": "Event" },
"target": { "$ref": "../filters/types/base_subject.json", "description": "TODO description: target", "title": "Target" }
"target": { "$ref": "../../filters/filters/types/subject.json", "description": "TODO description: target", "title": "Target" }
},
"description": "Specifies filters for entity definitions and events.",
"title": "On Damage"

View File

@@ -12,7 +12,7 @@
"properties": {
"filters": { "$ref": "../../filters/filters.json", "description": "The filters to evualate for this environment sensor", "title": "Filters" },
"event": { "type": "string", "pattern": "^.+$", "description": "The event to trigger if the filters are true", "title": "Event" },
"target": { "description": "The target of the event", "$ref": "../filters/types/base_subject.json" }
"target": { "description": "The target of the event", "$ref": "../../filters/filters/types/subject.json" }
}
}
},

View File

@@ -10,7 +10,7 @@
"filters": { "$ref": "../../filters/filters.json", "description": "The list of conditions for this trigger", "title": "TODO Title" },
"target": {
"type": "string",
"$ref": "../filters/types/base_subject.json",
"$ref": "../../filters/filters/types/subject.json",
"default": "self",
"description": "The target of the event",
"title": "TODO Title"

View File

@@ -10,7 +10,7 @@
"filters": { "$ref": "../../filters/filters.json", "description": "The list of conditions for this trigger", "title": "TODO Title" },
"target": {
"type": "string",
"$ref": "../filters/types/base_subject.json",
"$ref": "../../filters/filters/types/subject.json",
"default": "self",
"description": "The target of the event",
"title": "TODO Title"

View File

@@ -10,7 +10,7 @@
"filters": { "$ref": "../../filters/filters.json", "description": "The list of conditions for this trigger", "title": "TODO Title" },
"target": {
"type": "string",
"$ref": "../filters/types/base_subject.json",
"$ref": "../../filters/filters/types/subject.json",
"default": "self",
"description": "The target of the event",
"title": "TODO Title"

View File

@@ -10,7 +10,7 @@
"filters": { "$ref": "../../filters/filters.json", "description": "The list of conditions for this trigger", "title": "TODO Title" },
"target": {
"type": "string",
"$ref": "../filters/types/base_subject.json",
"$ref": "../../filters/filters/types/subject.json",
"default": "self",
"description": "The target of the event",
"title": "TODO Title"

View File

@@ -10,7 +10,7 @@
"filters": { "$ref": "../../filters/filters.json", "description": "The list of conditions for this trigger", "title": "TODO Title" },
"target": {
"type": "string",
"$ref": "../filters/types/base_subject.json",
"$ref": "../../filters/filters/types/subject.json",
"default": "self",
"description": "The target of the event",
"title": "TODO Title"

View File

@@ -10,7 +10,7 @@
"filters": { "$ref": "../../filters/filters.json", "description": "The list of conditions for this trigger", "title": "TODO Title" },
"target": {
"type": "string",
"$ref": "../filters/types/base_subject.json",
"$ref": "../../filters/filters/types/subject.json",
"default": "self",
"description": "The target of the event",
"title": "TODO Title"

View File

@@ -10,7 +10,7 @@
"filters": { "$ref": "../../filters/filters.json", "description": "The list of conditions for this trigger", "title": "TODO Title" },
"target": {
"type": "string",
"$ref": "../filters/types/base_subject.json",
"$ref": "../../filters/filters/types/subject.json",
"default": "self",
"description": "The target of the event",
"title": "TODO Title"

View File

@@ -10,7 +10,7 @@
"filters": { "$ref": "../../filters/filters.json", "description": "The list of conditions for this trigger", "title": "TODO Title" },
"target": {
"type": "string",
"$ref": "../filters/types/base_subject.json",
"$ref": "../../filters/filters/types/subject.json",
"default": "self",
"description": "The target of the event",
"title": "TODO Title"

View File

@@ -10,7 +10,7 @@
"filters": { "$ref": "../../filters/filters.json", "description": "The list of conditions for this trigger", "title": "TODO Title" },
"target": {
"type": "string",
"$ref": "../filters/types/base_subject.json",
"$ref": "../../filters/filters/types/subject.json",
"default": "self",
"description": "The target of the event",
"title": "TODO Title"

View File

@@ -10,7 +10,7 @@
"filters": { "$ref": "../../filters/filters.json", "description": "The list of conditions for this trigger", "title": "TODO Title" },
"target": {
"type": "string",
"$ref": "../filters/types/base_subject.json",
"$ref": "../../filters/filters/types/subject.json",
"default": "self",
"description": "The target of the event",
"title": "TODO Title"

View File

@@ -23,7 +23,7 @@
"value": {
"additionalProperties": false,
"type": "object",
"properties": { "event": { "type": "string" }, "target": { "type": "string", "$ref": "../filters/types/base_subject.json" } }
"properties": { "event": { "type": "string" }, "target": { "type": "string", "$ref": "../../filters/filters/types/subject.json" } }
}
}
},