|
1 | 1 | import {commandType} from '../interface/sceneInterface'; |
2 | 2 |
|
3 | 3 | export const SCRIPT_CONFIG = [ |
4 | | - { scriptString: 'intro', scriptType: commandType.intro }, |
| 4 | + { scriptString: 'say', scriptType: commandType.say }, |
5 | 5 | { scriptString: 'changeBg', scriptType: commandType.changeBg }, |
6 | 6 | { scriptString: 'changeFigure', scriptType: commandType.changeFigure }, |
| 7 | + { scriptString: 'bgm', scriptType: commandType.bgm }, |
| 8 | + { scriptString: 'playVideo', scriptType: commandType.video }, |
| 9 | + { scriptString: 'pixiPerform', scriptType: commandType.pixi }, |
| 10 | + { scriptString: 'pixiInit', scriptType: commandType.pixiInit }, |
| 11 | + { scriptString: 'intro', scriptType: commandType.intro }, |
7 | 12 | { scriptString: 'miniAvatar', scriptType: commandType.miniAvatar }, |
8 | 13 | { scriptString: 'changeScene', scriptType: commandType.changeScene }, |
9 | 14 | { scriptString: 'choose', scriptType: commandType.choose }, |
10 | 15 | { scriptString: 'end', scriptType: commandType.end }, |
11 | | - { scriptString: 'bgm', scriptType: commandType.bgm }, |
12 | | - { scriptString: 'playVideo', scriptType: commandType.video }, |
13 | 16 | { |
14 | 17 | scriptString: 'setComplexAnimation', |
15 | 18 | scriptType: commandType.setComplexAnimation, |
16 | 19 | }, |
17 | 20 | { scriptString: 'setFilter', scriptType: commandType.setFilter }, |
18 | | - { scriptString: 'pixiInit', scriptType: commandType.pixiInit }, |
19 | | - { scriptString: 'pixiPerform', scriptType: commandType.pixi }, |
20 | 21 | { scriptString: 'label', scriptType: commandType.label }, |
21 | 22 | { scriptString: 'jumpLabel', scriptType: commandType.jumpLabel }, |
| 23 | + { scriptString: 'chooseLabel', scriptType: commandType.chooseLabel }, |
22 | 24 | { scriptString: 'setVar', scriptType: commandType.setVar }, |
| 25 | + { scriptString: 'if', scriptType: commandType.if }, |
23 | 26 | { scriptString: 'callScene', scriptType: commandType.callScene }, |
24 | 27 | { scriptString: 'showVars', scriptType: commandType.showVars }, |
25 | 28 | { scriptString: 'unlockCg', scriptType: commandType.unlockCg }, |
26 | 29 | { scriptString: 'unlockBgm', scriptType: commandType.unlockBgm }, |
27 | | - { scriptString: 'say', scriptType: commandType.say }, |
28 | 30 | { scriptString: 'filmMode', scriptType: commandType.filmMode }, |
29 | | - { scriptString: 'callScene', scriptType: commandType.callScene }, |
30 | 31 | { scriptString: 'setTextbox', scriptType: commandType.setTextbox }, |
31 | 32 | { scriptString: 'setAnimation', scriptType: commandType.setAnimation }, |
32 | 33 | { scriptString: 'playEffect', scriptType: commandType.playEffect }, |
| 34 | + { scriptString: 'setTempAnimation', scriptType: commandType.setTempAnimation }, |
| 35 | + // comment? |
| 36 | + { scriptString: 'setTransform', scriptType: commandType.setTransform }, |
| 37 | + { scriptString: 'setTransition', scriptType: commandType.setTransition }, |
| 38 | + { scriptString: 'getUserInput', scriptType: commandType.getUserInput }, |
33 | 39 | { scriptString: 'applyStyle', scriptType: commandType.applyStyle }, |
34 | 40 | { scriptString: 'wait', scriptType: commandType.wait }, |
35 | 41 | ]; |
36 | 42 | export const ADD_NEXT_ARG_LIST = [ |
37 | 43 | commandType.bgm, |
38 | 44 | commandType.pixi, |
39 | 45 | commandType.pixiInit, |
| 46 | + commandType.miniAvatar, |
40 | 47 | commandType.label, |
41 | 48 | commandType.if, |
42 | | - commandType.miniAvatar, |
43 | 49 | commandType.setVar, |
44 | | - commandType.unlockBgm, |
45 | 50 | commandType.unlockCg, |
| 51 | + commandType.unlockBgm, |
46 | 52 | commandType.filmMode, |
47 | 53 | commandType.playEffect, |
| 54 | + commandType.setTransition, |
| 55 | + commandType.applyStyle, |
48 | 56 | ]; |
49 | 57 |
|
50 | 58 | export type ConfigMap = Map<string, ConfigItem>; |
|
0 commit comments