-
Notifications
You must be signed in to change notification settings - Fork 0
/
lib.json_tests
192 lines (186 loc) · 3.91 KB
/
lib.json_tests
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
{
"system":{
"version": 1
},
"nodes":{
"internal": {
"backdrop": {
"path": "Системные",
"name": "Группа"
}
},
"operators":{
"make_array": {
"path":"Массивы",
"disabled": true,
"name": "Создать массив",
"desc": "Создание новой упорядоченной последовательности объектов",
"inputs": {
"Flow": {
}
},
"inputs_runtime": {
"add_button_text":"Добавить элемент",
"max_count": 20,
"pattern_text": "Входное действие {0}"
},
"outputs": {
"Flow": {
"color":[255,0,0,255]
}
}
},
"if_branch": {
"path": "Контрольные структуры.Операторы",
"kind": "data\\branch_sim.png",
"name": "Ветка",
"desc123": "Проверяет условие",
"color": [13,18,23,255],
"inputs": {
"flowin": {
"color": [100, 100, 100, 255],
"display_name": false,
"mutliconnect": false,
"style": "triangle"
}
},
"outputs": {
"Истина": {
"color": [100, 100, 100, 255],
"display_name": true,
"mutliconnect": false,
"style": "triangle"
},
"Ложь": {
"color": [100, 100, 100, 255],
"display_name": true,
"mutliconnect": false,
"style": "triangle"
}
},
"options": {
"istrue": {
"type": "bool",
"default": true,
"text": "Условие"
}
}
},
"connector_test": {
"name": "testflow",
"inputs":{
"Flow in":{"type":"Flow","allowtypes":["Flow"]}
,"Boolean":{"allowtypes":["bool"]}
,"Check conditions":{"allowtypes":["bool"]}
},
"outputs":{
"Flow out":{"type":"Flow","allowtypes":["Flow"]}
}
},
"boolean_test": {
"name": "make boolean",
"outputs": {
"Булево":{"type":"bool"}
}
},
"testnode":{
"path": "debug",
"name":"Тестовый узел",
"inputs":{
"inp1": {
"color":[255,0,0,255],
"allowtypes": [
{
"name":"out1",
"type":"runtime_domain.RuntimeNode"
},
"Истина"
]
},
"inp2": {}
},
"outputs": {
"out1": {
"allowtypes":["inp1"]
},
"out2": {}
},
"options": {
"testbool": {
"type":"bool",
"default": true,
"text": "test text",
"label": "test label"
},
"testinput": {
"type":"input",
"default": "hehehhe",
"text": "test text"
},
"testspin": {
"type": "spin",
"default": 442,
"text": "test spin",
"range": {"min":0,"max":100}
},
"test_floatspin": {
"type": "fspin",
"default": 1.1,
"text": "float point spin",
"range": {"min":-101.5,"max":101.5},
"floatspindata": {
"step": 1.01,
"decimals": 5
}
},
"testedit": {
"type": "edit",
"default": "NON_TEXT",
"text": "Header"
},
"testcheckbox": {
"type":"list",
"text": "select some items",
"default": "third item",
"values": ["first item", "second item", "third item"]
},
"vec2test": {
"type": "vec2",
"text": "vec2 for 2d vector",
"default": [100,100,100]
},
"testvec3": {
"type": "vec3",
"text": "vec3 for transform"
},
"testcolor": {
"type": "rgb",
"text": "rgb text palette",
"default": [255,0,0]
},
"testcolor_alpha": {
"type": "rgba",
"text": "rgba palette",
"default": [0,255,0,125]
},
"test_filepath": {
"type": "file",
"text": "select file",
"ext": "*",
"root": ".",
"title": "Выберите подходящий файл",
"default": "test_file_path_as_default"
}
}
}
},
"functions":{
},
"gameobjects":{
},
"gamemodes":{
},
"roles": {
}
}
}