diff --git a/src/app/editor/gamesystem-editor/transition-editor/product-transition-editor/product-transition-editor.component.html b/src/app/editor/gamesystem-editor/transition-editor/product-transition-editor/product-transition-editor.component.html index 8861ae6..53e49ca 100644 --- a/src/app/editor/gamesystem-editor/transition-editor/product-transition-editor/product-transition-editor.component.html +++ b/src/app/editor/gamesystem-editor/transition-editor/product-transition-editor/product-transition-editor.component.html @@ -62,7 +62,8 @@
- + +
diff --git a/testModel/gamesystems/ProductGamesystem/Letter.json b/testModel/gamesystems/ProductGamesystem/Letter.json index 024eea1..5f64714 100644 --- a/testModel/gamesystems/ProductGamesystem/Letter.json +++ b/testModel/gamesystems/ProductGamesystem/Letter.json @@ -7,8 +7,27 @@ "conditions": [], "stateLabel": "A", "stateDescription": "" + }, + { + "initial": false, + "conditions": [], + "stateLabel": "B", + "stateDescription": "" + } + ], + "transitions": [ + { + "scriptAccountActions": [ + { + "characterDependency": 2, + "changingValue": 6, + "scriptAccount": "Test" + } + ], + "scriptAccountConditions": [], + "startingState": "A", + "endingState": "B" } ], - "transitions": [], "generateIsolatedStates": false } \ No newline at end of file diff --git a/testModel/gamesystems/ProductGamesystem/Number.json b/testModel/gamesystems/ProductGamesystem/Number.json index a774068..59ae3ac 100644 --- a/testModel/gamesystems/ProductGamesystem/Number.json +++ b/testModel/gamesystems/ProductGamesystem/Number.json @@ -7,8 +7,27 @@ "conditions": [], "stateLabel": "1", "stateDescription": "" + }, + { + "initial": false, + "conditions": [], + "stateLabel": "2", + "stateDescription": "" + } + ], + "transitions": [ + { + "scriptAccountActions": [ + { + "characterDependency": 2, + "changingValue": 5, + "scriptAccount": "Test" + } + ], + "scriptAccountConditions": [], + "startingState": "1", + "endingState": "2" } ], - "transitions": [], "generateIsolatedStates": false } \ No newline at end of file