Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
|
masques [2015/04/13 14:52] aale |
masques [2015/04/30 16:41] (Version actuelle) aale |
||
|---|---|---|---|
| Ligne 51: | Ligne 51: | ||
| <WRAP center round box 60%> | <WRAP center round box 60%> | ||
| - | @if@parametre-testé@exists@ | + | @if@paramètre-testé@exists@ |
| blabla | blabla | ||
| @endif@ | @endif@ | ||
| Ligne 59: | Ligne 59: | ||
| <WRAP center round box 60%> | <WRAP center round box 60%> | ||
| - | @if@previous_town_name@empty@ | + | @if@paramètre_testé@empty@ |
| blabla | blabla | ||
| @endif@ | @endif@ | ||
| Ligne 71: | Ligne 71: | ||
| * player : numéro de nation du joueur ([[troisieme_age_-_1650|module 1650]] : de 1 à 25) | * player : numéro de nation du joueur ([[troisieme_age_-_1650|module 1650]] : de 1 à 25) | ||
| * player_as__nation_name : nation of the player | * player_as__nation_name : nation of the player | ||
| + | * aera_name | ||
| + | * previous_area_name | ||
| * hero_nation : nation of the hero, from 1 to 25 | * hero_nation : nation of the hero, from 1 to 25 | ||
| * hero_nation_name : nation of the hero | * hero_nation_name : nation of the hero | ||
| Ligne 96: | Ligne 98: | ||
| * hex_terrain : current hexagon terrain type from 1 to 9 | * hex_terrain : current hexagon terrain type from 1 to 9 | ||
| * previous_hex_terrain : last turn hexagon terrain type from 1 to 9 | * previous_hex_terrain : last turn hexagon terrain type from 1 to 9 | ||
| - | * is_mine : returns yes, if reader is owner of hero/town, otherwise returns no | ||
| - | * is_allied : returns yes, if reader considers hero/town to be a friend, otherwise returns no | ||
| - | * is_enemy : returns yes, if reader considers hero/town to be an enemy, otherwise returns no | ||
| * is_hero_general : returns yes, if the hero generating the news is general of the army, otherwise returns no (meaning he would be a captain in the army) | * is_hero_general : returns yes, if the hero generating the news is general of the army, otherwise returns no (meaning he would be a captain in the army) | ||
| - | * is_target_me : returns yes, if the action is targeted at the reader, otherwise returns no | ||
| * army_general_name : returns the name of the hero leading the army | * army_general_name : returns the name of the hero leading the army | ||
| * fellowship_leader_name : returns the name of the hero leading the fellowship | * fellowship_leader_name : returns the name of the hero leading the fellowship | ||
| Ligne 113: | Ligne 111: | ||
| * parameter1_as_hero_bonus : returns the hero bonus based on the parameter value | * parameter1_as_hero_bonus : returns the hero bonus based on the parameter value | ||
| * parameter1_as_nation_bonus : returns the nation bonus based on the parameter value | * parameter1_as_nation_bonus : returns the nation bonus based on the parameter value | ||
| + | |||
| + | les mots clés liés à la visibilité | ||
| + | * is_mine : returns yes, if reader is owner of hero/town, otherwise returns no | ||
| + | * is_allied : returns yes, if reader considers hero/town to be a friend, otherwise returns no | ||
| + | * is_enemy : returns yes, if reader considers hero/town to be an enemy, otherwise returns no | ||
| + | * is_target_me : returns yes, if the action is targeted at the reader, otherwise returns no | ||
| + | * is_witness : pour les témoins de l'action (visibilité à 5 ou 6) | ||
| Pour les ordres les plus complexes (avec beaucoup d'entrées), il existe le mot-clé #long_parameter#. Pour un ordre de division d'armée, on aurait la possibilités de rendre compte du transfert des différentes troupes par ces instructions : | Pour les ordres les plus complexes (avec beaucoup d'entrées), il existe le mot-clé #long_parameter#. Pour un ordre de division d'armée, on aurait la possibilités de rendre compte du transfert des différentes troupes par ces instructions : | ||
| Ligne 120: | Ligne 125: | ||
| </WRAP> | </WRAP> | ||
| ici, le ~ permet de supprimer le type de troupe si aucune unité n'est présente. | ici, le ~ permet de supprimer le type de troupe si aucune unité n'est présente. | ||
| - | |||
| ===== Listes ===== | ===== Listes ===== | ||
