ConceptCreator/testModel/gamesystems/Weather.json
Sebastian Böckelmann e033243389
All checks were successful
E2E Testing / test (push) Successful in 1m33s
Store conditions and simplify condition reference to component-name
2024-03-18 16:33:39 +01:00

44 lines
1.1 KiB
JSON

{
"componentName": "Weather",
"componentDescription": "",
"states": [
{
"initial": false,
"conditions": [
{
"scriptAccount": "Luftfeuchtigkeit",
"minValue": 0,
"maxValue": "50"
}
],
"stateLabel": "Sonnig",
"stateDescription": "Die Sonne scheint"
},
{
"initial": false,
"conditions": [
{
"scriptAccount": "Luftfeuchtigkeit",
"minValue": "50",
"maxValue": "75"
}
],
"stateLabel": "Wolkig",
"stateDescription": ""
}
],
"transitions": [
{
"scriptAccountActions": [],
"scriptAccountConditions": [
{
"scriptAccount": "Luftfeuchtigkeit",
"minValue": "50",
"maxValue": "75"
}
],
"startingState": "Sonnig",
"endingState": "Wolkig"
}
]
}