ConceptCreator/testModel/gamesystems/Weather.json
Sebastian Böckelmann 6d14328b9f
All checks were successful
E2E Testing / test (push) Successful in 1m32s
Load Conditions & Actions for Transitions
2024-03-18 17:15:07 +01:00

49 lines
1.2 KiB
JSON

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