This commit is contained in:
parent
c38dcc556c
commit
1052eeb047
@ -21,6 +21,8 @@ export class CharacterSerializer {
|
||||
} else {
|
||||
if(key === 'referenceGamesystem' || key === 'scriptAccount') {
|
||||
return value.componentName
|
||||
} else if(key === 'startingState' || key === 'endingState') {
|
||||
return value.stateLabel
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
@ -6,24 +6,33 @@
|
||||
"templateStates": [
|
||||
{
|
||||
"initial": false,
|
||||
"conditions": [],
|
||||
"conditions": [
|
||||
{
|
||||
"scriptAccount": "Luftfeuchtigkeit",
|
||||
"minValue": 0,
|
||||
"maxValue": "10"
|
||||
}
|
||||
],
|
||||
"stateLabel": "Wütend"
|
||||
}
|
||||
],
|
||||
"templateTransitions": [
|
||||
{
|
||||
"scriptAccountActions": [],
|
||||
"scriptAccountConditions": [],
|
||||
"startingState": {
|
||||
"initial": true,
|
||||
"conditions": [],
|
||||
"stateLabel": "Glücklich"
|
||||
},
|
||||
"endingState": {
|
||||
"initial": false,
|
||||
"conditions": [],
|
||||
"stateLabel": "Wütend"
|
||||
"scriptAccountActions": [
|
||||
{
|
||||
"changingValue": 10,
|
||||
"scriptAccount": "Luftfeuchtigkeit"
|
||||
}
|
||||
],
|
||||
"scriptAccountConditions": [
|
||||
{
|
||||
"scriptAccount": "New ScriptAccount",
|
||||
"minValue": 0,
|
||||
"maxValue": "10"
|
||||
}
|
||||
],
|
||||
"startingState": "Glücklich",
|
||||
"endingState": "Traurig"
|
||||
}
|
||||
],
|
||||
"referenceGamesystem": "Characterstimmung"
|
||||
|
Loading…
Reference in New Issue
Block a user