projet-genie-logiciel-systeme/runtime-workspace/fr.n7.game.examples/test3.game
2022-01-19 10:44:51 +01:00

147 lines
3 KiB
Plaintext

Objets:
- warpToken:
taille: 1
visible: true && true && true || true && false || false
descriptions:
- Description1:
texte: "warpToken description"
condition: true
- warpTicket:
taille: 1
visible: true
descriptions:
- Description1:
texte: "warpTicket description"
condition: true
- warpReceipt:
taille: 1
visible: true
descriptions:
- Description1:
texte: "warpReceipt description"
condition: true
Transformations:
- TestTransfo:
condition: true
objets_in:
- warpReceipt
objets_out:
- warpTicket
Connaissances:
Explorateur:
taille: 5
connaissances:
objets:
- warpTicket
Personnes:
- cashier:
visible: true
obligatoire: false
interactions:
- Parler:
visible: true
connaissances:
objets_recus:
objets_conso:
actions:
- Acheter:
visible: warpTicket == 1
fin_interaction: true
connaissances:
objets_recus:
- warpToken
- warpReceipt
objets_conso:
- warpTicket
descriptions:
- Description1:
texte: "Acheter un ticket"
condition: true
- Quitter:
visible: true
fin_interaction: true
connaissances:
objets_recus:
objets_conso:
descriptions:
- Description1:
texte: "Quitter"
condition: true
Territoire:
Lieux:
- preWarp:
deposable: false
depart: true
fin: false
personnes:
- cashier
descriptions:
- Description1:
texte: "preWarp description"
condition: true
objets:
connaissances:
- postWarp:
deposable: true
depart: false
fin: false
personnes:
descriptions:
- Description1:
texte: "postWarp description"
condition: true
objets:
connaissances:
- END:
deposable: false
depart: false
fin: true
personnes:
descriptions:
- Description1:
texte: "END description"
condition: true
objets:
connaissances:
Chemins:
- Warp:
lieu_in: preWarp
lieu_out: postWarp
ouvert: warpToken > 0
visible: true
obligatoire: false
connaissances:
objets_recus:
objets_conso:
- warpToken
descriptions:
- DescriptionToken:
texte: "Warp description (need token)"
condition: warpToken == 0
- DescriptionNoToken:
texte: "Warp description (token acquired)"
condition: warpToken == 1
- EndChemin:
lieu_in: postWarp
lieu_out: END
ouvert: true
visible: true
obligatoire: false
connaissances:
objets_recus:
objets_conso:
descriptions:
- DescriptionToken:
texte: "END description"
condition: true