Строка 191: |
Строка 191: |
| ==Формат== | | ==Формат== |
| ===Ключ=== | | ===Ключ=== |
− | Each mail entry has a unique key which identifies the message (e.g. to track whether the player already received it). For example, <tt>Robin</tt> at the start of this entry is the mail key:
| + | Каждая запись почты имеет уникальный ключ, который идентифицирует сообщение (например, для отслеживания того, получил ли его уже игрок). Например, <tt>Robin</tt> в начале этой записи находится почтовый ключ: |
| <syntaxhighlight lang="json"> | | <syntaxhighlight lang="json"> |
| "Robin": "Hey there!^I had some extra wood lying around... I thought maybe you could use it. Take care! ^ -Robin %item object 388 50 %%[#]A Gift From Robin" | | "Robin": "Hey there!^I had some extra wood lying around... I thought maybe you could use it. Take care! ^ -Robin %item object 388 50 %%[#]A Gift From Robin" |
| </syntaxhighlight> | | </syntaxhighlight> |
| | | |
− | The key can be one of these formats:
| + | Ключом может быть один из этих форматов: |
| | | |
| {| class="wikitable" | | {| class="wikitable" |
| |- | | |- |
− | ! syntax | + | ! Синтаксис |
− | ! description | + | ! Описание |
| |- | | |- |
| | <tt>{{t|season}}_{{t|day of month}}_{{t|year}}</tt> | | | <tt>{{t|season}}_{{t|day of month}}_{{t|year}}</tt> |
− | | Sent on the given date.<br /><small>Example: <tt>spring_15_3</tt> applies on spring 15 in year 3.</small> | + | | Отправлено в указанную дату.<br /><small>Например: <tt>spring_15_3</tt> применяется весной 15 в 3-м году.</small> |
| |- | | |- |
| | <tt>{{t|season}}_{{t|day of month}}</tt> | | | <tt>{{t|season}}_{{t|day of month}}</tt> |
− | | Sent on the given date in any year. This is ignored if mail was sent for the previous format.<br /><small>Example: <tt>spring_15</tt> applies on spring 15.</small> | + | | Отправлено в указанную дату в любом году. Это игнорируется, если почта была отправлена в предыдущем формате.<br /><small>Например: <tt>spring_15</tt> применяется весной 15.</small> |
| |- | | |- |
| | ''arbitrary key'' | | | ''arbitrary key'' |
− | | Anything else is just a unique letter ID, which can be sent in code or via [[Modding:Event data|an event script]]. | + | | Все остальное - просто уникальный ID письма, который можно отправить в коде или через [[Modding:Event data|an event script]]. |
| |} | | |} |
| | | |