Browse Source

Add example json

Arnaud Vergnet 1 year ago
parent
commit
166a7e15f9
1 changed files with 39 additions and 0 deletions
  1. 39
    0
      json_example.json

+ 39
- 0
json_example.json View File

@@ -0,0 +1,39 @@
1
+{
2
+    speaker: {
3
+        id: 5,
4
+        emotion: "happy"
5
+    },
6
+    scene: {
7
+        id: 2
8
+    },
9
+    dialog: {
10
+        message: "Coucou ${username} !",
11
+        choices_free: {
12
+            placeholder: "Écris ton nom",
13
+            global_var_name: "username",
14
+        },
15
+        choices_multiple: [
16
+            {
17
+                title: "choix 1",
18
+                arc: 0,
19
+                infobox: {
20
+                    title: "coucou !",
21
+                    text: "ça va ?",
22
+                    conditions: [
23
+                        {
24
+                            id: "education",
25
+                            value: 46
26
+                        }  
27
+                    ],
28
+                },
29
+                conditions: [
30
+                    {
31
+                        id: "open_mindeness",
32
+                        value: 90
33
+                    }     
34
+                ]
35
+            }
36
+        
37
+        ]
38
+    }
39
+}

Loading…
Cancel
Save