Изменения

Строка 191: Строка 191:  
| 0
 
| 0
 
| <tt>{{t|music ID}}</tt>
 
| <tt>{{t|music ID}}</tt>
| The background music or ambient background track to play. Can be changed later using <tt>playMusic <newmusic></tt>, or stopped entirely using <tt>stopMusic</tt>. This can also be <tt>none</tt> (which stops any existing music and uses the default ambient background noise for the location), or <tt>continue</tt> (which keeps playing the current background song).
+
| Фоновая музыка или фоновая дорожка для воспроизведения. Может быть изменен позже с помощью <tt>PlayMusic <newmusic></tt> или полностью остановлен с помощью <tt>stopMusic</tt>. Также может имет значение <tt>none</tt> (который останавливает любую существующую музыку и использует фоновый шум по умолчанию для местоположения) или <tt>continue</tt> (который продолжает воспроизводить текущую фоновую песню).
 
|-
 
|-
 
| 1
 
| 1
 
| <tt>{{t|x}} {{t|y}}</tt>
 
| <tt>{{t|x}} {{t|y}}</tt>
| The tile coordinates the camera should center on at the start of the event.
+
| Координаты, на которых должна быть сосредоточена камера, в начале события.
 
|-
 
|-
 
| 2
 
| 2
 
| <tt>[{{t|character ID}} {{t|x}} {{t|y}} {{t|direction}}]+</tt>
 
| <tt>[{{t|character ID}} {{t|x}} {{t|y}} {{t|direction}}]+</tt>
| Initialises one or more characters' starting tile positions and [[#Directions|directions]]. The character ID can be <tt>farmer</tt> or an NPC name like <tt>Abigail</tt>.
+
| Инициализирует начальные позиции одного или нескольких персонажей и их [[#Directions|направления]]. ID персонажа может быть <tt>farmer</tt> или NPC, например, <tt>Abigail</tt>.
 
|}
 
|}
   −
Those three commands may be followed by any sequence of the following commands:
+
За этими тремя командами может следовать любая последовательность следующих команд:
    
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! command
+
! Команда
! description
+
! Описание
 
|-
 
|-
 
| <tt>addBigProp {{t|x}} {{t|y}} {{t|object ID}}</tt>
 
| <tt>addBigProp {{t|x}} {{t|y}} {{t|object ID}}</tt>
| Adds an object at the specified tile from the <tt>TileSheets\Craftables.png</tt> sprite sheet.
+
| Добавляет объект на указанные координаты из таблицы листов <tt>\Craftables.png</tt> спрайт-листа.
 
|-
 
|-
 
| <tt>addConversationTopic {{t|ID}} {{o|length}}</tt>
 
| <tt>addConversationTopic {{t|ID}} {{o|length}}</tt>
| Starts a [[Modding:Dialogue#Conversation topics|conversation topic]] with the given ID and day length (or 4 days if no length given).
+
| Запускает [[Модификации:Диалоги#Темы для разговоров|тему для разговора]] с указанным ID и продолжительностью дня (или 4 дня, если продолжительность не указана).
 
|-
 
|-
 
| <tt>addCookingRecipe {{t|recipe}}</tt>
 
| <tt>addCookingRecipe {{t|recipe}}</tt>
| Adds the specified cooking recipe to the player.
+
| Добавляет указанный рецепт приготовления игроку.
 
|-
 
|-
 
| <tt>addCraftingRecipe {{t|recipe}}</tt>
 
| <tt>addCraftingRecipe {{t|recipe}}</tt>
| Adds the specified crafting recipe to the player.
+
| Добавляет указанный рецепт изготовления игроку.
 
|-
 
|-
 
| <tt>addFloorProp {{t|prop index}} {{t|x}} {{t|y}} {{o|solid width}} {{o|solid height}} {{o|display height}}</tt>
 
| <tt>addFloorProp {{t|prop index}} {{t|x}} {{t|y}} {{o|solid width}} {{o|solid height}} {{o|display height}}</tt>
| Add a non-solid prop from the current festival texture. Default solid width/height is 1. Default display height is solid height.
+
| Добавляет нетвердую опору из текущей текстуры фестиваля. По умолчанию ширина/высота равны 1. Высота дисплея по умолчанию равна высоте.
 
|-
 
|-
 
| <tt>addLantern {{t|row in texture}} {{t|x}} {{t|y}} {{t|light radius}}</tt>
 
| <tt>addLantern {{t|row in texture}} {{t|x}} {{t|y}} {{t|light radius}}</tt>
| Adds a glowing temporary sprite at the specified tile from the <tt>Maps\springobjects.png</tt> sprite sheet. A light radius of <tt>0</tt> just places the sprite.
+
| Добавляет светящийся временный спрайт на указанные координаты с листа спрайтов <tt>Maps\springobjects.png</tt>. Радиус света <tt>0</tt> просто помещает спрайт.
 
|-
 
|-
 
| <tt>addMailReceived {{t|letter ID}}</tt>
 
| <tt>addMailReceived {{t|letter ID}}</tt>
| Set a letter as received.
+
| Устанавливает статус письма на "полученное".
 
|-
 
|-
 
| <tt>addObject {{t|x}} {{t|y}} {{t|sprite index}} {{o|layer}} </tt>
 
| <tt>addObject {{t|x}} {{t|y}} {{t|sprite index}} {{o|layer}} </tt>
| Adds a temporary sprite at the specified tile from the <tt>Maps\springobjects.png</tt> sprite sheet.
+
| Добавляет временный спрайт на указанные координаты из листа спрайтов <tt>Maps\springobjects.png</tt>.
 
|-
 
|-
 
| <tt>addProp {{t|prop index}} {{t|x}} {{t|y}} {{o|solid width}} {{o|solid height}} {{o|display height}}</tt>
 
| <tt>addProp {{t|prop index}} {{t|x}} {{t|y}} {{o|solid width}} {{o|solid height}} {{o|display height}}</tt>
| Add a solid prop from the current festival texture. Default solid width/height is 1. Default display height is solid height.
+
| Добавьте твёрдую опору из текущей текстуры фестиваля. По умолчанию сплошная ширина/высота равна 1. Высота дисплея по умолчанию равна высоте.
 
|-
 
|-
 
| <tt>addQuest {{t|quest ID}}</tt>
 
| <tt>addQuest {{t|quest ID}}</tt>
| Add the specified quest to the quest log.
+
| Добавьте указанный квест в журнал заданий.
 
|-
 
|-
 
| <tt>addTemporaryActor {{t|character}} {{t|sprite width}} {{t|sprite height}} {{t|tile x}} {{t|tile y}} {{t|facing}} {{o|breather}} {{o|Character|Animal|Monster}} {{o|animal name}}</tt>
 
| <tt>addTemporaryActor {{t|character}} {{t|sprite width}} {{t|sprite height}} {{t|tile x}} {{t|tile y}} {{t|facing}} {{o|breather}} {{o|Character|Animal|Monster}} {{o|animal name}}</tt>
| Add a temporary actor. 'breather' is boolean. The category determines where the texture will be loaded from, default is Character. Animal name only applies to animal.
+
| Добавьте временного участника. 'breather' - это логическое значение. Категория определяет, откуда будет загружена текстура, по умолчанию используется Символ. Название животного относится только к животному.
 
|-
 
|-
 
| <tt>addToTable {{t|x}} {{t|y}} {{t|object ID}}</tt>
 
| <tt>addToTable {{t|x}} {{t|y}} {{t|object ID}}</tt>
| Places on object on the furniture at a position. If the location is FarmHouse, then it will always be placed on the initial table.
+
| Размещает предмет на мебели в определенном положении. Если местоположение - фермерский дом, то предмет всегда будет размещен на начальном столе.
 
|-
 
|-
 
| <tt>addTool {{t|Sword|Wand}}</tt>
 
| <tt>addTool {{t|Sword|Wand}}</tt>
| Adds either a Battered Sword or Return Scepter to the player's inventory. The ''Battered Sword'' is unobtainable in vanilla and is incomplete and not implemented.
+
| Добавляет либо Потрепанный Меч, либо Скипетр в инвентарь игрока. ''Потрепанный меч'' недоступен в ванильной версии, он неполон и не реализован.
 
|-
 
|-
 
| <tt>advancedMove {{t|npc}} {{t|loop}} {{t|x y}}...</tt>
 
| <tt>advancedMove {{t|npc}} {{t|loop}} {{t|x y}}...</tt>
| Set multiple movements for an NPC. You can set True to have NPC walk the path continuously. Example: <tt>/advancedMove Robin false 0 3 2 0 0 2 -2 0 0 -2 2 0/</tt>
+
| Установите несколько направлений для NPC. Вы можете установить значение True, чтобы NPC непрерывно шел по пути. Пример: <tt>/advancedMove Robin false 0 3 2 0 0 2 -2 0 0 -2 2 0/</tt>
 
|-
 
|-
 
| <tt>ambientLight {{t|r}} {{t|g}} {{t|b}}</tt>
 
| <tt>ambientLight {{t|r}} {{t|g}} {{t|b}}</tt>
| Modifies the ambient light level, with RGB values from 0 to 255. Note that it works by ''removing'' colors from the existing light ambience, so <tt>ambientLight 1 80 80</tt> would reduce green and blue and leave the light with a reddish hue.
+
| Изменяет уровень окружающего освещения со значениями RGB от 0 до 255. Обратите внимание, что он работает, "удаляя" цвета из существующей световой среды, поэтому <tt>AmbientLight 1 80 80</tt> уменьшит зеленый и синий цвета и оставит свет с красноватым оттенком.
 
|-
 
|-
 
| <tt>animalNaming</tt>
 
| <tt>animalNaming</tt>
| Show the animal naming menu if no other menu is open. Uses the current location as Coop. Appears to only work for 'hatched' animals.
+
| Показывает меню для названия животных, если другое меню не открыто. Использует текущее местоположение в качестве курятника. Работает только для 'вылупившихся' животных.
 
|-
 
|-
 
| <tt>animate {{t|actor}} {{t|flip}} {{t|loop}} {{t|frame duration}} {{t|frames...}}</tt>
 
| <tt>animate {{t|actor}} {{t|flip}} {{t|loop}} {{t|frame duration}} {{t|frames...}}</tt>
| Animate a named actor, using one or more {{t|frames}} from their sprite sheet, for {{t|frame duration}} milliseconds per frame. {{t|frames}} are indexed numerically, based on 16x32 peices of the image. This index increases as you go from left to right, starting from 0. {{t|flip}} indicates whether to flip the sprites along the Y axis; {{t|loop}} indicates whether to repeat the animation until <tt>stopAnimation</tt> is used.
+
| Анимирует именованного актера, используя один или несколько {{t|frames}} из спрайт-листа, в течении {{t|frame duration}} миллисекунд на кадр. {{t|frames}} индексируются численно, на основе 16x32 пикселей на кадр. Этот индекс увеличивается по мере продвижения слева направо, начиная с 0. {{t|flip}} указывает, следует ли переворачивать спрайты вдоль оси Y; {{t|loop}} указывает, следует ли повторять анимацию до тех пор, пока не будет использована функция <tt>stopAnimation</tt>.
 
|-
 
|-
 
| <tt>attachCharacterToTempSprite {{t|actor}}</tt>
 
| <tt>attachCharacterToTempSprite {{t|actor}}</tt>
| Attach an actor to the most recent temporary sprite.
+
| Прикрепляет актера к самому последнему временному спрайту.
 
|-
 
|-
 
| <tt>awardFestivalPrize</tt>
 
| <tt>awardFestivalPrize</tt>
| Awards the festival prize to the winner for the easter egg hunt and ice fishing contest.
+
| Присуждает приз фестиваля победителю конкурса охота за пасхальными яйцами и подледная рыбалка.
 
|-
 
|-
 
| <tt>awardFestivalPrize {{t|item type}}</tt>
 
| <tt>awardFestivalPrize {{t|item type}}</tt>
| Awards the specified item to the player. Possible item types are "pan", "sculpture", "rod", "sword", "hero", "joja", "slimeegg", "emilyClothes", and "jukebox".
+
| Награждает игрока указанным предметом. Возможные типы предметов: "pan", "sculpture", "rod", "sword", "hero", "joja", "slimeegg", "emilyClothes", и "jukebox".
 
|-
 
|-
 
| <tt>beginSimultaneousCommand</tt>
 
| <tt>beginSimultaneousCommand</tt>
| This command states that the next event commands will all be done at the same time. Must also have endSimultaneousCommand after the commands needed to execute at the same time.
+
| Эта команда указывает, что все команды следующего события будут выполняться одновременно. Также должна быть команда ''endSimultaneousCommand'' после команд, необходимых для одновременного выполнения.
 
|-
 
|-
 
| <tt>broadcastEvent</tt>
 
| <tt>broadcastEvent</tt>
| TODO: Explain broadcastEvent.
+
| TODO: Описывает broadcastEvent.
 
|-
 
|-
 
| <tt>catQuestion</tt>
 
| <tt>catQuestion</tt>
| Trigger question about adopting your pet.
+
| Диалоговое окно с вопросом об усыновлении вашего питомца.
 
|-
 
|-
 
| <tt>cave</tt>
 
| <tt>cave</tt>
| Trigger the question for the farm cave type. This will work again later, however changing from bats to mushrooms will not remove the mushroom spawning objects.
+
| Диалоговое окно для типа пещеры фермы. Это снова сработает позже, однако переход от летучих мышей к грибам не приведет к удалению объектов, порождающих грибы.
 
|-
 
|-
 
| <tt>changeLocation {{t|location}}</tt>
 
| <tt>changeLocation {{t|location}}</tt>
| Change to another location and run the remaining event script there.
+
| Перейти в другое место и запустить там оставшийся сценарий события.
 
|-
 
|-
 
| <tt>changeMapTile {{t|layer}} {{t|x}} {{t|y}} {{t|tile index}}</tt>
 
| <tt>changeMapTile {{t|layer}} {{t|x}} {{t|y}} {{t|tile index}}</tt>
| Change the specified tile to a particular value.
+
| Изменяет указанный тайл на определенное значение.
 
|-
 
|-
 
| <tt>changePortrait {{t|npc}} {{t|portrait}}</tt>
 
| <tt>changePortrait {{t|npc}} {{t|portrait}}</tt>
| Change the NPC's portrait to be from "Portraits/{{t|actor}}_{{t|portrait}}".
+
| Изменяет портрет NPC на "Portraits/{{t|actor}}_{{t|portrait}}".
 
|-
 
|-
 
| <tt>changeSprite {{t|actor}} {{t|sprite}}</tt>
 
| <tt>changeSprite {{t|actor}} {{t|sprite}}</tt>
| Change the actor's sprite to be from "Characters/{{t|actor}}_{{t|sprite}}".
+
| Изменяет спрайт актёра на "Characters/{{t|actor}}_{{t|sprite}}".
 
|-
 
|-
 
| <tt>changeToTemporaryMap {{t|map}} {{o|pan}}</tt>
 
| <tt>changeToTemporaryMap {{t|map}} {{o|pan}}</tt>
| Change the location to a temporary one loaded from the map file specified by {{t|map}}. If the {{o|pan}} argument is omitted, also pan to tile coordinates <tt>0, 0</tt> on the new map. If any value is given for {{o|pan}}, no panning occurs.
+
| Измените местоположение на временное, загруженное из файла карты, указанного в {{t|map}}. Если аргумент {{o|pan}} опущен, также переместите на плитку координаты <tt>0, 0</tt> на новой карте. Если для {{o|pan}} задано какое-либо значение, панорамирование не выполняется.
 
|-
 
|-
 
| <tt>changeYSourceRectOffset {{t|npc}} {{t|offset}}</tt>
 
| <tt>changeYSourceRectOffset {{t|npc}} {{t|offset}}</tt>
Строка 588: Строка 588:  
|}
 
|}
   −
Some commands are broken or unusable:
+
Некоторые команды не работают или непригодны для использования:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! command
+
! Команда
! description
+
! Описание
 
|-
 
|-
 
| <tt>grabObject {{t|object ID}}</tt>
 
| <tt>grabObject {{t|object ID}}</tt>
| '''Broken.''' Triggers a generic animation. The item ID is ignored and the item isn't added.
+
| '''Сломано.''' Запускает общую анимацию. Идентификатор элемента игнорируется, и элемент не добавляется.
 
|-
 
|-
 
| <tt>end busIntro</tt>
 
| <tt>end busIntro</tt>
| Supposed to start the bus intro scene, presumably the one that was cut before release.
+
| Предполагалось начать сцену вступления в автобус, предположительно ту, которая была вырезана перед выпуском.
 
|}
 
|}
   −
If a command begins with the two characters '--', it is ignored. This can be used to insert comments or to disable commands temporarily while debugging an event.
+
Если команда начинается с двух символов '--', она игнорируется. Это можно использовать для вставки комментариев или временного отключения команд во время отладки события.
    
===Directions===
 
===Directions===
602

правки