projet-genie-logiciel-systeme/runtime-workspace/fr.n7.game.examples/enigme.game
2021-12-09 17:02:20 +01:00

174 lines
3.6 KiB
Plaintext

{
"Explorateur": {
"taille": 3,
"connaissances": [],
"objets": [
"tentative",
"tentative",
"tentative"
]
},
"Territoire": {
"Lieux": [
{
"nom": "Enigme",
"deposable": true,
"depart": true,
"fin": false,
"personnes": [
"Sphinx"
],
"descriptions": [
{
"texte": "lieu de depart",
"condition": true
}
],
"objets": [],
"connaissances": []
},
{
"nom": "Succes",
"deposable": false,
"depart": false,
"fin": true,
"personnes": [],
"descriptions": [
{
"texte": "lieu succes",
"condition": true
}
],
"objets": [],
"connaissances": []
},
{
"nom": "Echec",
"deposable": false,
"depart": false,
"fin": true,
"personnes": [],
"descriptions": [
{
"texte": "lieu echec",
"condition": true
}
],
"objets": [],
"connaissances": []
}
],
"Chemins": [
{
"nom": "win",
"lieu_in": "Enigme",
"lieu_out": "Succes",
"ouvert": true,
"visible": Reussite,
"obligatoire": true,
"connaissances": [],
"objets_recus": [],
"objets_conso": [],
"descriptions": [
{
"texte": "Le chemin de la victoire !",
"condition": true
}
]
},
{
"nom": "loose",
"lieu_in": "Enigme",
"lieu_out": "Echec",
"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 repondre une question du sphinx",
"condition": true
}
]
}
],
"Connaissances": [
{
"nom": "Reussite",
"visible": true,
"descriptions": [
{
"texte": "Permet de se casser de la",
"condition": true
}
]
}
],
"Personnes": [
{
"nom": "Sphinx",
"visible": ! Reussite && tentative > 0,
"obligatoire": true,
"interactions": [
{
"nom": "Parler",
"visible": true,
"connaissances": [],
"objets_recus": [],
"objets_conso": [],
"actions": [
{
"nom": "Reponse_1",
"visible": true,
"fin_interaction": true,
"connaissances": [
"Reussite"
],
"objets_recus": [],
"objets_conso": [],
"descriptions" : [
{
"texte": "la bonne reponse",
"condition": true
}
]
},
{
"nom": "Reponse_2",
"visible": true,
"fin_interaction": true,
"connaissances": [],
"objets_recus": [],
"objets_conso": [
"tentative"
],
"descriptions" : [
{
"texte": "la mauvaise reponse",
"condition": true
}
]
}
]
}
]
}
],
"Transformations": []
}