86 lines
2.3 KiB
JSON
86 lines
2.3 KiB
JSON
{
|
|
"componentName": "Season",
|
|
"componentDescription": "Ein simples Gamesystem zur Modellierung verschiedener Jahreszeiten und deren Übergänge",
|
|
"states": [
|
|
{
|
|
"initial": true,
|
|
"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": [
|
|
{
|
|
"changingValue": 10,
|
|
"scriptAccount": "Temperature"
|
|
}
|
|
],
|
|
"scriptAccountConditions": [],
|
|
"startingState": "Winter",
|
|
"endingState": "Frühling"
|
|
}
|
|
],
|
|
"templateType": 0
|
|
} |