feat: test.game

This commit is contained in:
Laurent Fainsin 2021-11-30 19:35:03 +01:00
parent 1d36cade74
commit 464fbd51b0
2 changed files with 149 additions and 2 deletions

147
test.game Normal file
View file

@ -0,0 +1,147 @@
{
"Explorateur": {
"taille": 3,
"connaissances": [],
"objets": [
{
"nom": "tentative",
"qty": 3
}
]
},
"Territoires": {
"Lieux": [
{
"nom": "Énigme",
"description": "lieu de départ",
"deposable": "(false)",
"depart": "(true)",
"fin": "(false)",
"connaissances": [],
"personnes": [
"Sphinx"
],
"objets": []
},
{
"nom": "Succès",
"description": "lieu succès",
"deposable": "(false)",
"depart": "(false)",
"fin": "(true)",
"connaissances": [],
"personnes": [],
"objets": []
},
{
"nom": "Échec",
"description": "lieu échec",
"deposable": "(false)",
"depart": "(false)",
"fin": "(true)",
"connaissances": [],
"personnes": [],
"objets": []
}
],
"Chemins": [
{
"lieu_in": "Énigme",
"lieu_out": "Succès",
"ouvert": "(true)",
"visible": "(connaissance_Réussite==1)",
"obligatoire": "(false)",
"connaissances_gift": [],
"objets_gift": [],
"objets_conso": [],
"descriptions": [
{
"texte": "Le chemin de la victoire !",
"condition": "(true)"
}
]
},
{
"lieu_in": "Énigme",
"lieu_out": "Échec",
"ouvert": "(true)",
"visible": "(objet_tentatives==0)",
"obligatoire": "(false)",
"connaissances": [],
"objets": [],
"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",
"descriptions": [
{
"nom": "Permet de se casser de là",
"condition": "(true)"
}
]
}
],
"Personnes": [
{
"nom": "Sphinx",
"visible": "(true)",
"obligatoire": "(true)",
"interactions": [
{
"connaissances_gift": [],
"objets_gift": [],
"visible": "(true)",
"actions": [
{
"connaissances_gift": [
"Réussite"
],
"objets_gift": [],
"objets_conso": [
{
"nom": "tentative",
"qty": 1
}
],
"visible": "(true)"
},
{
"connaissances_gift": [],
"objets_gift": [],
"objets_conso": [
{
"nom": "tentative",
"qty": 1
}
],
"visible": "(true)"
}
]
}
]
}
],
"Transformations": []
}

View file

@ -92,8 +92,8 @@ Personne:
'}'
;
Interraction:
'Interraction'
Interaction:
'Interaction'
'{'
actions+=Action+
connaissances+=Nom*