浏览代码

Définition de la structure des évènements finie dans events.json

Theo Ertzscheid 6 年之前
父节点
当前提交
c8fc3d9848
共有 1 个文件被更改,包括 20 次插入64 次删除
  1. 20 64
      events.json

+ 20 - 64
events.json

@@ -1,73 +1,29 @@
 [
     {
-        "nom" : "Invasion",
-        "description" : "C'est la hinz cousin y'a les arabes",
+        "nom" : "nom",
+        "description" : "Description précise de l'évènement'",
         "lois" : [
             {
-                "nom" : "",
-                "description" : "",
-                "effets" : [0,0,0,0,0],
-                "niveau" : 0
+                "id": 0,
+                "nom": "nomloi1",
+                "descriptions": [
+                    "desc1",
+                    "desc2",
+                    "desc3"
+                ],
+                "effets": {"cri": 0, "rel": 0, "eco": 0, "nob": 0, "peu": 0},
+                "niveau": 0
             },
             {
-                "nom" : "",
-                "description" : "",
-                "effets" : [0,0,0,0,0],
-                "niveau" : 0
-            }
-        ]
-    },
-    {
-        "nom" : "Famine",
-        "description" : "C'est la hinz cousin y'a r à graille",
-        "lois" : [
-            {
-                "nom" : "",
-                "description" : "",
-                "effets" : [0,0,0,0,0],
-                "niveau" : 0
-            },
-            {
-                "nom" : "",
-                "description" : "",
-                "effets" : [0,0,0,0,0],
-                "niveau" : 0
-            }
-        ]
-    },
-    {
-        "nom" : "Vol de la couronne",
-        "description" : "C'est la hinz cousin y'a un gars il a volé la couronne",
-        "lois" : [
-            {
-                "nom" : "",
-                "description" : "",
-                "effets" : [0,0,0,0,0],
-                "niveau" : 0
-            },
-            {
-                "nom" : "",
-                "description" : "",
-                "effets" : [0,0,0,0,0],
-                "niveau" : 0
-            }
-        ]
-    },
-    {
-        "nom" : "Feu dans la bibliothèque",
-        "description" : "C'est la hinz cousin y'a les bouquins qui ont brulé",
-        "lois" : [
-            {
-                "nom" : "",
-                "description" : "",
-                "effets" : [0,0,0,0,0],
-                "niveau" : 0
-            },
-            {
-                "nom" : "",
-                "description" : "",
-                "effets" : [0,0,0,0,0],
-                "niveau" : 0
+                "id": 1,
+                "nom": "nomloi2",
+                "descriptions": [
+                    "desc1",
+                    "desc2",
+                    "desc3"
+                ],
+                "effets": {"cri": 0, "rel": 0, "eco": 0, "nob": 0, "peu": 0},
+                "niveau": 0
             }
         ]
     }