Изменения

Строка 297: Строка 297:  
|-
 
|-
 
| <tt>changeYSourceRectOffset {{t|npc}} {{t|offset}}</tt>
 
| <tt>changeYSourceRectOffset {{t|npc}} {{t|offset}}</tt>
| Changes the NPC's vertical texture offset. Example: <tt>changeYSourceRectOffset Abigail 96</tt> will offset her sprite sheet, showing her looking left instead of down. This persists for the rest of the event. This is only used in Emily's ''Clothing Therapy'' event to display the various outfits properly.
+
| Изменяет смещение текстуры NPC по вертикали. Например: <tt>changeYSourceRectOffset Abigail 96</tt> будет смещать ее спрайт-лист, показывая, что она смотрит влево, а не вниз. Сохраняется до конца события. Работает только в событии Эмили ''Костюмная терапия'' чтобы правильно отображать разные наряды.
 
|-
 
|-
 
| <tt>characterSelect</tt>
 
| <tt>characterSelect</tt>
| Seemingly unused. Sets Game1.gameMode to 5 and Game1.menuChoice = 0.
+
| Вроде бы не используется. Устанавливает Game1.gameMode до 5 и Game1.menuChoice = 0.
 
|-
 
|-
 
| <tt>cutscene {{t|cutscene}}</tt>
 
| <tt>cutscene {{t|cutscene}}</tt>
| Activate a cutscene. See [[Modding:Event_data#Cutscenes|cutscene list]].
+
| Активирует заставку. Смотри [[Модификации:События#Заставки|список заставок]].
 
|-
 
|-
 
| <tt>doAction {{t|x}} {{t|y}}</tt>
 
| <tt>doAction {{t|x}} {{t|y}}</tt>
| Acts as if the player had clicked the specified x/y coordinate and triggers any relevant action. It is commonly used to open doors from inside events, but it can be used for other purposes. If you use it on an NPC you will talk to them, and if the player is holding an item they will give that item as a gift. <tt>doAction</tt> activates objects in the main game world (their actual location outside of the event), so activating NPCs like this is very tricky, and their reaction varies depending on what the player is holding.
+
| Действует так, как если бы игрок щелкнул по указанной координате x/y, и запускает любое соответствующее действие. Он обычно используется для открытия дверей изнутри событий, но его можно использовать и для других целей. Если вы используете его на NPC, вы поговорите с ними, и если игрок держит предмет, он передаст его в подарок. <tt>doAction</tt> активирует объекты в основном игровом мире (их фактическое местоположение вне события), поэтому активировать NPC подобным образом очень сложно, и их реакция варьируется в зависимости от того, что держит игрок.
 
|-
 
|-
 
| <tt>dump {{t|group}}</tt>
 
| <tt>dump {{t|group}}</tt>
Строка 312: Строка 312:  
|-
 
|-
 
| <tt>endSimultaneousCommand</tt>
 
| <tt>endSimultaneousCommand</tt>
| Sets the end of all commands that are to be done simultaneously. Format: <tt>beginSimultaneousCommand/<Event Commands>.../endSimultaneousCommand</tt>
+
| Устанавливает окончание всех команд, которые должны выполняться одновременно. Формат: <tt>beginSimultaneousCommand/<Event Commands>.../endSimultaneousCommand</tt>
 
|-
 
|-
 
| <tt>elliotbooktalk</tt>
 
| <tt>elliotbooktalk</tt>
| Elliot book talk.
+
| Разговор о книге Эллиота.
 
|-
 
|-
 
| <tt>emote {{t|actor}} {{t|emote ID}}</tt>
 
| <tt>emote {{t|actor}} {{t|emote ID}}</tt>
| Make the given NPC name perform an emote, which is a little icon shown above the NPC's head. Emotes are stored in <tt>Content\TileSheets\emotes.xnb</tt> (see [https://www.reddit.com/r/StardewValley/comments/5s5m9g/help_annoyed_squiggle/ddd33qg/ list of emotes]).
+
| Заставьте NPC выполнить эмоцию, которая представляет собой маленькую иконку, показанную над головой NPC. Эмоции хранятся в <tt>Content\TileSheets\emotes.xnb</tt> (смотри [https://www.reddit.com/r/StardewValley/comments/5s5m9g/help_annoyed_squiggle/ddd33qg/ list of emotes]).
 
|-
 
|-
 
| <tt>end</tt>
 
| <tt>end</tt>
| Ends the current event by fading out, then resumes the game world and places the player on the square where they entered the zone. All <tt>end</tt> parameters do this by default ''unless otherwise stated''.
+
| Завершает текущее событие исчезновением, затем возобновляет игровой мир и помещает игрока на квадрат, в котором он вошел в зону. Все параметры <tt>end</tt> делают это по умолчанию ''если не указано иное''.
 
|-
 
|-
 
| <tt>end bed</tt>
 
| <tt>end bed</tt>
| Same as <tt>end</tt>, but warps the player to the x/y coordinate of their most recent bed. This does not warp them to the farmhouse, only to the x/y coordinate of the bed regardless of map.
+
| Тоже самое, что и <tt>end</tt>, но переносит игрока в кровать. Не привязывает к фермерскому дому, а к координатам x/y на которых расположена кровать.
 
|-
 
|-
 
| <tt>end beginGame</tt>
 
| <tt>end beginGame</tt>
| ''Used only during the introduction sequence in the bus stop event.'' It sets the game mode to <tt>playingGameMode</tt>, warps the player to the farmhouse (9, 9), ends the current event, and starts a new day.
+
| ''Используется только во время последовательности введения в событии автобусной остановки.'' Устанавливает режим игры в <tt>playingGameMode</tt>, переносит игрока на ферму (9, 9), завершает текущее событие и начинает новый день.
 
|-
 
|-
 
| <tt>end credits</tt>
 
| <tt>end credits</tt>
| ''Not used in any normal events.'' Clears debris weather, changes the music to wedding music, sets game mode to <tt>creditsMode</tt> and ends the current event.
+
| ''Не используется ни в каких обычных событиях'' Очищает погоду, меняет музыку на свадебную, устанавливает режим игры на <tt>creditsMode</tt> и завершает текущее событие.
 
|-
 
|-
 
| <tt>end dialogue {{t|NPC}} {{t|"Text for next chat"}}</tt>
 
| <tt>end dialogue {{t|NPC}} {{t|"Text for next chat"}}</tt>
| Same as <tt>end</tt>, and additionally clears the existing NPC dialogue for the day and replaces it with the line(s) specified at the end of the command. Example usage: ''end dialogue Abigail "It was fun talking to you today.$h"''
+
| То же, что и <tt>end</tt>, так же дополнительно очищает существующий диалог NPC за день и заменяет его строкой(строками), указанными в конце команды. Пример использования: ''end dialogue Abigail "It was fun talking to you today.$h"''
 
|-
 
|-
 
| <tt>end dialogueWarpOut {{t|NPC}} {{t|"Text for next chat"}}</tt>
 
| <tt>end dialogueWarpOut {{t|NPC}} {{t|"Text for next chat"}}</tt>
| See <tt>end dialogue</tt> and <tt>end warpOut</tt>.
+
| Смотри <tt>end dialogue</tt> и <tt>end warpOut</tt>.
 
|-
 
|-
 
| <tt>end invisible {{t|NPC}}</tt>
 
| <tt>end invisible {{t|NPC}}</tt>
| Same as <tt>end</tt>, and additionally turns the specified NPC invisible (cannot be interacted with until the next day).
+
| То же, что и <tt>end</tt>, и дополнительно делает указанного NPC невидимым (с ним нельзя взаимодействовать до следующего дня).
 
|-
 
|-
 
| <tt>end invisibleWarpOut {{t|NPC}}</tt>
 
| <tt>end invisibleWarpOut {{t|NPC}}</tt>
| See <tt>end invisible</tt> and <tt>end warpOut</tt>.
+
| Смотри <tt>end invisible</tt> и <tt>end warpOut</tt>.
 
|-
 
|-
 
| <tt>end newDay</tt>
 
| <tt>end newDay</tt>
| Ends both the event and the day (warping player to their bed, saving the game, selling everything in the shipping box, etc).
+
| Заканчивает событие и день (укладывание игрока в постель, сохраняет игру, продаёт всё в коробке для доставки и т.д.).
 
|-
 
|-
 
| <tt>end position {{t|x}} {{t|y}}</tt>
 
| <tt>end position {{t|x}} {{t|y}}</tt>
| Same as <tt>end</tt>, and additionally warps the player to the map coordinates specified in ''x y''.
+
| То же, что и <tt>end</tt>, и дополнительно перемещает игрока к координатам карты, указанным в ''x y''.
 
|-
 
|-
 
| <tt>end warpOut</tt>
 
| <tt>end warpOut</tt>
| Same as <tt>end</tt>, and additionally finds the first warp out of the current location (second warp if male and in the bathhouse), and warps the player to its endpoint.
+
| То же, что и <tt>end</tt>, и дополнительно находит первую warp-зону вне текущего местоположения (вторая warp-зона, если мужчина и в бане), и перемещает игрока к его конечной точке.
 
|-
 
|-
 
| <tt>end wedding</tt>
 
| <tt>end wedding</tt>
| ''Used only in the hardcoded wedding event.'' Changes the character's clothes back to normal, sets Lewis' post-event chat to ''"That was a beautiful ceremony. Congratulations!$h"'', and warps the player to their farm.
+
| ''Используется только в жестко закодированном свадебном мероприятии.'' Меняет одежду персонажа на обычную, устанавливает чат Льюиса после события на ''"Это была прекрасная церемония. Поздравляю!$h"'', и переносит игрока на ферму.
 
|-
 
|-
 
| <tt>extendSourceRect {{t|actor}} reset</tt>
 
| <tt>extendSourceRect {{t|actor}} reset</tt>
| Resets the actors sprite.
+
| Сбрасывает спрайты актеров.
 
|-
 
|-
 
| <tt>extendSourceRect {{t|actor}} {{t|horizontal}} {{t|vertical}} {{o|ignoreUpdates}}</tt>
 
| <tt>extendSourceRect {{t|actor}} {{t|horizontal}} {{t|vertical}} {{o|ignoreUpdates}}</tt>
| TODO: Explain Character.extendSourceRect
+
| TODO: Описывает Character.extendSourceRect
 
|-
 
|-
 
| <tt>eyes {{t|eyes}} {{t|blink}}</tt>
 
| <tt>eyes {{t|eyes}} {{t|blink}}</tt>
| Change the player's eyes. Eyes is represented by and Integer from 0 - 5 (open, closed, right, left, half closed, wide open). Blink is a timer that is represented with a negative number. -1000 is the default timer.  
+
| Измените глаза игрока. Глаза представлены целым числом от 0 до 5 (открытые, закрытые, правый, левый, полузакрытые, широко открытые). Моргание - таймер, который представлен отрицательным числом. -1000 таймер по умолчанию.  
 
|-
 
|-
 
| <tt>faceDirection {{t|actor}} {{t|direction}} {{o|continue}}</tt>
 
| <tt>faceDirection {{t|actor}} {{t|direction}} {{o|continue}}</tt>
| Make a named NPC face a [[#Directions|direction]]. If no parameter is supplied for [continue], the game will pause.
+
| Столкнуть NPC с [[#Направления|направлением]]. Если параметр не указан для [continue], игра будет приостановлена.
 
|-
 
|-
 
| <tt>fade {{o|unfade}}</tt>
 
| <tt>fade {{o|unfade}}</tt>
| Fades out to black if no parameter is supplied. If the parameter is <tt>unfade</tt> (not <tt>true</tt>), fades in from black.
+
| Становится черным, если параметр не указан. Если параметр равен <tt>unfade</tt> (не <tt>true</tt>), исчезает в чёрный.
 
|-
 
|-
 
| <tt>farmerAnimation {{t|anim}}</tt>
 
| <tt>farmerAnimation {{t|anim}}</tt>
| Briefly sets the farmer's sprite to {{t|anim}} for a variable (depending on sprite) interval. Only used once in vanilla events. Using <tt>showFrame farmer <sprite></tt> twice (to set a new frame and back) is more powerful as it lets you control the interval using <tt>pause n</tt>.
+
| Кратко устанавливает спрайт фермера в {{t|anim}} для переменного (в зависимости от спрайта) интервала. Используется только один раз в ванильных событиях. Использование <tt>showFrame farmer <sprite></tt> дважды (чтобы установить новый кадр и переключить обратно) является более целесообразным, так как позволяет управлять интервалом с помощью <tt>pause n</tt>.
 
|-
 
|-
 
| <tt>farmerEat {{t|object ID}}</tt>
 
| <tt>farmerEat {{t|object ID}}</tt>
| Make the player eat an object
+
| Заставляет игрока съесть предмет.
 
|-
 
|-
 
| <tt>fork {{o|req}} {{t|event ID}}</tt>
 
| <tt>fork {{o|req}} {{t|event ID}}</tt>
| End the current command script and starts a different script with the given ID, but only if the {{o|req}} condition is met. (Example: <tt>/fork choseWizard finalBossWizard</tt> in the ''"Necromancer"'' script of Sebastian's 6-heart event.) The {{o|req}} condition can be a mail ID or dialogue answer ID; if not specified, it checks if the <tt>specialEventVariable1</tt> variable was set (e.g. by a <tt>question</tt> event command or <tt>%fork</tt> dialogue command). The new script should have the same format as a normal event script, but without the mandatory three start fields.
+
| Завершите текущий командный сценарий и запустите другой сценарий с заданным ID, но только в том случае, если {{o|req}} условие выполнено. (Например: <tt>/fork choseWizard finalBossWizard</tt> в сценарии 6-сердечного события Себастьяна.) {{o|req}}условием может быть ID письма или ID ответа в диалоге; если не указано, проверяет, соответствует ли <tt>specialEventVariable1</tt> переменная была установлена (т.е. от <tt>question</tt> команды события или <tt>%fork</tt> команды диалога). Новый сценарий должен иметь тот же формат, что и обычный сценарий событий, но без обязательных трех начальных полей.
 
|-
 
|-
 
| <tt>friendship {{t|npc}} {{t|amount}}</tt>
 
| <tt>friendship {{t|npc}} {{t|amount}}</tt>
| Add the given number of friendship points with the named NPC. (There are 250 points per heart.)
+
| Добавьте заданное количество очков дружбы с NPC. (На каждое сердце приходится 250 очков.)
 
|-
 
|-
 
| <tt>globalFade {{o|speed}}</tt>
 
| <tt>globalFade {{o|speed}}</tt>
| Fade to black at a particular speed (default 0.007). If no speed is specified, the event will continue immediately; otherwise, it will continue after the fade is finished. The fade effect disappears when this command is done; to avoid that, use the <tt>viewport</tt> command to move the camera off-screen.
+
| Исчезает до черного с определённой скоростью (по умолчанию 0,007). Если скорость не указана, событие продолжится немедленно; в противном случае оно продолжится после завершения затухания. Эффект затухания исчезает после выполнения этой команды; чтобы избежать этого, используйте команду <tt>viewport</tt> для перемещения камеры за пределы экрана.
 
|-
 
|-
 
| <tt>globalFadeToClear {{o|speed}}</tt>
 
| <tt>globalFadeToClear {{o|speed}}</tt>
| Fade to clear (unfade?) at a particular speed (default 0.007). If no speed is specified, the event will continue immediately; otherwise, it will continue after the fade is finished.
+
| Очищает затемнение с определённой скоростью (по умолчанию 0.007). Если скорость не указана, событие продолжится немедленно; в противном случае оно продолжится после завершения затухания.
 
|-
 
|-
 
| <tt>glow {{t|r}} {{t|g}} {{t|b}} {{t|hold}}</tt>
 
| <tt>glow {{t|r}} {{t|g}} {{t|b}} {{t|hold}}</tt>
| Make the screen glow once, fading into and out of the {{t|r}} {{t|g}} {{t|b}} values over the course of a second. If {{t|hold}} is <tt>true</tt> it will fade to and hold that color until <tt>stopGlowing</tt> is used.
+
| Заставьте экран светиться один раз, растворяясь в и появляясь из {{t|r}} {{t|g}} {{t|b}} значений в течении секунды. Если  {{t|hold}} равна <tt>true</tt> экран поблекнет и сохранит этот цвет до тех пор, пока не будет использована команда <tt>stopGlowing</tt>.
 
|-
 
|-
 
| <tt>grandpaCandles</tt>
 
| <tt>grandpaCandles</tt>
| Do grandpa candles
+
| Do grandpa candles.
 
|-
 
|-
 
| <tt>grandpaEvaluation</tt>
 
| <tt>grandpaEvaluation</tt>
| Do grandpa evaluation
+
| Do grandpa evaluation.
 
|-
 
|-
 
| <tt>grandpaEvaluation2</tt>
 
| <tt>grandpaEvaluation2</tt>
| Do grandpa evaluation (manually resummoned)
+
| Do grandpa evaluation (manually resummoned).
 
|-
 
|-
 
| <tt>halt</tt>
 
| <tt>halt</tt>
Строка 408: Строка 408:  
|-
 
|-
 
| <tt>ignoreCollisions {{t|character ID}}</tt>
 
| <tt>ignoreCollisions {{t|character ID}}</tt>
| Make a character ignore collisions when moving for the remainder of the event. For example, they'll walk through walls if needed to reach their destination. The character ID can be <tt>farmer</tt> or an NPC name like <tt>Abigail</tt>.
+
| Заставьте персонажа игнорировать столкновения при перемещении в течение оставшейся части события. Например, персонаж пройдёт сквозь стены, если потребуется, чтобы добраться до места назначения. ID персонажа может быть равен <tt>farmer</tt> или имя NPC, например, <tt>Abigail</tt>.
 
|-
 
|-
 
| <tt>itemAboveHead {{o|type}}</tt>
 
| <tt>itemAboveHead {{o|type}}</tt>
| Show an item above the player's head. The {{o|type}} can be "pan", "hero", "sculpture", "joja", "slimeEgg", "rod", "sword", or "ore". If no item is specified, then they will 'hold' nothing?
+
| Показать предмет над головой игрока. {{o|type}} Может быть равен "pan", "hero", "sculpture", "joja", "slimeEgg", "rod", "sword", или "ore". Если ни один элемент не указан, то игроку будет нечего "держать"?
 
|-
 
|-
 
| <tt>jump {{t|actor}} {{o|intensity}}</tt>
 
| <tt>jump {{t|actor}} {{o|intensity}}</tt>
| Make a the named NPC jump. The default <tt>intensity</tt> is 8.
+
| Заставить NPC подпрыгнуть. По умолчанию <tt>intensity</tt> равна 8.
 
|-
 
|-
 
| <tt>loadActors {{t|layer}}</tt>
 
| <tt>loadActors {{t|layer}}</tt>
| Load the actors from a layer in the map file.
+
| Загрузить актеров из указанного слоя в файле карты.
 
|-
 
|-
 
| <tt>makeInvisible {{t|x}} {{t|y}} {{o|x-dimension}} {{o|y-dimension}}</tt>
 
| <tt>makeInvisible {{t|x}} {{t|y}} {{o|x-dimension}} {{o|y-dimension}}</tt>
| Temporarily hides selected objects or terrain features: the tile(s) will become passable for the duration of the event. Useful for clearing a walking area during events, especially in the FarmHouse. (Example: <tt>/makeInvisible 8 14</tt> hides any object or terrain feature at tile 8, 14 in the current map.) The optional {{o|x-dimension}} and {{o|y-dimension}} arguments allow you to specify a larger area to be cleared. (Example: <tt>/makeInvisible 68 36 13 7</tt> in Leah's 14-heart event clears a 13 × 7 tile rectangular area with the top-left corner at coordinate 68, 36.)
+
| Временно скрывает выбранные объекты: плитка станет проходимой на время события. Полезно для расчистки пешеходной зоны во время мероприятий, особенно в фермерском доме.(Например: <tt>/makeInvisible 8 14</tt> скрывает любой объект на плитках 8, 14 текущей карты.) Необязательные аргументы {{o|x-dimension}} и {{o|y-dimension}}позволяет указать большую область, подлежащую очистке. (Например: <tt>/makeInvisible 68 36 13 7</tt> в событии Лии 14 сердец очищается прямоугольная область размером 13 × 7 плиток с верхним левым углом в координатах 68, 36.)
 
|-
 
|-
 
| <tt>mail {{t|letter ID}}</tt>
 
| <tt>mail {{t|letter ID}}</tt>
| Queue a letter to be received tomorrow (see <tt>Content\Data\mail.xnb</tt> for available mail).
+
| Установить очередь письма на завтра (смотри <tt>Content\Data\mail.xnb</tt> для просмотра доступных писем).
 
|-
 
|-
 
| <tt>message "{{t|text}}"</tt>
 
| <tt>message "{{t|text}}"</tt>
| Show a dialogue box (no speaker). See [[#Dialogue format|dialogue format]] for the {{t|text}} format.
+
| Показать диалоговое окно (без персонажа). Смотри [[#Dialogue format|формат диалога]] для форматирования {{t|text}}.
 
|-
 
|-
 
| <tt>minedeath</tt>
 
| <tt>minedeath</tt>
602

правки