Added base examples

This commit is contained in:
DaanV2
2021-10-11 18:10:42 +02:00
parent f188cfa6ee
commit 67ccb3d2d1
134 changed files with 2414 additions and 385 deletions

View File

@@ -6,8 +6,18 @@
"additionalProperties": false,
"required": ["preferred_path_blocks"],
"properties": {
"default_block_cost": { "type": "number", "default": 0, "description": "Cost for non-preferred blocks", "title": "Default Block Cost" },
"jump_cost": { "type": "integer", "default": 0, "description": "Added cost for jumping up a node", "title": "Jump Cost" },
"default_block_cost": {
"type": "number",
"default": 0,
"description": "Cost for non-preferred blocks",
"title": "Default Block Cost"
},
"jump_cost": {
"type": "integer",
"default": 0,
"description": "Added cost for jumping up a node",
"title": "Jump Cost"
},
"max_fall_blocks": {
"type": "integer",
"default": 3,
@@ -22,8 +32,26 @@
"additionalProperties": false,
"type": "object",
"description": "Blocks cost",
"properties": { "cost": { "type": "number" }, "blocks": { "type": "array", "items": { "$ref": "../../../../general/blocks_item.json" } } }
"properties": {
"cost": {
"type": "number"
},
"blocks": {
"type": "array",
"items": {
"$ref": "../../../../general/blocks_item.json"
}
}
}
}
}
}
},
"examples": [
{
"default_block_cost": 0,
"jump_cost": 0,
"max_fall_blocks": 3,
"preferred_path_blocks": []
}
]
}