projet-genie-logiciel-systeme/runtime-EclipseXtext/fr.n7.game.examples/enigme.game
2021-12-03 10:02:04 +01:00

169 lines
3.6 KiB
Plaintext

{
"Explorateur": {
"taille": 3,
"connaissances": [],
"objets": [
"tentative",
"tentative",
"tentative"
]
},
"Territoire": {
"Lieux": [
{
"nom": "Énigme",
"deposable": "false",
"depart": "true",
"fin": "false",
"personnes": [
"Sphinx"
],
"descriptions": [
{
"texte": "lieu de départ",
"condition": "true"
}
],
"objets": [],
"connaissances": []
},
{
"nom": "Succès",
"deposable": "false",
"depart": "false",
"fin": "true",
"personnes": [],
"descriptions": [
{
"texte": "lieu succès",
"condition": "true"
}
],
"objets": [],
"connaissances": []
},
{
"nom": "Échec",
"deposable": "false",
"depart": "false",
"fin": "true",
"personnes": [],
"descriptions": [
{
"texte": "lieu échec",
"condition": "true"
}
],
"objets": [],
"connaissances": []
}
],
"Chemins": [
{
"lieu_in": "Énigme",
"lieu_out": "Succès",
"ouvert": "true",
"visible": "Réussite",
"obligatoire": "true",
"connaissances": [],
"objets_recus": [],
"objets_conso": [],
"descriptions": [
{
"texte": "Le chemin de la victoire !",
"condition": "true"
}
]
},
{
"lieu_in": "Énigme",
"lieu_out": "Échec",
"ouvert": "true",
"visible": "tentatives == 0",
"obligatoire": "true",
"connaissances": [],
"objets_recus": [],
"objets_conso": [],
"descriptions": [
{
"texte": "Le chemin de la loose !",
"condition": "true"
}
]
}
]
},
"Objets": [
{
"nom": "tentative",
"taille": 1,
"visible": "true",
"descriptions": [
{
"texte": "permet répondre une question du sphinx",
"condition": "true"
}
]
}
],
"Connaissances": [
{
"nom": "Réussite",
"visible": "true",
"descriptions": [
{
"texte": "Permet de se casser de là",
"condition": "true"
}
]
}
],
"Personnes": [
{
"nom": "Sphinx",
"visible": "!Reussite && tentative > 0",
"obligatoire": "true",
"interactions": [
{
"visible": "true",
"connaissances": [],
"objets_recus": [],
"objets_conso": [],
"actions": [
{
"visible": "true",
"fin_interaction": "true",
"connaissances": [
"Réussite"
],
"objets_recus": [],
"objets_conso": [],
"descriptions" : [
{
"texte": "la bonne réponse",
"condition": "true"
}
]
},
{
"visible": "true",
"fin_interaction": "true",
"connaissances": [],
"objets_recus": [],
"objets_conso": [
"tentative"
],
"descriptions" : [
{
"texte": "la mauvaise réponse",
"condition": "true"
}
]
}
]
}
]
}
],
"Transformations": []
}