-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschema-template.yaml
More file actions
105 lines (98 loc) · 2.43 KB
/
schema-template.yaml
File metadata and controls
105 lines (98 loc) · 2.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# ブロックタイプ定義ファイル(テンプレート)
# このファイルは標準的なブロックタイプの定義を含みます
# プロジェクトで使用する場合は、このファイルをコピーして編集してください
# 列挙型定義
# ブロックのパラメータのtypeとして使用できる列挙型を定義
enums:
character:
fields:
- id: 1
name: main_character
label: "主人公"
- id: 2
name: sub_character
label: "ヒロイン"
- id: 3
name: villain
label: "悪役"
- id: 4
name: supporting
label: "脇役"
emotion:
fields:
- id: 1
name: happy
label: "喜び"
- id: 2
name: sad
label: "悲しみ"
- id: 3
name: angry
label: "怒り"
- id: 4
name: surprised
label: "驚き"
- id: 5
name: calm
label: "冷静"
- id: 6
name: excited
label: "興奮"
# カスタム構造体定義
# ブロックのパラメータのtypeとして使用できる新しい型を定義
structs:
option_param:
properties:
option_text:
type: string
goto_label:
type: string
# 標準ブロックタイプ定義
# プロジェクトで必要に応じてカスタマイズ可能
block_types:
# 基本的な会話・文章ブロック
dialogue:
label: "セリフ"
description: "キャラクターの台詞"
requires_text: true
parameters:
speaker:
type: "character"
label: "話者"
default: ""
required: false
emotion:
type: "emotion"
label: "感情"
default: ""
required: false
monologue:
label: "モノローグ"
description: "キャラクターの心の中の思考"
requires_text: true
parameters:
speaker:
type: "character"
label: "話者"
default: ""
required: false
emotion:
type: "emotion"
label: "感情"
default: ""
required: false
narrative:
label: "地の文"
description: "小説の地の文・説明文"
requires_text: true
parameters: {}
display_options:
label: "選択肢を表示"
requires_text: false
parameters:
option01:
label: "選択肢01"
type: option_param
option02:
label: "選択肢02"
type: option_param