refactor-scriptaccount-action-editor #52

Merged
sebastian merged 4 commits from refactor-scriptaccount-action-editor into character-interactions 2024-06-15 14:04:53 +02:00
3 changed files with 42 additions and 3 deletions
Showing only changes of commit 224468f088 - Show all commits

View File

@ -63,6 +63,7 @@
<div class="example-element-detail"
[@detailExpand]="element == expandedElement ? 'expanded' : 'collapsed'">
<app-scriptaccount-condition-editor [enableEditiong]="false" [conditions]="element.scriptAccountConditions" ></app-scriptaccount-condition-editor>
<app-scriptaccount-action-editor [enableEditing]="false" [actions]="element.scriptAccountActions"></app-scriptaccount-action-editor>
</div>
</td>
</ng-container>

View File

@ -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
}

View File

@ -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
}