Updated filter reference
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
"title": "Broadcast Anger"
|
||||
},
|
||||
"broadcast_filters": {
|
||||
"$ref": "../filters.json",
|
||||
"$ref": "../../filters/filters.json",
|
||||
"description": "Conditions that make this entry in the list valid",
|
||||
"title": "Broadcast Filters"
|
||||
},
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
"description": "How close a hostile entity must be to have the damage applied.",
|
||||
"title": "Damage Range"
|
||||
},
|
||||
"entity_filter": { "$ref": "../filters.json", "description": "Entity_filter", "title": "Filter" },
|
||||
"entity_filter": { "$ref": "../../filters/filters.json", "description": "Entity_filter", "title": "Filter" },
|
||||
"cause": { "type": "string", "description": "TODO", "title": "Cause", "$ref": "../../../../general/entity/damage_source.json" }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -117,7 +117,11 @@
|
||||
"default": true,
|
||||
"title": "Inherit Tamed"
|
||||
},
|
||||
"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.",
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"title": "Broadcast"
|
||||
},
|
||||
"celeberation_targets": {
|
||||
"$ref": "../filters.json",
|
||||
"$ref": "../../filters/filters.json",
|
||||
"description": "The list of conditions that target of hunt must satisfy to initiate celebration.",
|
||||
"title": "Celeberation Targets"
|
||||
},
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
"title": "Conditional Values",
|
||||
"description": "Conditions that must be met for these optimization values to be used.",
|
||||
"type": "array",
|
||||
"items": { "$ref": "../filters.json" }
|
||||
"items": { "$ref": "../../filters/filters.json" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"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" }
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"required": [],
|
||||
"properties": {
|
||||
"filters": {
|
||||
"$ref": "../filters.json",
|
||||
"$ref": "../../filters/filters.json",
|
||||
"description": "The list of conditions that must be satisfied before the Actor is despawned",
|
||||
"title": "Filters"
|
||||
},
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
"description": "The maximum distance another entity can be from this and have the filters checked against it.",
|
||||
"title": "Sensor Range"
|
||||
},
|
||||
"event_filters": { "$ref": "../filters.json" },
|
||||
"event_filters": { "$ref": "../../filters/filters.json" },
|
||||
"event": { "title": "Event", "description": "event", "type": "string" }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"description": "TODO description: on environement",
|
||||
"title": "On Environement",
|
||||
"properties": {
|
||||
"filters": { "$ref": "../filters.json", "description": "The filters to evualate for this environment sensor", "title": "Filters" },
|
||||
"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" }
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"filters": {
|
||||
"$ref": "../filters.json",
|
||||
"$ref": "../../filters/filters.json",
|
||||
"description": "The list of conditions that must be satisfied for other entities to be counted towards group size.",
|
||||
"title": "Filters"
|
||||
},
|
||||
|
||||
@@ -6,7 +6,11 @@
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"filters": { "$ref": "../filters.json", "description": "The filter group that defines the conditions for this trigger", "title": "Filters" },
|
||||
"filters": {
|
||||
"$ref": "../../filters/filters.json",
|
||||
"description": "The filter group that defines the conditions for this trigger",
|
||||
"title": "Filters"
|
||||
},
|
||||
"force_use": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
@@ -20,7 +24,7 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"filters": {
|
||||
"$ref": "../filters.json",
|
||||
"$ref": "../../filters/filters.json",
|
||||
"description": "The filter group that defines the conditions for using this item to heal the entity"
|
||||
},
|
||||
"heal_amount": { "type": "integer", "default": 1, "description": "The amount of health this entity gains when fed this item" },
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"description": "TODO",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"filters": { "$ref": "../filters.json" },
|
||||
"filters": { "$ref": "../../filters/filters.json" },
|
||||
"cause": { "type": "string", "title": "Cause", "description": "Damage cause", "$ref": "../../../../general/entity/damage_source.json" },
|
||||
"damage_per_tick": { "type": "integer", "title": "Damage Per Tick", "description": "TODO" }
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"filters": { "$ref": "../filters.json", "description": "Defines the entities that can trigger this component", "title": "TODO Title" },
|
||||
"filters": { "$ref": "../../filters/filters.json", "description": "Defines the entities that can trigger this component", "title": "TODO Title" },
|
||||
"look_cooldown": {
|
||||
"$ref": "../types/range_number_type.json",
|
||||
"default": [0.0, 0.0],
|
||||
|
||||
@@ -18,6 +18,6 @@
|
||||
"description": "The mob effect that is applied to entities that enter this entities effect range.",
|
||||
"title": "Mob Effect"
|
||||
},
|
||||
"entity_filter": { "$ref": "../filters.json", "title": "Entity Filter", "description": "TODO" }
|
||||
"entity_filter": { "$ref": "../../filters/filters.json", "title": "Entity Filter", "description": "TODO" }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"required": [],
|
||||
"properties": {
|
||||
"event": { "type": "string", "description": "The event to run when the conditions for this trigger are met", "title": "TODO Title" },
|
||||
"filters": { "$ref": "../filters.json", "description": "The list of conditions for this trigger", "title": "TODO Title" },
|
||||
"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",
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"required": [],
|
||||
"properties": {
|
||||
"event": { "type": "string", "description": "The event to run when the conditions for this trigger are met", "title": "TODO Title" },
|
||||
"filters": { "$ref": "../filters.json", "description": "The list of conditions for this trigger", "title": "TODO Title" },
|
||||
"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",
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"required": [],
|
||||
"properties": {
|
||||
"event": { "type": "string", "description": "The event to run when the conditions for this trigger are met", "title": "TODO Title" },
|
||||
"filters": { "$ref": "../filters.json", "description": "The list of conditions for this trigger", "title": "TODO Title" },
|
||||
"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",
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"required": [],
|
||||
"properties": {
|
||||
"event": { "type": "string", "description": "The event to run when the conditions for this trigger are met", "title": "TODO Title" },
|
||||
"filters": { "$ref": "../filters.json", "description": "The list of conditions for this trigger", "title": "TODO Title" },
|
||||
"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",
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"required": [],
|
||||
"properties": {
|
||||
"event": { "type": "string", "description": "The event to run when the conditions for this trigger are met", "title": "TODO Title" },
|
||||
"filters": { "$ref": "../filters.json", "description": "The list of conditions for this trigger", "title": "TODO Title" },
|
||||
"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",
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"required": [],
|
||||
"properties": {
|
||||
"event": { "type": "string", "description": "The event to run when the conditions for this trigger are met", "title": "TODO Title" },
|
||||
"filters": { "$ref": "../filters.json", "description": "The list of conditions for this trigger", "title": "TODO Title" },
|
||||
"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",
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"required": [],
|
||||
"properties": {
|
||||
"event": { "type": "string", "description": "The event to run when the conditions for this trigger are met", "title": "TODO Title" },
|
||||
"filters": { "$ref": "../filters.json", "description": "The list of conditions for this trigger", "title": "TODO Title" },
|
||||
"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",
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"required": [],
|
||||
"properties": {
|
||||
"event": { "type": "string", "description": "The event to run when the conditions for this trigger are met", "title": "TODO Title" },
|
||||
"filters": { "$ref": "../filters.json", "description": "The list of conditions for this trigger", "title": "TODO Title" },
|
||||
"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",
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"required": [],
|
||||
"properties": {
|
||||
"event": { "type": "string", "description": "The event to run when the conditions for this trigger are met", "title": "TODO Title" },
|
||||
"filters": { "$ref": "../filters.json", "description": "The list of conditions for this trigger", "title": "TODO Title" },
|
||||
"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",
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"required": [],
|
||||
"properties": {
|
||||
"event": { "type": "string", "description": "The event to run when the conditions for this trigger are met", "title": "TODO Title" },
|
||||
"filters": { "$ref": "../filters.json", "description": "The list of conditions for this trigger", "title": "TODO Title" },
|
||||
"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",
|
||||
|
||||
@@ -15,7 +15,11 @@
|
||||
"title": "TODO Title"
|
||||
},
|
||||
"destroyOnHurt": { "type": "boolean", "default": false, "description": "If true, this entity will be destroyed when hit", "title": "TODO Title" },
|
||||
"filter": { "$ref": "../filters.json", "description": "Entity Definitions defined here can't be hurt by the projectile", "title": "TODO Title" },
|
||||
"filter": {
|
||||
"$ref": "../../filters/filters.json",
|
||||
"description": "Entity Definitions defined here can't be hurt by the projectile",
|
||||
"title": "TODO Title"
|
||||
},
|
||||
"fireAffectedByGriefing": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
},
|
||||
"filters": {
|
||||
"description": "If present, the specified entity will only spawn if the filter evaluates to true",
|
||||
"$ref": "../filters.json",
|
||||
"$ref": "../../filters/filters.json",
|
||||
"title": "TODO Title"
|
||||
},
|
||||
"single_use": {
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
"title": "Block Type"
|
||||
},
|
||||
"spawn_filter": {
|
||||
"$ref": "../filters.json",
|
||||
"$ref": "../../filters/filters.json",
|
||||
"description": "One or more conditions that must be met in order to cause the chosen block type to spawn.",
|
||||
"title": "Spawn Filter"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user