Изменения

Нет описания правки
Строка 5: Строка 5:     
==Данные==
 
==Данные==
The weather is controlled by the integer field <samp>Game1::weatherForTomorrow</samp>. The possible values are:
+
Погода управляется целым числом <samp>Game1::weatherForTomorrow</samp>. Возможные значения погоды:
    
{|class="wikitable"
 
{|class="wikitable"
Строка 15: Строка 15:  
| 0
 
| 0
 
| <samp>weather_sunny</samp>
 
| <samp>weather_sunny</samp>
| sunny
+
| Солнечно
 
|-
 
|-
 
| 1
 
| 1
 
| <samp>weather_rain</samp>
 
| <samp>weather_rain</samp>
| rain
+
| Дождь
 
|-
 
|-
 
| 2
 
| 2
 
| <samp>weather_debris</samp>
 
| <samp>weather_debris</samp>
| windy
+
| Ветер
 
|-
 
|-
 
| 3
 
| 3
 
| <samp>weather_lightning</samp>
 
| <samp>weather_lightning</samp>
| lightning
+
| Гроза
 
|-
 
|-
 
| 4
 
| 4
 
| <samp>weather_festival</samp>
 
| <samp>weather_festival</samp>
| festival
+
| Фестиваль
 
|-
 
|-
 
| 5
 
| 5
 
| <samp>weather_snow</samp>
 
| <samp>weather_snow</samp>
| snow
+
| Снегопад
 
|-
 
|-
 
| 6
 
| 6
 
| <samp>weather_wedding</samp>
 
| <samp>weather_wedding</samp>
| wedding
+
| Свадьба
 
|}
 
|}
   Строка 50: Строка 50:  
! дата
 
! дата
 
! погода
 
! погода
! overridden by
+
! переопределено
 
|-
 
|-
 
| весна 1
 
| весна 1
Строка 183: Строка 183:  
At this point, the main function is done setting weather.
 
At this point, the main function is done setting weather.
   −
===Телевизор===
+
===Телевидение===
The TV checks the weather, but will occasionally set it on certain days. It follows the following chart:
+
Телевизор проверяет погоду, но иногда устанавливает ее в определенные дни. It follows the following chart:
    
The TV force sets by:
 
The TV force sets by:
Строка 211: Строка 211:  
<small>¹ Also set (and thus overridden) by the <samp>Game1::newDayAfterFade()</samp> method.</small><br />
 
<small>¹ Also set (and thus overridden) by the <samp>Game1::newDayAfterFade()</samp> method.</small><br />
   −
The TV will check the weather and show the following message:
+
Телевизор проверит погоду и покажет соответствующее описание:
    
{|class="wikitable"
 
{|class="wikitable"
 
|-
 
|-
! weather
+
! погода
! message
+
! описание
 
|-
 
|-
| sunny or wedding
+
| солнечно или день свадьбы
 
| 50% chance each:
 
| 50% chance each:
* "It's going to be clear and sunny all day."
+
* "Завтра весь день будет ясно и солнечно."
* "It's going to be a beautiful, sunny day tommorow!"
+
* "Завтра будет прекрасный солнечный день!"
 
|-
 
|-
| rain
+
| дождь
| "It's going to rain all day tomorrow"
+
| "Завтра весь день будет идти дождь."
 
|-
 
|-
| debris
+
| ветер
| Per conditions:
+
| В соответствии:
# If spring: "Partially cloudy with a light breeze. Expect lots of pollen!"
+
# Весна: "Переменная облачность с лёгким ветерком. В воздухе будет много пыльцы!"
# If not fall: "It's going to snow all day. Make sure you bundle up, folks!" and defaults with: "It's going to be cloudy, with gusts of wind throught the day."
+
# Осень: "Завтра будет облачно, с порывами ветра на протяжении всего дня."
# If storm: "Looks like a storm is approaching. Thunder and lightning is expected."
+
# Гроза: "Похоже, приближается буря. Ожидаются гром и молнии."
 
# If festival, it attempts to read the festival data. If it fails, it will say "Um... that's odd. My information sheet just says 'null'. This is embarrassing..." If it succeeds, it will read out where it is and when it is.
 
# If festival, it attempts to read the festival data. If it fails, it will say "Um... that's odd. My information sheet just says 'null'. This is embarrassing..." If it succeeds, it will read out where it is and when it is.
# If snow, a 50% chance of one of two strings: "Expect a few inches of snow tomorrow" or "Bundle up, folks. It's going to snow tomorrow!"
+
# Снегопад: "Завтра ожидается пара дюймов снега." или "Одевайтесь потеплее, ребята, завтра будет снег!" или "Завтра весь день будет идти снег. Одевайтесь потеплее, ребята!"
 
|-
 
|-
 
| ''any other''
 
| ''any other''
Строка 276: Строка 276:  
* Winter: never rains.
 
* Winter: never rains.
   −
===Debris===
+
===Ветер===
 
Debris weather covers weather variable 2.
 
Debris weather covers weather variable 2.
   −
* Spring: there's a 20% chance of this after rain, so approximately 16.6% chance of debris weather.
+
* Весна: после дождя шанс 20%, поэтому приблизительный шанс 16.6%.
* Summer: no debris weather.
+
* Лето: не бывает ветра.
* Fall: there's a 60% chance for this after rain, so approximately 49.8% chance of debris weather.
+
* Осень: после дождя шанс 60%, поэтому приблизительный шанс 49.8%.
* Winter: no debris weather.
+
* Зима: не бывает ветра.
    
===Гроза===
 
===Гроза===
Гроза охватывает 3 переменной погоды.
+
Stormy weather covers weather variable 3.
    
* Весна: 4.57% шанс грозы.
 
* Весна: 4.57% шанс грозы.
Строка 292: Строка 292:  
* Зима: не бывает грозы.
 
* Зима: не бывает грозы.
   −
===Снег===
+
===Снегопад===
Зимой шанс выпадения снега 63%. Снег может пойти только зимой
+
Зимой шанс выпадения снега 63%. Снегопад может пойти только зимой.
    
==Сохранения==
 
==Сохранения==