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" <div class="example-element-detail"
[@detailExpand]="element == expandedElement ? 'expanded' : 'collapsed'"> [@detailExpand]="element == expandedElement ? 'expanded' : 'collapsed'">
<app-scriptaccount-condition-editor [enableEditiong]="false" [conditions]="element.scriptAccountConditions" ></app-scriptaccount-condition-editor> <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> </div>
</td> </td>
</ng-container> </ng-container>

View File

@ -7,8 +7,27 @@
"conditions": [], "conditions": [],
"stateLabel": "A", "stateLabel": "A",
"stateDescription": "" "stateDescription": ""
},
{
"initial": false,
"conditions": [],
"stateLabel": "B",
"stateDescription": ""
}
],
"transitions": [
{
"scriptAccountActions": [
{
"characterDependency": 2,
"changingValue": 6,
"scriptAccount": "Test"
}
],
"scriptAccountConditions": [],
"startingState": "A",
"endingState": "B"
} }
], ],
"transitions": [],
"generateIsolatedStates": false "generateIsolatedStates": false
} }

View File

@ -7,8 +7,27 @@
"conditions": [], "conditions": [],
"stateLabel": "1", "stateLabel": "1",
"stateDescription": "" "stateDescription": ""
},
{
"initial": false,
"conditions": [],
"stateLabel": "2",
"stateDescription": ""
}
],
"transitions": [
{
"scriptAccountActions": [
{
"characterDependency": 2,
"changingValue": 5,
"scriptAccount": "Test"
}
],
"scriptAccountConditions": [],
"startingState": "1",
"endingState": "2"
} }
], ],
"transitions": [],
"generateIsolatedStates": false "generateIsolatedStates": false
} }