This commit is contained in:
DaanV2
2021-02-10 02:02:46 +01:00
parent 178be36f29
commit 9a2f8790c5
6 changed files with 41 additions and 36 deletions

View File

@@ -113,9 +113,7 @@
"type": "array",
"description": "Events, commands or transitions to preform on entry of this state",
"title": "On entry",
"items": {
"$ref": "#/definitions/commands"
}
"items": { "$ref": "#/definitions/commands" }
},
"on_exit": {
"type": "array",

View File

@@ -93,10 +93,7 @@
},
"additionalProperties": {
"oneOf": [
{
"type": "string",
"$ref": "#/definitions/commands"
},
{ "type": "string", "$ref": "#/definitions/commands" },
{
"type": "array",
"title": "Collection timelime items",

View File

@@ -47,7 +47,8 @@
"pre_effect_script": {
"type": "string",
"title": "Pre effect script",
"description": "A molang script that will be run when the particle emitter is initialized"
"description": "A molang script that will be run when the particle emitter is initialized",
"pattern": "^.+;$"
}
}
},
@@ -197,6 +198,18 @@
}
}
}
},
"on_entry": {
"title": "On Entry",
"description": "UNDOCUMENTATED",
"type": "array",
"items": { "pattern": "^.+=.+;$", "title": "Molang", "description": "UNDOCUMENTATED", "type": "string" }
},
"on_exit": {
"title": "On Exit",
"description": "UNDOCUMENTATED",
"type": "array",
"items": { "pattern": "^.+=.+;$", "title": "Molang", "description": "UNDOCUMENTATED", "type": "string" }
}
}
}

View File

@@ -47,7 +47,8 @@
"pre_effect_script": {
"type": "string",
"title": "Pre effect script",
"description": "A molang script that will be run when the particle emitter is initialized"
"description": "A molang script that will be run when the particle emitter is initialized",
"pattern": "^.+;$"
}
}
},
@@ -179,6 +180,18 @@
}
}
}
},
"on_entry": {
"title": "On Entry",
"description": "UNDOCUMENTATED",
"type": "array",
"items": { "pattern": "^.+;$", "title": "Molang", "description": "UNDOCUMENTATED", "type": "string" }
},
"on_exit": {
"title": "On Exit",
"description": "UNDOCUMENTATED",
"type": "array",
"items": { "pattern": "^.+;$", "title": "Molang", "description": "UNDOCUMENTATED", "type": "string" }
}
}
}

View File

@@ -309,6 +309,7 @@
}
]
},
"override_previous_animation": {
"title": "Override previous animation",
"description": "Reset bones in this animation to the default pose before applying this animation.",

View File

@@ -317,33 +317,16 @@
"particle_effects": {
"title": "Particle effects",
"description": "TODO",
"oneOf": [
{
"$ref": "#/definitions/ParticleEffect"
},
{
"type": "object",
"propertyNames": {
"pattern": "^[\\d.]+$"
},
"additionalProperties": {
"title": "Timeline object",
"description": "A single point in time",
"oneOf": [
{
"type": "object",
"$ref": "#/definitions/ParticleEffect"
},
{
"type": "array",
"items": {
"$ref": "#/definitions/ParticleEffect"
}
}
]
}
}
]
"type": "object",
"propertyNames": {
"pattern": "^[\\d.]+$",
"examples": ["0.0", "1.0", "2.3"]
},
"additionalProperties": {
"title": "Timeline object",
"description": "A single point in time",
"$ref": "#/definitions/ParticleEffect"
}
},
"start_delay": {
"title": "Start delay",