This commit is contained in:
Pascal Grossé 2020-06-18 18:46:07 +02:00
commit f116eb2460
10 changed files with 109 additions and 81 deletions

View File

@ -480,6 +480,21 @@
<key>scale9FromFile</key> <key>scale9FromFile</key>
<false/> <false/>
</struct> </struct>
<key type="filename">sprites/misc/lock_direction_indicator.png</key>
<struct type="IndividualSpriteSettings">
<key>pivotPoint</key>
<point_f>0.5,0.5</point_f>
<key>spriteScale</key>
<double>1</double>
<key>scale9Enabled</key>
<false/>
<key>scale9Borders</key>
<rect>12,12,24,24</rect>
<key>scale9Paddings</key>
<rect>12,12,24,24</rect>
<key>scale9FromFile</key>
<false/>
</struct>
<key type="filename">sprites/misc/storage_overlay.png</key> <key type="filename">sprites/misc/storage_overlay.png</key>
<struct type="IndividualSpriteSettings"> <struct type="IndividualSpriteSettings">
<key>pivotPoint</key> <key>pivotPoint</key>

View File

@ -1,4 +1,9 @@
export const CHANGELOG = [ export const CHANGELOG = [
{
version: "1.1.16",
date: "unreleased",
entries: ["Fix belt planner not placing the last belt"],
},
{ {
version: "1.1.15", version: "1.1.15",
date: "17.06.2020", date: "17.06.2020",

View File

@ -393,9 +393,9 @@ export class HUDBuildingPlacerLogic extends BaseHUDPart {
const pathFromCorner = mouseTile.sub(this.currentDirectionLockCorner); const pathFromCorner = mouseTile.sub(this.currentDirectionLockCorner);
const deltaFromCorner = pathFromCorner.normalize().round(); const deltaFromCorner = pathFromCorner.normalize().round();
const lengthFromCorner = Math_round(pathFromCorner.length()); const lengthFromCorner = Math_round(pathFromCorner.length());
rotation = (Math.round(Math_degrees(deltaFromCorner.angle()) / 90) * 90 + 360) % 360;
if (lengthFromCorner > 0) { if (lengthFromCorner > 0) {
rotation = (Math.round(Math_degrees(deltaFromCorner.angle()) / 90) * 90 + 360) % 360;
for (let i = 0; i < lengthFromCorner + 1; ++i) { for (let i = 0; i < lengthFromCorner + 1; ++i) {
result.push({ result.push({
tile: currentPos.copy(), tile: currentPos.copy(),
@ -403,6 +403,12 @@ export class HUDBuildingPlacerLogic extends BaseHUDPart {
}); });
currentPos.addInplace(deltaFromCorner); currentPos.addInplace(deltaFromCorner);
} }
} else {
// Finish last one
result.push({
tile: currentPos.copy(),
rotation,
});
} }
return result; return result;
} }

View File

@ -156,7 +156,11 @@ mainMenu:
contestOver: Ce concours est terminé - Rejoignez le serveur discord pour être tenu au courant des prochains concours ! contestOver: Ce concours est terminé - Rejoignez le serveur discord pour être tenu au courant des prochains concours !
continue: Continuer continue: Continuer
newGame: Nouvelle partie newGame: Nouvelle partie
<<<<<<< HEAD
madeBy: Écrit par <author-link> madeBy: Écrit par <author-link>
=======
madeBy: Créé par <author-link>
>>>>>>> d6c1cb15f6854d88490fb76d3f5fe4729b3477be
dialogs: dialogs:
buttons: buttons:

View File

@ -153,8 +153,8 @@ mainMenu:
showInfo: View showInfo: View
contestOver: This contest has ended - Join the discord to get noticed about new contests! contestOver: This contest has ended - Join the discord to get noticed about new contests!
continue: Continue continue: 続きから
newGame: New Game newGame: 新規ゲーム
madeBy: Made by <author-link> madeBy: Made by <author-link>
dialogs: dialogs:
@ -284,8 +284,8 @@ ingame:
createMarker: マーカー設置 createMarker: マーカー設置
delete: 削除 delete: 削除
pasteLastBlueprint: ブループリントの内容を設置 pasteLastBlueprint: ブループリントの内容を設置
lockBeltDirection: Enable belt planner lockBeltDirection: ベルトプランナーを有効化
plannerSwitchSide: Flip planner side plannerSwitchSide: プランナーが通る側を反転
# Everything related to placing buildings (I.e. as soon as you selected a building # Everything related to placing buildings (I.e. as soon as you selected a building
# from the toolbar) # from the toolbar)
@ -677,15 +677,14 @@ settings:
super_fast: 超速 super_fast: 超速
extremely_fast: 超々速 extremely_fast: 超々速
enableTunnelSmartplace: enableTunnelSmartplace:
title: Smart Tunnels title: スマートトンネル
description: >- description: >-
When enabled, placing tunnels will automatically remove unnecessary belts. 有効にすると、トンネルを設置した際に不要なベルトを自動的に除去します。
This also enables to drag tunnels and excess tunnels will get removed. また、トンネルをドラッグできるようになり、不要なトンネルは除去されます。
vignette: vignette:
title: Vignette title: ビネット
description: >- description: >-
Enables the vignette which darkens the screen corners and makes text easier 画面の隅を暗くして文字を読みやすくするビネットを有効化します。
to read.
keybindings: keybindings:
title: キー設定 title: キー設定
@ -751,8 +750,8 @@ keybindings:
massSelectCut: 範囲カット massSelectCut: 範囲カット
exportScreenshot: 工場の全体像を画像出力 exportScreenshot: 工場の全体像を画像出力
mapMoveFaster: より速く移動 mapMoveFaster: より速く移動
lockBeltDirection: Enable belt planner lockBeltDirection: ベルトプランナーを有効化
switchDirectionLockSide: 'Planner: Switch side' switchDirectionLockSide: 'プランナー: 通る側を切り替え'
about: about:
title: このゲームについて title: このゲームについて

View File

@ -76,10 +76,10 @@ global:
# The suffix for large numbers, e.g. 1.3k, 400.2M, etc. # The suffix for large numbers, e.g. 1.3k, 400.2M, etc.
suffix: suffix:
thousands: k thousands: d
millions: M millions: M
billions: B billions: MJ
trillions: T trillions: B
# Shown for infinitely big numbers # Shown for infinitely big numbers
infinite: inf infinite: inf
@ -108,7 +108,7 @@ global:
alt: ALT alt: ALT
escape: ESC escape: ESC
shift: SHIFT shift: SHIFT
space: SPACE space: SPATIE
demoBanners: demoBanners:
# This is the "advertisement" shown in the main menu and other various places # This is the "advertisement" shown in the main menu and other various places
@ -153,15 +153,15 @@ mainMenu:
showInfo: Laat zien showInfo: Laat zien
contestOver: Deze competitie is voorbij - word lid van de discord (engelstalig) om berichten te krijgen van nieuwe competities! contestOver: Deze competitie is voorbij - word lid van de discord (engelstalig) om berichten te krijgen van nieuwe competities!
continue: Continue continue: Verder
newGame: New Game newGame: Niew Spel
madeBy: Made by <author-link> madeBy: Gemaakt door <author-link>
dialogs: dialogs:
buttons: buttons:
ok: OK ok: OK
delete: Delete delete: Verwijder
cancel: Cancel cancel: Annuleer
later: Later later: Later
restart: Herstarten restart: Herstarten
reset: Reset reset: Reset
@ -421,11 +421,11 @@ buildings:
miner: # Internal name for the Extractor miner: # Internal name for the Extractor
default: default:
name: &miner Extractor name: &miner Ontginner
description: Plaats op een vorm of kleur om deze te ontginnen. description: Plaats op een vorm of kleur om deze te ontginnen.
chainable: chainable:
name: Extractor (Ketting) name: Ontginner (Ketting)
description: Plaats op een vorm of kleur om deze te ontginnen. Kan achter elkaar worden geplaatst. description: Plaats op een vorm of kleur om deze te ontginnen. Kan achter elkaar worden geplaatst.
underground_belt: # Internal name for the Tunnel underground_belt: # Internal name for the Tunnel

View File

@ -155,7 +155,7 @@ mainMenu:
contestOver: Denne konkurransen er ferdig - Bli med på discord for å få varsel om nye konkurranser! contestOver: Denne konkurransen er ferdig - Bli med på discord for å få varsel om nye konkurranser!
continue: Fortsett continue: Fortsett
newGame: Nytt Spill newGame: Nytt Spill
madeBy: Made by <author-link> madeBy: Laget av <author-link>
dialogs: dialogs:
buttons: buttons:
@ -283,8 +283,8 @@ ingame:
createMarker: Lag Markør createMarker: Lag Markør
delete: Ødelegg delete: Ødelegg
pasteLastBlueprint: Lim inn forrige blåkopi pasteLastBlueprint: Lim inn forrige blåkopi
lockBeltDirection: Enable belt planner lockBeltDirection: Aktiver båndplanleggeren
plannerSwitchSide: Flip planner side plannerSwitchSide: Flipp båndplanleggeren
# Everything related to placing buildings (I.e. as soon as you selected a building # Everything related to placing buildings (I.e. as soon as you selected a building
# from the toolbar) # from the toolbar)
@ -677,15 +677,15 @@ settings:
Om du ønsker hint og opplæring mens du spiller. Skjuler også enkelte elementer i brukergrensesnittet inntil spesifike nivå for å enklere komme i gang med spillet. Om du ønsker hint og opplæring mens du spiller. Skjuler også enkelte elementer i brukergrensesnittet inntil spesifike nivå for å enklere komme i gang med spillet.
enableTunnelSmartplace: enableTunnelSmartplace:
title: Smart Tunnels title: Smarte Tuneller
description: >- description: >-
When enabled, placing tunnels will automatically remove unnecessary belts. Når aktivert, plassering av tuneller vil automatisk fjerne unødvendige bånd.
This also enables to drag tunnels and excess tunnels will get removed. Dette lar deg også dra og slippe tuneller, og overflødige tuneller blir fjernet.
vignette: vignette:
title: Vignette title: Vignett
description: >- description: >-
Enables the vignette which darkens the screen corners and makes text easier Aktiverer vignett som gjør hjørnene på skjermen mørkere og teksten lettere
to read. å lese.
keybindings: keybindings:
title: Hurtigtaster title: Hurtigtaster

View File

@ -155,7 +155,7 @@ mainMenu:
contestOver: Este concurso terminou - Entra no discord para seres notificado quando abrirem novos concursos! contestOver: Este concurso terminou - Entra no discord para seres notificado quando abrirem novos concursos!
continue: Continuar continue: Continuar
newGame: Novo Jogo newGame: Novo Jogo
madeBy: Made by <author-link> madeBy: Criado por <author-link>
dialogs: dialogs:
buttons: buttons:
@ -284,8 +284,8 @@ ingame:
createMarker: Criar marco createMarker: Criar marco
delete: Destruir delete: Destruir
pasteLastBlueprint: Colar o último blueprint pasteLastBlueprint: Colar o último blueprint
lockBeltDirection: Enable belt planner lockBeltDirection: Ativa o planeamento de tapetes
plannerSwitchSide: Flip planner side plannerSwitchSide: Lado de rotação do planeamento
# Everything related to placing buildings (I.e. as soon as you selected a building # Everything related to placing buildings (I.e. as soon as you selected a building
# from the toolbar) # from the toolbar)
@ -296,7 +296,7 @@ ingame:
# Shows the hotkey in the ui, e.g. "Hotkey: Q" # Shows the hotkey in the ui, e.g. "Hotkey: Q"
hotkeyLabel: >- hotkeyLabel: >-
Hotkey: <key> Atalho: <key>
infoTexts: infoTexts:
speed: Velocidade speed: Velocidade
@ -417,7 +417,7 @@ buildings:
belt: belt:
default: default:
name: &belt Tapete Rolante name: &belt Tapete Rolante
description: Transporta items, mantém pressionado e arrasta para colocar vários. description: Transporta items. Mantém pressionado e arrasta para colocar vários.
miner: # Internal name for the Extractor miner: # Internal name for the Extractor
default: default:
@ -676,15 +676,15 @@ settings:
super_fast: Muito rádida super_fast: Muito rádida
extremely_fast: Extremamente rápida extremely_fast: Extremamente rápida
enableTunnelSmartplace: enableTunnelSmartplace:
title: Smart Tunnels title: Túneis inteligentes
description: >- description: >-
When enabled, placing tunnels will automatically remove unnecessary belts. Quando ativo, a colocação de túneis removerá tapetes desnecessários automaticamente.
This also enables to drag tunnels and excess tunnels will get removed. Isto também permite arrastar túneis e túneis supérfluos serão removidos.
vignette: vignette:
title: Vignette title: Vinheta
description: >- description: >-
Enables the vignette which darkens the screen corners and makes text easier Ativa a vinheta, que escurece os cantos do ecrã e torna a leitura do texto
to read. mais fácil.
keybindings: keybindings:
title: Atalhos title: Atalhos
@ -750,8 +750,8 @@ keybindings:
massSelectCut: Cortar área massSelectCut: Cortar área
exportScreenshot: Exportar a base como uma imagem exportScreenshot: Exportar a base como uma imagem
mapMoveFaster: Mover rapidamente mapMoveFaster: Mover rapidamente
lockBeltDirection: Enable belt planner lockBeltDirection: Ativa o planeamento de tapetes
switchDirectionLockSide: 'Planner: Switch side' switchDirectionLockSide: 'Planeador: Troca o lado'
about: about:
title: Sobre o jogo title: Sobre o jogo
body: >- body: >-

View File

@ -21,7 +21,7 @@
steamPage: steamPage:
# This is the short text appearing on the steam page # This is the short text appearing on the steam page
shortText: shapez.io это игра о строительстве фабрик для автоматизации создания и объединения все более сложных фигур на бесконечной карте. shortText: shapez.io это игра о строительстве фабрик для автоматизации создания и объединения все более сложных фигур на бесконечной карте.
# This is the long description for the steam page - It is contained here so you can help to translate it, and I will regulary update the store page. # This is the long description for the steam page - It is contained here so you can help to translate it, and I will regulary update the store page.
# NOTICE: # NOTICE:
@ -30,7 +30,7 @@ steamPage:
longText: >- longText: >-
[img]{STEAM_APP_IMAGE}/extras/store_page_gif.gif[/img] [img]{STEAM_APP_IMAGE}/extras/store_page_gif.gif[/img]
shapez.io это игра о строительстве фабрик для автоматизации создания и объединения фигур. Доставляйте запрошенные, все более сложные фигуры, чтобы развиваться в игре и разблокировать улучшения, чтобы ускорить работу вашей фабрики. shapez.io это игра о строительстве фабрик для автоматизации создания и объединения фигур. Доставляйте запрошенные, все более сложные фигуры, чтобы развиваться в игре и разблокировать улучшения, чтобы ускорить работу вашей фабрики.
Поскольку спрос растет, вам придется увеличивать свою фабрику, чтобы соответствовать потребностям. Однако, не забывайте о ресурсах, несмотря на то что вы будете расширятся на [b]бесконечной карте[/b]! Поскольку спрос растет, вам придется увеличивать свою фабрику, чтобы соответствовать потребностям. Однако, не забывайте о ресурсах, несмотря на то что вы будете расширятся на [b]бесконечной карте[/b]!
@ -76,10 +76,10 @@ global:
# The suffix for large numbers, e.g. 1.3k, 400.2M, etc. # The suffix for large numbers, e.g. 1.3k, 400.2M, etc.
suffix: suffix:
thousands: \xa0тыс. thousands: тыс.
millions: \xa0млн millions: млн
billions: \xa0млрд billions: млрд
trillions: \xa0трлн trillions: трлн
# Shown for infinitely big numbers # Shown for infinitely big numbers
infinite: infinite:
@ -154,9 +154,9 @@ mainMenu:
showInfo: Посмотреть showInfo: Посмотреть
contestOver: Этот конкурс закончился - присоединяйтесь в дискорде, чтобы получать уведомления о новых конкурсах! contestOver: Этот конкурс закончился - присоединяйтесь в дискорде, чтобы получать уведомления о новых конкурсах!
continue: Continue continue: Продолжить
newGame: New Game newGame: Новая Игра
madeBy: Made by <author-link> madeBy: Создано <author-link>
dialogs: dialogs:
buttons: buttons:
@ -232,7 +232,7 @@ dialogs:
desc: >- desc: >-
Все формы, которые вы производите, могут быть использованы для разблокировки Все формы, которые вы производите, могут быть использованы для разблокировки
улучшений - <strong>Не разрушайте свои старые фабрики!</strong> улучшений - <strong>Не разрушайте свои старые фабрики!</strong>
Вкладка обновлений находится в правом верхнем углу экрана. Вкладка улучшений находится в правом верхнем углу экрана.
massDeleteConfirm: massDeleteConfirm:
title: Подтвердить удаление title: Подтвердить удаление
desc: >- desc: >-
@ -287,8 +287,8 @@ ingame:
createMarker: Создать маркер createMarker: Создать маркер
delete: Удалить delete: Удалить
pasteLastBlueprint: Вставить последний чертеж pasteLastBlueprint: Вставить последний чертеж
lockBeltDirection: Enable belt planner lockBeltDirection: Включить конвейерный планировщик
plannerSwitchSide: Flip planner side plannerSwitchSide: Поменять местами стороны планировщика
# Everything related to placing buildings (I.e. as soon as you selected a building # Everything related to placing buildings (I.e. as soon as you selected a building
# from the toolbar) # from the toolbar)
@ -370,7 +370,7 @@ ingame:
buttons: buttons:
continue: Продолжить continue: Продолжить
settings: Настройки settings: Настройки
menu: Вернутся в меню menu: Вернуться в меню
# Bottom left tutorial hints # Bottom left tutorial hints
tutorialHints: tutorialHints:
@ -420,7 +420,7 @@ buildings:
belt: belt:
default: default:
name: &belt Конвейер name: &belt Конвейер
description: Транспортриует передметы, держите и тащите, чтобы разместить несколько. description: Транспортирует предметы, держите и тащите, чтобы разместить несколько.
miner: # Internal name for the Extractor miner: # Internal name for the Extractor
default: default:
@ -447,11 +447,11 @@ buildings:
compact: compact:
name: Соединитель name: Соединитель
description: Компактный - занимет всего одну клетку! Объединяет два конвейера в один. description: Компактный - занимает всего одну клетку! Объединяет два конвейера в один.
compact-inverse: compact-inverse:
name: Соединитель name: Соединитель
description: Компактный - занимет всего одну клетку! Объединяет два конвейера в один. description: Компактный - занимает всего одну клетку! Объединяет два конвейера в один.
cutter: cutter:
default: default:
@ -472,7 +472,7 @@ buildings:
stacker: stacker:
default: default:
name: &stacker Объединитель name: &stacker Объединитель
description: Объедининяет два предмета. Если они не могут быть соединены, правый элемент помещается над левым. description: Объединяет два предмета. Если они не могут быть соединены, правый элемент помещается над левым.
mixer: mixer:
default: default:
@ -482,10 +482,10 @@ buildings:
painter: painter:
default: default:
name: &painter Покрасчик name: &painter Покрасчик
description: &painter_desc Красит всю фигуру из левого входа красителем из верхнего. description: &painter_desc Красит всю фигуру из левого входа красителем из перпендикулярного.
double: double:
name: Покрасчик (2Вх.) name: Покрасчик (2Вх.)
description: Красит фигуру из левых входов красителем из верхнего. description: Красит фигуру из левых входов красителем из перпендикулярного.
quad: quad:
name: Покрасчик (4Вх.) name: Покрасчик (4Вх.)
description: Позволяет раскрасить каждую четверть фигуры разными цветами. description: Позволяет раскрасить каждую четверть фигуры разными цветами.
@ -519,7 +519,7 @@ storyRewards:
reward_painter: reward_painter:
title: Покраска title: Покраска
desc: >- desc: >-
Разблокирован <strong>покрасчик</strong>! Добудте краситель из жилы (так же как и фигуры) и объедините его с фигурой в покрасчике, чтобы раскрасить ее!<br><br>PS: Если вы дальтоник, я уже работаю над решением! Разблокирован <strong>покрасчик</strong>! Добудьте краситель из жилы (так же как и фигуры) и объедините его с фигурой в покрасчике, чтобы раскрасить ее!<br><br>PS: Если вы дальтоник, я уже работаю над решением!
reward_mixer: reward_mixer:
title: Смешивание Цветов title: Смешивание Цветов
@ -527,10 +527,10 @@ storyRewards:
reward_stacker: reward_stacker:
title: Объединитель title: Объединитель
desc: Теперь вы можете объединять фигурыw <strong>объединителем</strong>! Фигуры из обеих входов объединяются. Если они могут быть расположены рядом друг с другом, они будут <strong>соединены</strong>, иначе фигура из правого входа <strong>наложится</strong> на фигуру из левого! desc: Теперь вы можете объединять фигуры <strong>объединителем</strong>! Фигуры из обеих входов объединяются. Если они могут быть расположены рядом друг с другом, они будут <strong>соединены</strong>, иначе фигура из правого входа <strong>наложится</strong> на фигуру из левого!
reward_splitter: reward_splitter:
title: Разделитель / Соеденитель title: Разделитель / Соединитель
desc: Разблокирован многофункциональный <strong>разделитель</strong>! Его можно использовать для создания больших фабрик путем <strong>разделения и соединения</strong> конвейеров!<br><br> desc: Разблокирован многофункциональный <strong>разделитель</strong>! Его можно использовать для создания больших фабрик путем <strong>разделения и соединения</strong> конвейеров!<br><br>
reward_tunnel: reward_tunnel:
@ -627,7 +627,7 @@ settings:
language: language:
title: Язык title: Язык
description: >- description: >-
Выберите язык. Все переводы сделаны пользователями и могут быть незакончены! Выберите язык. Все переводы сделаны пользователями и могут быть не законченными!
fullscreen: fullscreen:
title: Полный экран title: Полный экран
@ -666,7 +666,7 @@ settings:
offerHints: offerHints:
title: Подсказки & Обучение title: Подсказки & Обучение
description: >- description: >-
Стоит ли предлагать подсказки и обучающий материал во время игры. Также скрывает определенные элементы пользовательского интерфейса для данного уровня, преднязначенные для облегчения "входа" в игру. Стоит ли предлагать подсказки и обучающий материал во время игры. Также скрывает определенные элементы пользовательского интерфейса для данного уровня, предназначенные для облегчения "входа" в игру.
movementSpeed: movementSpeed:
title: Скорость движения title: Скорость движения
@ -679,15 +679,14 @@ settings:
super_fast: Очень быстро super_fast: Очень быстро
extremely_fast: Чрезвычайно быстро extremely_fast: Чрезвычайно быстро
enableTunnelSmartplace: enableTunnelSmartplace:
title: Smart Tunnels title: Умные Туннели
description: >- description: >-
When enabled, placing tunnels will automatically remove unnecessary belts. Если включено, то при размещении туннелей автоматически удаляются ненужные конвейеры.
This also enables to drag tunnels and excess tunnels will get removed. Это также позволяет протягивать туннели, причем лишние туннели будут удалены.
vignette: vignette:
title: Vignette title: Виньетирование
description: >- description: >-
Enables the vignette which darkens the screen corners and makes text easier Включает виньетирование, которое затемняет углы экрана и облегчает чтение текста.
to read.
keybindings: keybindings:
title: Настройки управления title: Настройки управления
@ -753,11 +752,11 @@ keybindings:
massSelectCut: Вырезать область massSelectCut: Вырезать область
exportScreenshot: Экспорт всей Базы в виде Изображения exportScreenshot: Экспорт всей Базы в виде Изображения
mapMoveFaster: Ускорение передвижения mapMoveFaster: Ускорение передвижения
lockBeltDirection: Enable belt planner lockBeltDirection: Включает конвейерный планировщик
switchDirectionLockSide: 'Planner: Switch side' switchDirectionLockSide: 'Планировщик: Переключение сторон'
about: about:
title: О игре title: Об игре
body: >- body: >-
Эта игра с открытым исходным кодом, разработана <a href="https://github.com/tobspr" Эта игра с открытым исходным кодом, разработана <a href="https://github.com/tobspr"
target="_blank">Тобиасом Спрингером</a> (это я).<br><br> target="_blank">Тобиасом Спрингером</a> (это я).<br><br>
@ -777,7 +776,7 @@ about:
игровых сессий в factorio эта игра никогда не существовала бы. игровых сессий в factorio эта игра никогда не существовала бы.
changelog: changelog:
title: Список измений title: Список изменений
demo: demo:
features: features:

View File

@ -1 +1 @@
1.1.15 1.1.16