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/23 16:21] aale [Mots-clés] |
masques [2015/04/30 16:41] (Version actuelle) aale |
||
---|---|---|---|
Ligne 98: | 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 115: | 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 : |