Updated filter reference
This commit is contained in:
@@ -94,7 +94,11 @@
|
||||
"maximum": 1.0,
|
||||
"title": "Extra Baby Chance"
|
||||
},
|
||||
"love_filters": { "$ref": "../filters.json", "description": "The filters to run when attempting to fall in love.", "title": "Love Filters" },
|
||||
"love_filters": {
|
||||
"$ref": "../../filters/filters.json",
|
||||
"description": "The filters to run when attempting to fall in love.",
|
||||
"title": "Love Filters"
|
||||
},
|
||||
"mutation_factor": {
|
||||
"type": "object",
|
||||
"description": "Determines how likely the babies are to NOT inherit one of their parent's variances. Values are between 0.0 and 1.0, with a higher number meaning more likely to mutate.",
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
"description": "Specifies filters for entity definitions and events.",
|
||||
"title": "On Damage",
|
||||
"properties": {
|
||||
"filters": { "$ref": "../filters.json" },
|
||||
"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" }
|
||||
},
|
||||
|
||||
@@ -49,13 +49,13 @@
|
||||
"properties": {
|
||||
"add": { "$ref": "#/definitions/addremove", "description": "What gets added when the event gets triggered", "title": "Add" },
|
||||
"remove": { "$ref": "#/definitions/addremove", "description": "What gets removed when the event gets triggered", "title": "Remove" },
|
||||
"filters": { "$ref": "./filters.json" }
|
||||
"filters": { "$ref": "./../filters/filters.json" }
|
||||
}
|
||||
},
|
||||
"description": "A series of filters and components to be added",
|
||||
"title": "Sequences"
|
||||
},
|
||||
"filters": { "$ref": "./filters.json" },
|
||||
"filters": { "$ref": "./../filters/filters.json" },
|
||||
"trigger": { "type": "string", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"title": "Entity Type",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"filters": { "type": "object", "$ref": "../filters.json" },
|
||||
"filters": { "type": "object", "$ref": "../../filters/filters.json" },
|
||||
"max_dist": {
|
||||
"type": "number",
|
||||
"description": "Maximum distance this mob can be away to be a valid choice",
|
||||
|
||||
@@ -6,7 +6,11 @@
|
||||
"minProperties": 1,
|
||||
"properties": {
|
||||
"event": { "type": "string", "description": "Event", "title": "Event To Fire" },
|
||||
"filters": { "$ref": "../filters.json", "description": "The filters to check to determine if the event should be fired", "title": "Filters" },
|
||||
"filters": {
|
||||
"$ref": "../../filters/filters.json",
|
||||
"description": "The filters to check to determine if the event should be fired",
|
||||
"title": "Filters"
|
||||
},
|
||||
"target": { "$ref": "../filters/types/base_subject.json", "description": "The entity to target", "title": "Target" }
|
||||
},
|
||||
"additionalProperties": false
|
||||
|
||||
Reference in New Issue
Block a user