diff --git a/res_raw/atlas.tps b/res_raw/atlas.tps
index 9fc49444..07da7809 100644
--- a/res_raw/atlas.tps
+++ b/res_raw/atlas.tps
@@ -480,6 +480,21 @@
scale9FromFile
+ sprites/misc/lock_direction_indicator.png
+
+ pivotPoint
+ 0.5,0.5
+ spriteScale
+ 1
+ scale9Enabled
+
+ scale9Borders
+ 12,12,24,24
+ scale9Paddings
+ 12,12,24,24
+ scale9FromFile
+
+
sprites/misc/storage_overlay.png
pivotPoint
diff --git a/src/js/changelog.js b/src/js/changelog.js
index e28fab16..280ea50e 100644
--- a/src/js/changelog.js
+++ b/src/js/changelog.js
@@ -1,4 +1,9 @@
export const CHANGELOG = [
+ {
+ version: "1.1.16",
+ date: "unreleased",
+ entries: ["Fix belt planner not placing the last belt"],
+ },
{
version: "1.1.15",
date: "17.06.2020",
diff --git a/src/js/game/hud/parts/building_placer_logic.js b/src/js/game/hud/parts/building_placer_logic.js
index 5b452169..92ce44bd 100644
--- a/src/js/game/hud/parts/building_placer_logic.js
+++ b/src/js/game/hud/parts/building_placer_logic.js
@@ -393,9 +393,9 @@ export class HUDBuildingPlacerLogic extends BaseHUDPart {
const pathFromCorner = mouseTile.sub(this.currentDirectionLockCorner);
const deltaFromCorner = pathFromCorner.normalize().round();
const lengthFromCorner = Math_round(pathFromCorner.length());
- rotation = (Math.round(Math_degrees(deltaFromCorner.angle()) / 90) * 90 + 360) % 360;
if (lengthFromCorner > 0) {
+ rotation = (Math.round(Math_degrees(deltaFromCorner.angle()) / 90) * 90 + 360) % 360;
for (let i = 0; i < lengthFromCorner + 1; ++i) {
result.push({
tile: currentPos.copy(),
@@ -403,6 +403,12 @@ export class HUDBuildingPlacerLogic extends BaseHUDPart {
});
currentPos.addInplace(deltaFromCorner);
}
+ } else {
+ // Finish last one
+ result.push({
+ tile: currentPos.copy(),
+ rotation,
+ });
}
return result;
}
diff --git a/translations/base-fr.yaml b/translations/base-fr.yaml
index 149b96b4..9f43384f 100644
--- a/translations/base-fr.yaml
+++ b/translations/base-fr.yaml
@@ -156,7 +156,7 @@ mainMenu:
contestOver: Ce concours est terminé - Rejoignez le serveur discord pour être tenu au courant des prochains concours !
continue: Continuer
newGame: Nouvelle partie
- madeBy: Écrit par
+ madeBy: Créé par
dialogs:
buttons:
diff --git a/translations/base-ja.yaml b/translations/base-ja.yaml
index e76379a6..afda0215 100644
--- a/translations/base-ja.yaml
+++ b/translations/base-ja.yaml
@@ -153,8 +153,8 @@ mainMenu:
showInfo: View
contestOver: This contest has ended - Join the discord to get noticed about new contests!
- continue: Continue
- newGame: New Game
+ continue: 続きから
+ newGame: 新規ゲーム
madeBy: Made by
dialogs:
@@ -284,8 +284,8 @@ ingame:
createMarker: マーカー設置
delete: 削除
pasteLastBlueprint: ブループリントの内容を設置
- lockBeltDirection: Enable belt planner
- plannerSwitchSide: Flip planner side
+ lockBeltDirection: ベルトプランナーを有効化
+ plannerSwitchSide: プランナーが通る側を反転
# Everything related to placing buildings (I.e. as soon as you selected a building
# from the toolbar)
@@ -677,15 +677,14 @@ settings:
super_fast: 超速
extremely_fast: 超々速
enableTunnelSmartplace:
- title: Smart Tunnels
+ title: スマートトンネル
description: >-
- When enabled, placing tunnels will automatically remove unnecessary belts.
- This also enables to drag tunnels and excess tunnels will get removed.
+ 有効にすると、トンネルを設置した際に不要なベルトを自動的に除去します。
+ また、トンネルをドラッグできるようになり、不要なトンネルは除去されます。
vignette:
- title: Vignette
+ title: ビネット
description: >-
- Enables the vignette which darkens the screen corners and makes text easier
- to read.
+ 画面の隅を暗くして文字を読みやすくするビネットを有効化します。
keybindings:
title: キー設定
@@ -751,8 +750,8 @@ keybindings:
massSelectCut: 範囲カット
exportScreenshot: 工場の全体像を画像出力
mapMoveFaster: より速く移動
- lockBeltDirection: Enable belt planner
- switchDirectionLockSide: 'Planner: Switch side'
+ lockBeltDirection: ベルトプランナーを有効化
+ switchDirectionLockSide: 'プランナー: 通る側を切り替え'
about:
title: このゲームについて
diff --git a/translations/base-nl.yaml b/translations/base-nl.yaml
index 69feecd1..0faf9955 100644
--- a/translations/base-nl.yaml
+++ b/translations/base-nl.yaml
@@ -76,10 +76,10 @@ global:
# The suffix for large numbers, e.g. 1.3k, 400.2M, etc.
suffix:
- thousands: k
+ thousands: d
millions: M
- billions: B
- trillions: T
+ billions: MJ
+ trillions: B
# Shown for infinitely big numbers
infinite: inf
@@ -108,7 +108,7 @@ global:
alt: ALT
escape: ESC
shift: SHIFT
- space: SPACE
+ space: SPATIE
demoBanners:
# This is the "advertisement" shown in the main menu and other various places
@@ -153,15 +153,15 @@ mainMenu:
showInfo: Laat zien
contestOver: Deze competitie is voorbij - word lid van de discord (engelstalig) om berichten te krijgen van nieuwe competities!
- continue: Continue
- newGame: New Game
- madeBy: Made by
+ continue: Verder
+ newGame: Niew Spel
+ madeBy: Gemaakt door
dialogs:
buttons:
ok: OK
- delete: Delete
- cancel: Cancel
+ delete: Verwijder
+ cancel: Annuleer
later: Later
restart: Herstarten
reset: Reset
@@ -421,11 +421,11 @@ buildings:
miner: # Internal name for the Extractor
default:
- name: &miner Extractor
+ name: &miner Ontginner
description: Plaats op een vorm of kleur om deze te ontginnen.
chainable:
- name: Extractor (Ketting)
+ name: Ontginner (Ketting)
description: Plaats op een vorm of kleur om deze te ontginnen. Kan achter elkaar worden geplaatst.
underground_belt: # Internal name for the Tunnel
diff --git a/translations/base-no.yaml b/translations/base-no.yaml
index e7ead81c..a4828638 100644
--- a/translations/base-no.yaml
+++ b/translations/base-no.yaml
@@ -155,7 +155,7 @@ mainMenu:
contestOver: Denne konkurransen er ferdig - Bli med på discord for å få varsel om nye konkurranser!
continue: Fortsett
newGame: Nytt Spill
- madeBy: Made by
+ madeBy: Laget av
dialogs:
buttons:
@@ -283,8 +283,8 @@ ingame:
createMarker: Lag Markør
delete: Ødelegg
pasteLastBlueprint: Lim inn forrige blåkopi
- lockBeltDirection: Enable belt planner
- plannerSwitchSide: Flip planner side
+ lockBeltDirection: Aktiver båndplanleggeren
+ plannerSwitchSide: Flipp båndplanleggeren
# Everything related to placing buildings (I.e. as soon as you selected a building
# 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.
enableTunnelSmartplace:
- title: Smart Tunnels
+ title: Smarte Tuneller
description: >-
- When enabled, placing tunnels will automatically remove unnecessary belts.
- This also enables to drag tunnels and excess tunnels will get removed.
+ Når aktivert, plassering av tuneller vil automatisk fjerne unødvendige bånd.
+ Dette lar deg også dra og slippe tuneller, og overflødige tuneller blir fjernet.
vignette:
- title: Vignette
+ title: Vignett
description: >-
- Enables the vignette which darkens the screen corners and makes text easier
- to read.
+ Aktiverer vignett som gjør hjørnene på skjermen mørkere og teksten lettere
+ å lese.
keybindings:
title: Hurtigtaster
diff --git a/translations/base-pt-PT.yaml b/translations/base-pt-PT.yaml
index f4dd003c..f0ec758d 100644
--- a/translations/base-pt-PT.yaml
+++ b/translations/base-pt-PT.yaml
@@ -155,7 +155,7 @@ mainMenu:
contestOver: Este concurso terminou - Entra no discord para seres notificado quando abrirem novos concursos!
continue: Continuar
newGame: Novo Jogo
- madeBy: Made by
+ madeBy: Criado por
dialogs:
buttons:
@@ -284,8 +284,8 @@ ingame:
createMarker: Criar marco
delete: Destruir
pasteLastBlueprint: Colar o último blueprint
- lockBeltDirection: Enable belt planner
- plannerSwitchSide: Flip planner side
+ lockBeltDirection: Ativa o planeamento de tapetes
+ plannerSwitchSide: Lado de rotação do planeamento
# Everything related to placing buildings (I.e. as soon as you selected a building
# from the toolbar)
@@ -296,7 +296,7 @@ ingame:
# Shows the hotkey in the ui, e.g. "Hotkey: Q"
hotkeyLabel: >-
- Hotkey:
+ Atalho:
infoTexts:
speed: Velocidade
@@ -417,7 +417,7 @@ buildings:
belt:
default:
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
default:
@@ -676,15 +676,15 @@ settings:
super_fast: Muito rádida
extremely_fast: Extremamente rápida
enableTunnelSmartplace:
- title: Smart Tunnels
+ title: Túneis inteligentes
description: >-
- When enabled, placing tunnels will automatically remove unnecessary belts.
- This also enables to drag tunnels and excess tunnels will get removed.
+ Quando ativo, a colocação de túneis removerá tapetes desnecessários automaticamente.
+ Isto também permite arrastar túneis e túneis supérfluos serão removidos.
vignette:
- title: Vignette
+ title: Vinheta
description: >-
- Enables the vignette which darkens the screen corners and makes text easier
- to read.
+ Ativa a vinheta, que escurece os cantos do ecrã e torna a leitura do texto
+ mais fácil.
keybindings:
title: Atalhos
@@ -750,8 +750,8 @@ keybindings:
massSelectCut: Cortar área
exportScreenshot: Exportar a base como uma imagem
mapMoveFaster: Mover rapidamente
- lockBeltDirection: Enable belt planner
- switchDirectionLockSide: 'Planner: Switch side'
+ lockBeltDirection: Ativa o planeamento de tapetes
+ switchDirectionLockSide: 'Planeador: Troca o lado'
about:
title: Sobre o jogo
body: >-
diff --git a/translations/base-ru.yaml b/translations/base-ru.yaml
index c4ab1999..1c4311fc 100644
--- a/translations/base-ru.yaml
+++ b/translations/base-ru.yaml
@@ -21,7 +21,7 @@
steamPage:
# 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.
# NOTICE:
@@ -30,7 +30,7 @@ steamPage:
longText: >-
[img]{STEAM_APP_IMAGE}/extras/store_page_gif.gif[/img]
- shapez.io это игра о строительстве фабрик для автоматизации создания и объединения фигур. Доставляйте запрошенные, все более сложные фигуры, чтобы развиваться в игре и разблокировать улучшения, чтобы ускорить работу вашей фабрики.
+ shapez.io — это игра о строительстве фабрик для автоматизации создания и объединения фигур. Доставляйте запрошенные, все более сложные фигуры, чтобы развиваться в игре и разблокировать улучшения, чтобы ускорить работу вашей фабрики.
Поскольку спрос растет, вам придется увеличивать свою фабрику, чтобы соответствовать потребностям. Однако, не забывайте о ресурсах, несмотря на то что вы будете расширятся на [b]бесконечной карте[/b]!
@@ -76,10 +76,10 @@ global:
# The suffix for large numbers, e.g. 1.3k, 400.2M, etc.
suffix:
- thousands: \xa0тыс.
- millions: \xa0млн
- billions: \xa0млрд
- trillions: \xa0трлн
+ thousands: тыс.
+ millions: млн
+ billions: млрд
+ trillions: трлн
# Shown for infinitely big numbers
infinite: ∞
@@ -154,9 +154,9 @@ mainMenu:
showInfo: Посмотреть
contestOver: Этот конкурс закончился - присоединяйтесь в дискорде, чтобы получать уведомления о новых конкурсах!
- continue: Continue
- newGame: New Game
- madeBy: Made by
+ continue: Продолжить
+ newGame: Новая Игра
+ madeBy: Создано
dialogs:
buttons:
@@ -232,7 +232,7 @@ dialogs:
desc: >-
Все формы, которые вы производите, могут быть использованы для разблокировки
улучшений - Не разрушайте свои старые фабрики!
- Вкладка обновлений находится в правом верхнем углу экрана.
+ Вкладка улучшений находится в правом верхнем углу экрана.
massDeleteConfirm:
title: Подтвердить удаление
desc: >-
@@ -287,8 +287,8 @@ ingame:
createMarker: Создать маркер
delete: Удалить
pasteLastBlueprint: Вставить последний чертеж
- lockBeltDirection: Enable belt planner
- plannerSwitchSide: Flip planner side
+ lockBeltDirection: Включить конвейерный планировщик
+ plannerSwitchSide: Поменять местами стороны планировщика
# Everything related to placing buildings (I.e. as soon as you selected a building
# from the toolbar)
@@ -370,7 +370,7 @@ ingame:
buttons:
continue: Продолжить
settings: Настройки
- menu: Вернутся в меню
+ menu: Вернуться в меню
# Bottom left tutorial hints
tutorialHints:
@@ -420,7 +420,7 @@ buildings:
belt:
default:
name: &belt Конвейер
- description: Транспортриует передметы, держите и тащите, чтобы разместить несколько.
+ description: Транспортирует предметы, держите и тащите, чтобы разместить несколько.
miner: # Internal name for the Extractor
default:
@@ -447,11 +447,11 @@ buildings:
compact:
name: Соединитель
- description: Компактный - занимет всего одну клетку! Объединяет два конвейера в один.
+ description: Компактный - занимает всего одну клетку! Объединяет два конвейера в один.
compact-inverse:
name: Соединитель
- description: Компактный - занимет всего одну клетку! Объединяет два конвейера в один.
+ description: Компактный - занимает всего одну клетку! Объединяет два конвейера в один.
cutter:
default:
@@ -472,7 +472,7 @@ buildings:
stacker:
default:
name: &stacker Объединитель
- description: Объедининяет два предмета. Если они не могут быть соединены, правый элемент помещается над левым.
+ description: Объединяет два предмета. Если они не могут быть соединены, правый элемент помещается над левым.
mixer:
default:
@@ -482,10 +482,10 @@ buildings:
painter:
default:
name: &painter Покрасчик
- description: &painter_desc Красит всю фигуру из левого входа красителем из верхнего.
+ description: &painter_desc Красит всю фигуру из левого входа красителем из перпендикулярного.
double:
name: Покрасчик (2Вх.)
- description: Красит фигуру из левых входов красителем из верхнего.
+ description: Красит фигуру из левых входов красителем из перпендикулярного.
quad:
name: Покрасчик (4Вх.)
description: Позволяет раскрасить каждую четверть фигуры разными цветами.
@@ -519,7 +519,7 @@ storyRewards:
reward_painter:
title: Покраска
desc: >-
- Разблокирован покрасчик! Добудте краситель из жилы (так же как и фигуры) и объедините его с фигурой в покрасчике, чтобы раскрасить ее!
PS: Если вы дальтоник, я уже работаю над решением!
+ Разблокирован покрасчик! Добудьте краситель из жилы (так же как и фигуры) и объедините его с фигурой в покрасчике, чтобы раскрасить ее!
PS: Если вы дальтоник, я уже работаю над решением!
reward_mixer:
title: Смешивание Цветов
@@ -527,10 +527,10 @@ storyRewards:
reward_stacker:
title: Объединитель
- desc: Теперь вы можете объединять фигурыw объединителем! Фигуры из обеих входов объединяются. Если они могут быть расположены рядом друг с другом, они будут соединены, иначе фигура из правого входа наложится на фигуру из левого!
+ desc: Теперь вы можете объединять фигуры объединителем! Фигуры из обеих входов объединяются. Если они могут быть расположены рядом друг с другом, они будут соединены, иначе фигура из правого входа наложится на фигуру из левого!
reward_splitter:
- title: Разделитель / Соеденитель
+ title: Разделитель / Соединитель
desc: Разблокирован многофункциональный разделитель! Его можно использовать для создания больших фабрик путем разделения и соединения конвейеров!
reward_tunnel:
@@ -627,7 +627,7 @@ settings:
language:
title: Язык
description: >-
- Выберите язык. Все переводы сделаны пользователями и могут быть незакончены!
+ Выберите язык. Все переводы сделаны пользователями и могут быть не законченными!
fullscreen:
title: Полный экран
@@ -666,7 +666,7 @@ settings:
offerHints:
title: Подсказки & Обучение
description: >-
- Стоит ли предлагать подсказки и обучающий материал во время игры. Также скрывает определенные элементы пользовательского интерфейса для данного уровня, преднязначенные для облегчения "входа" в игру.
+ Стоит ли предлагать подсказки и обучающий материал во время игры. Также скрывает определенные элементы пользовательского интерфейса для данного уровня, предназначенные для облегчения "входа" в игру.
movementSpeed:
title: Скорость движения
@@ -679,15 +679,14 @@ settings:
super_fast: Очень быстро
extremely_fast: Чрезвычайно быстро
enableTunnelSmartplace:
- title: Smart Tunnels
+ title: Умные Туннели
description: >-
- When enabled, placing tunnels will automatically remove unnecessary belts.
- This also enables to drag tunnels and excess tunnels will get removed.
+ Если включено, то при размещении туннелей автоматически удаляются ненужные конвейеры.
+ Это также позволяет протягивать туннели, причем лишние туннели будут удалены.
vignette:
- title: Vignette
+ title: Виньетирование
description: >-
- Enables the vignette which darkens the screen corners and makes text easier
- to read.
+ Включает виньетирование, которое затемняет углы экрана и облегчает чтение текста.
keybindings:
title: Настройки управления
@@ -753,11 +752,11 @@ keybindings:
massSelectCut: Вырезать область
exportScreenshot: Экспорт всей Базы в виде Изображения
mapMoveFaster: Ускорение передвижения
- lockBeltDirection: Enable belt planner
- switchDirectionLockSide: 'Planner: Switch side'
+ lockBeltDirection: Включает конвейерный планировщик
+ switchDirectionLockSide: 'Планировщик: Переключение сторон'
about:
- title: О игре
+ title: Об игре
body: >-
Эта игра с открытым исходным кодом, разработана Тобиасом Спрингером (это я).
@@ -777,7 +776,7 @@ about:
игровых сессий в factorio эта игра никогда не существовала бы.
changelog:
- title: Список измений
+ title: Список изменений
demo:
features:
diff --git a/version b/version
index 8d2c87f7..b01de297 100644
--- a/version
+++ b/version
@@ -1 +1 @@
-1.1.15
\ No newline at end of file
+1.1.16
\ No newline at end of file