80 lines
2.2 KiB
JSON
80 lines
2.2 KiB
JSON
{
|
|
"componentName": "Season",
|
|
"componentDescription": "Ein simples Gamesystem zur Modellierung verschiedener Jahreszeiten und deren Übergänge",
|
|
"states": [
|
|
{
|
|
"initial": false,
|
|
"conditions": [
|
|
{
|
|
"scriptAccount": "Temperature",
|
|
"minValue": 0,
|
|
"maxValue": "10"
|
|
}
|
|
],
|
|
"stateLabel": "Frühling",
|
|
"stateDescription": ""
|
|
},
|
|
{
|
|
"initial": false,
|
|
"conditions": [
|
|
{
|
|
"scriptAccount": "Temperature",
|
|
"minValue": "10",
|
|
"maxValue": "30"
|
|
}
|
|
],
|
|
"stateLabel": "Sommer",
|
|
"stateDescription": ""
|
|
},
|
|
{
|
|
"initial": false,
|
|
"conditions": [
|
|
{
|
|
"scriptAccount": "Temperature",
|
|
"minValue": "10",
|
|
"maxValue": "20"
|
|
}
|
|
],
|
|
"stateLabel": "Herbst",
|
|
"stateDescription": ""
|
|
},
|
|
{
|
|
"initial": false,
|
|
"conditions": [
|
|
{
|
|
"scriptAccount": "Temperature",
|
|
"minValue": "-10",
|
|
"maxValue": "10"
|
|
}
|
|
],
|
|
"stateLabel": "Winter",
|
|
"stateDescription": ""
|
|
}
|
|
],
|
|
"transitions": [
|
|
{
|
|
"scriptAccountActions": [],
|
|
"scriptAccountConditions": [],
|
|
"startingState": "Frühling",
|
|
"endingState": "Sommer"
|
|
},
|
|
{
|
|
"scriptAccountActions": [],
|
|
"scriptAccountConditions": [],
|
|
"startingState": "Sommer",
|
|
"endingState": "Herbst"
|
|
},
|
|
{
|
|
"scriptAccountActions": [],
|
|
"scriptAccountConditions": [],
|
|
"startingState": "Herbst",
|
|
"endingState": "Winter"
|
|
},
|
|
{
|
|
"scriptAccountActions": [],
|
|
"scriptAccountConditions": [],
|
|
"startingState": "Winter",
|
|
"endingState": "Frühling"
|
|
}
|
|
]
|
|
} |