diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000..dd84475 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,3 @@ +# Add 'translation' label to any changes within 'locale' folder or any subfolders +translation: + - locale/**/* diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml new file mode 100644 index 0000000..4817e90 --- /dev/null +++ b/.github/workflows/label.yml @@ -0,0 +1,14 @@ +--- +name: Pull request labeler +on: + schedule: + - cron: "*/5 * * * *" +jobs: + labeler: + runs-on: ubuntu-latest + steps: + - uses: paulfantom/periodic-labeler@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_REPOSITORY: ${{ github.repository }} + LABEL_MAPPINGS_FILE: .github/labeler.yml diff --git a/README.md b/README.md index 053bfdd..fdd1cc3 100644 --- a/README.md +++ b/README.md @@ -102,17 +102,17 @@ Dectorio uses CrowdIn to allow the community to translate the mod from English i Special thanks to the translators below (in no particular order). -* Chinese Simplified (78%) - [jessefjxm](https://crowdin.com/profile/jessefjxm). -* Chinese Traditional (33%) - [k98a](https://crowdin.com/profile/k98a). -* Czech (80%) - [dereksp](https://crowdin.com/profile/dereksp), [Meritic](https://crowdin.com/profile/Meritic) and [Treij](https://crowdin.com/profile/Treij). -* French (86%) - [Taniotoshi](https://crowdin.com/profile/Taniotoshi) and [daikyraraga](https://crowdin.com/profile/daikyraraga). -* German (89%) - [seeba8](https://github.com/seeba8), [ST-DDT](https://crowdin.com/profile/ST-DDT), [LastDawn](https://crowdin.com/profile/LastDawn), [lpzockerx](https://crowdin.com/profile/lpzockerx) and [Leridon](https://crowdin.com/profile/Leridon). -* Hungarian (97%) - [mmnetworkteam](https://crowdin.com/profile/mmnetworkteam). -* Korean (89%) - [GimoXagros](https://crowdin.com/profile/GimoXagros). -* Polish (97%) - [Tomirad](https://github.com/Tomirad), [Requelfade](https://crowdin.com/profile/Requelfade), [no_desired_username](https://crowdin.com/profile/no_desired_username) and [tomplus](https://crowdin.com/profile/tomplus). -* Portuguese, Brazilian (89%) - [celaquila](https://crowdin.com/profile/celaquila). -* Russian (96%) - [nastyslave](https://crowdin.com/profile/nastyslave), [diraria](https://crowdin.com/profile/diraria), [scheugen86](https://crowdin.com/profile/scheugen86), [antonus777](https://crowdin.com/profile/antonus777), [schmarotzerltd](https://crowdin.com/profile/schmarotzerltd) and [1avek1](https://crowdin.com/profile/1avek1). -* Spanish (91%) - [notallme](https://crowdin.com/profile/notallme). +* Chinese Simplified (76%) - [jessefjxm](https://crowdin.com/profile/jessefjxm). +* Chinese Traditional (32%) - [k98a](https://crowdin.com/profile/k98a). +* Czech (79%) - [dereksp](https://crowdin.com/profile/dereksp), [Meritic](https://crowdin.com/profile/Meritic) and [Treij](https://crowdin.com/profile/Treij). +* French (85%) - [Taniotoshi](https://crowdin.com/profile/Taniotoshi) and [daikyraraga](https://crowdin.com/profile/daikyraraga). +* German (100%) - [seeba8](https://github.com/seeba8), [ST-DDT](https://crowdin.com/profile/ST-DDT), [LastDawn](https://crowdin.com/profile/LastDawn), [lpzockerx](https://crowdin.com/profile/lpzockerx), [Leridon](https://crowdin.com/profile/Leridon) and [Meisterfuchs](https://crowdin.com/profile/Meisterfuchs). +* Hungarian (98%) - [mmnetworkteam](https://crowdin.com/profile/mmnetworkteam). +* Korean (88%) - [GimoXagros](https://crowdin.com/profile/GimoXagros). +* Polish (100%) - [Tomirad](https://github.com/Tomirad), [Requelfade](https://crowdin.com/profile/Requelfade), [no_desired_username](https://crowdin.com/profile/no_desired_username) and [tomplus](https://crowdin.com/profile/tomplus). +* Portuguese, Brazilian (88%) - [celaquila](https://crowdin.com/profile/celaquila). +* Russian (100%) - [nastyslave](https://crowdin.com/profile/nastyslave), [diraria](https://crowdin.com/profile/diraria), [scheugen86](https://crowdin.com/profile/scheugen86), [antonus777](https://crowdin.com/profile/antonus777), [schmarotzerltd](https://crowdin.com/profile/schmarotzerltd) and [1avek1](https://crowdin.com/profile/1avek1). +* Spanish (90%) - [notallme](https://crowdin.com/profile/notallme). ### Mod Compatibility diff --git a/changelog.txt b/changelog.txt index 70d5419..96caf50 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,14 @@ --------------------------------------------------------------------------------------------------- +Version: 0.10.7 +Date: 18. 05. 2020 + Added: + - New setting to toggle Lawnmower functionality independently of Landscaping (thanks to andreasferber) + Locales: + - Updated German translation (thanks to andreasferber and Meisterfuchs) + - Updated Russian translation (thanks to 1avek1) + - Updated Hungarian translation (thanks to mmnetworkteam) + - Updated Polish translation (thanks to tomplus) +--------------------------------------------------------------------------------------------------- Version: 0.10.6 Date: 26. 04. 2020 Added: diff --git a/config.lua b/config.lua index ab9c019..98e0125 100644 --- a/config.lua +++ b/config.lua @@ -99,6 +99,7 @@ DECT.ENABLED = { ["painted-concrete"] = settings.startup["dectorio-painted-concrete"].value, ["signs"] = settings.startup["dectorio-signs"].value, ["decoratives"] = settings.startup["dectorio-decoratives"].value, + ["lawnmower"] = settings.startup["dectorio-lawnmower"].value, ["item-group"] = settings.startup["dectorio-item-group"].value } diff --git a/info.json b/info.json index e96561b..0a68d25 100644 --- a/info.json +++ b/info.json @@ -1,6 +1,6 @@ { "name": "Dectorio", - "version": "0.10.6", + "version": "0.10.7", "title": "Dectorio", "author": "PantherX", "contact": "", diff --git a/locale/cs/dectorio.cfg b/locale/cs/dectorio.cfg index 022fe71..7f1d88f 100644 --- a/locale/cs/dectorio.cfg +++ b/locale/cs/dectorio.cfg @@ -24,6 +24,8 @@ dectorio-flooring-stack-size=Zaokroulování velikosti zásobníku dectorio-landscaping-stack-size=Zásobník věcí na teréní úpravy dectorio-walls-stack-size=Velikost zásobníku stěn +[string-mod-setting] + [mod-setting-description] dectorio-signals=Umožní další signály pro použití v lampách nebo obvodech dectorio-walls=Povolí další typy zdí a bran diff --git a/locale/de/dectorio.cfg b/locale/de/dectorio.cfg index 6a80db7..7ec3d07 100644 --- a/locale/de/dectorio.cfg +++ b/locale/de/dectorio.cfg @@ -9,8 +9,13 @@ dectorio-signals=Aktiviere Signale dectorio-walls=Aktiviere Mauern und Tore dectorio-landscaping=Aktiviere Landschaftsgestaltung dectorio-waterfill=Aktiviere Wassergräben +dectorio-wood=Aktiviere Holzkacheln +dectorio-gravel=Aktiviere Kieskacheln +dectorio-concrete=Aktiviere Betonkacheln +dectorio-painted-concrete=Aktiviere bemalte Betonkacheln dectorio-signs=Aktiviere Schilder dectorio-decoratives=Aktiviere Dekorationen +dectorio-lawnmower=Aktiviere Rasenmäher dectorio-item-group=Separater Crafting Tab dectorio-vanilla-hazard-concrete-style=Verwende den Standard-Betonstil von Factorio dectorio-landscaping-blueprintable=Landschaftsobjekte sind mit Blaupausen kopierbar @@ -19,16 +24,25 @@ dectorio-decorative-removal-probability=Wahrscheinlichkeit, Dekoration zu entfer dectorio-flooring-stack-size=Stapelgröße von Bodentypen dectorio-landscaping-stack-size=Stapelgröße von Landschaftsobjekten dectorio-walls-stack-size=Stapelgröße von Mauern +dectorio-waterfill-tiles=Verfügbare Wassergräben + +[string-mod-setting] +dectorio-waterfill-tiles-all=Alle Wasergräben +dectorio-waterfill-tiles-shallow=Nur flache Wassergräben +dectorio-waterfill-tiles-deep=Nur tiefe Wassergräben [mod-setting-description] dectorio-signals=Aktiviert zusätzliche Signale für Lampen und Schaltungsnetze dectorio-walls=Aktiviert zusätzliche Arten von Mauern und Toren dectorio-landscaping=Aktiviert die Möglichkeit, Sand, Erde, Gras und Wüste herzustellen dectorio-waterfill=Aktiviert die Möglichkeit, Wasser herzustellen um Seen anzulegen oder zu erweitern +dectorio-wood=Aktiviert die Fähigkeit, hölzerne Böden herzustellen dectorio-gravel=Aktiviert die Möglichkeit für Roherze als Kies platziert zu werden +dectorio-concrete=Aktiviert die Fähigkeit, Betonböden herzustellen, inklusive Betonplatten dectorio-painted-concrete=Aktiviert bemalte Betontypen, die den normalen Beton mit Gefahrenmarkierung ersetzen dectorio-signs=Aktiviert die Möglichkeit, Schilder zu herzustellen dectorio-decoratives=Aktiviert die Möglichkeit dekorative Gegenstände für deine Fabrik herzustellen +dectorio-lawnmower=Aktiviert den Rasenmäher, um dekorative Gegenstände zu entfernen dectorio-item-group=Verschiebt alle dekorativen Gegenstände in einen eigenen Crafting-Tab im Inventar dectorio-vanilla-hazard-concrete-style=Wenn diese Option aktiviert ist, sieht bemalter Beton mit Gefahrenmarkierung aus wie der normale Factorio-Beton mit Gefahrenmarkierung (erfordert, dass bemalter Beton aktiviert ist) dectorio-landscaping-blueprintable=Wenn diese Option aktiviert ist, enthalten Blaupausen Landschaftsobjekte als Kacheln @@ -37,6 +51,7 @@ dectorio-decorative-removal-probability=Wahrscheinlichkeit, dass Dekorationen wi dectorio-flooring-stack-size=Anzahl an Bodenkacheln, die in einem Inventarslot gestapelt werden können (Standard = 500) dectorio-landscaping-stack-size=Anzahl an Landschaftsobjekten, die in einem Inventarslot gestapelt werden können (Standard = 500) dectorio-walls-stack-size=Anzahl an Mauern, die in einem Inventarslot gestapelt werden können (Standard = 200) +dectorio-waterfill-tiles=Wenn Wassergräben aktiviert sind, gibt dies an, welche Arten an Wasser verfügbar sind [dect-cmd] destroy-orphaned-signs=Entfernt alle verwaisten Zeichen aus der aktuellen Ebene des Spielers. @@ -143,6 +158,7 @@ dect-lawnmower=__CONTROL__select-for-blueprint__ halten und ziehen um Dekoration [recipe-name] dect-concrete-wall-from-stone-wall=Betonmauer aus Steinmauer +dect-concrete-gate-from-stone-gate=Betontor aus Steintor [entity-name] dect-wood-wall=Holzbarrikade @@ -153,6 +169,8 @@ dect-sign-steel=Stahlschild dect-small-lamp-glow=Glühende Lampe dect-traffic-bollard=Verkehrspoller stone-wall=Steinwand +gate=Steintor +dect-concrete-gate=Betontor [tile-name] dect-concrete-grid=Betonraster @@ -203,6 +221,8 @@ dect-wood-floor=Holzboden dect-earthworks=Landaufschüttung dect-lawnmower=Rasenmäher dect-signs=Schilder +gates=Einfache Tore +dect-advanced-gates=Erweiterte Tore [technology-description] dect-landscaping=Erlaubt es dir natürliche Bodenarten zu bauen. @@ -213,6 +233,8 @@ dect-wood-floor=Einfacher Holzboden, der es dir ermöglicht schneller zu laufen. dect-earthworks=Erlaubt dir, Wasser hinzuzufügen und zu entfernen. dect-lawnmower=Entfernt sämtliche Dekorationselemente aus einem gegebenen Bereich und lässt eine leere Oberfläche zurück. dect-signs=Schilder, die dir helfen deine Fabrik zu beschriften. +gates=Einfache Wandabschnitte, die sich bei Bedarf öffnen können. Können über das Schaltungsnetz gesteuert werden. +dect-advanced-gates=Fortgeschrittene Wandabschnitte, die sich bei Bedarf öffnen können und stärker sind als einfache Tore. Können über das Schaltungsnetz gesteuert werden. [virtual-signal-name] signal-red=Rotes Signal diff --git a/locale/en/dectorio.cfg b/locale/en/dectorio.cfg index 2736615..3485edf 100644 --- a/locale/en/dectorio.cfg +++ b/locale/en/dectorio.cfg @@ -15,6 +15,7 @@ dectorio-concrete=Enable Concrete Tiles dectorio-painted-concrete=Enable Painted Concrete Tiles dectorio-signs=Enable Signs dectorio-decoratives=Enable Decoratives +dectorio-lawnmower=Enable Lawnmower dectorio-item-group=Separate Crafting Tab dectorio-vanilla-hazard-concrete-style=Use default Factorio Hazard concrete style dectorio-landscaping-blueprintable=Landscaping items are blueprintable @@ -41,6 +42,7 @@ dectorio-concrete=Enables the ability to craft concrete flooring types, includin dectorio-painted-concrete=Enables painted concrete styles that replace the base Hazard concrete dectorio-signs=Enables the ability to place signs dectorio-decoratives=Enables the ability to craft decorative items for your factory +dectorio-lawnmower=Enables the lawnmower tool to remove decorative items from your factory floor dectorio-item-group=Moves all decorative items into a dedicated crafting tab in the inventory dectorio-vanilla-hazard-concrete-style=When enabled, Painted Hazard concrete will look like the default Factorio Hazard concrete when placed (requires Painted Concrete to be enabled) dectorio-landscaping-blueprintable=When enabled, blueprints will include landscaping features as tiles diff --git a/locale/es-ES/dectorio.cfg b/locale/es-ES/dectorio.cfg index d26fcc6..edf2437 100644 --- a/locale/es-ES/dectorio.cfg +++ b/locale/es-ES/dectorio.cfg @@ -24,6 +24,8 @@ dectorio-flooring-stack-size=Los items de pavimentación son apilables dectorio-landscaping-stack-size=Los items de paisajismo son apilables dectorio-walls-stack-size=Los artículos de paredes son apilables +[string-mod-setting] + [mod-setting-description] dectorio-signals=Habilita señales adicionales para usar en lamparas o redes de circuitos dectorio-walls=Habilita tipos de paredes y puertas adicionales diff --git a/locale/fr/dectorio.cfg b/locale/fr/dectorio.cfg index 23bfc16..d35448d 100644 --- a/locale/fr/dectorio.cfg +++ b/locale/fr/dectorio.cfg @@ -20,6 +20,8 @@ dectorio-flooring-stack-size=Taille de la pile des sols dectorio-landscaping-stack-size=Taille de la pile des éléments de paysage dectorio-walls-stack-size=Taille de la pile des murs +[string-mod-setting] + [mod-setting-description] dectorio-signals=Ajoute de nouveaux signaux à utiliser comme lampes ou dans le réseau logique dectorio-walls=Ajoute de nouveaux murs et de nouvelles portes diff --git a/locale/hu/dectorio.cfg b/locale/hu/dectorio.cfg index e63f753..71234db 100644 --- a/locale/hu/dectorio.cfg +++ b/locale/hu/dectorio.cfg @@ -23,6 +23,12 @@ dectorio-decorative-removal-probability=Dekoráció eltávolíthatósági valós dectorio-flooring-stack-size=Padlózati elemek hordható mérete dectorio-landscaping-stack-size=Területformálási eszközök hordható mérete dectorio-walls-stack-size=Fal elemek hordható mérete +dectorio-waterfill-tiles=Vízkitöltő burkolatok + +[string-mod-setting] +dectorio-waterfill-tiles-all=Minden vizes burkolat +dectorio-waterfill-tiles-shallow=Csak sekély vizes burkolatok +dectorio-waterfill-tiles-deep=Csak mély vizes burkolatok [mod-setting-description] dectorio-signals=Több jel feloldása, melyek lámpáknál vagy az elektromos hálózatban használhatóak @@ -43,6 +49,7 @@ dectorio-decorative-removal-probability=Annak a valószínűsége hogy padlózat dectorio-flooring-stack-size=A szám, mely az egy Inventory slotba tehető padlózatokat adja meg (alapértelmezés = 500) dectorio-landscaping-stack-size=A szám, mely az egy Inventory slotba tehető területformálási elemeket adja meg (alapértelmezés = 500) dectorio-walls-stack-size=A szám, mely az egy Inventory slotba tehető fal elemeket adja meg (alapértelmezés = 200) +dectorio-waterfill-tiles=Ha a vízkitöltés engedélyezett, eldönti melyik vízburkolat legyen elérhető lehelyezésre [dect-cmd] destroy-orphaned-signs=Minden elhagyott jelet töröl a játékos jelenlegi területéről. diff --git a/locale/ko/dectorio.cfg b/locale/ko/dectorio.cfg index c7e5c03..cbc2d65 100644 --- a/locale/ko/dectorio.cfg +++ b/locale/ko/dectorio.cfg @@ -20,6 +20,8 @@ dectorio-flooring-stack-size=바닥재 아이템 소지 갯수 dectorio-landscaping-stack-size=조경 아이템 소지 갯수 dectorio-walls-stack-size=벽 아이템 소지 갯수 +[string-mod-setting] + [mod-setting-description] dectorio-signals=추가 된 신호를 조명 또는 회로 네트워크에서 사용 할 수 있습니다. dectorio-walls=추가 된 벽 및 출입구를 사용 할 수 있습니다. diff --git a/locale/pl/dectorio.cfg b/locale/pl/dectorio.cfg index 8c140c6..ac37434 100644 --- a/locale/pl/dectorio.cfg +++ b/locale/pl/dectorio.cfg @@ -15,6 +15,7 @@ dectorio-concrete=Włącz podłoże betonowe dectorio-painted-concrete=Włącz malowane podłoże betonowe dectorio-signs=Włącz znaki informacyjne dectorio-decoratives=Włącz dekoracje +dectorio-lawnmower=Włącz kosiarkę dectorio-item-group=Oddzielna karta w menu wytwarzania dectorio-vanilla-hazard-concrete-style=Użyj domyślnego stylu Factorio dla ostrzeżeń na betonie dectorio-landscaping-blueprintable=Elementy terenu są projektowalne @@ -23,6 +24,12 @@ dectorio-decorative-removal-probability=Prawdopodobieństwo usunięcia dekoracji dectorio-flooring-stack-size=Rozmiar stosu elementów podłogowych dectorio-landscaping-stack-size=Rozmiar stosu elementów terenowych dectorio-walls-stack-size=Rozmiar stosu elementów ogrodzeniowych +dectorio-waterfill-tiles=Wypełnienia wodą + +[string-mod-setting] +dectorio-waterfill-tiles-all=Wszystkie rodzaje wody +dectorio-waterfill-tiles-shallow=Tylko płytka woda +dectorio-waterfill-tiles-deep=Tylko głęboka woda [mod-setting-description] dectorio-signals=Włącz dodatkowe sygnały do użycia w lampach lub sieci obwodowej @@ -35,6 +42,7 @@ dectorio-concrete=Umożliwia wykonywanie betonowych rodzajów podłoża, w tym b dectorio-painted-concrete=Włącz możliwość tworzenia malowania ostrzeżeń na betonie dectorio-signs=Włącza możliwość stawiania znaków informacyjnych dectorio-decoratives=Włącza możliwości tworzenia obiektów dekoracyjnych +dectorio-lawnmower=Włącza kosiarkę, narzędzie do usuwania elementów dekoracyjnych z terenu twojej fabryki dectorio-item-group=Przenosi wszystkie elementy dekoracyjne na dedykowaną kartę w menu wytwarzania dectorio-vanilla-hazard-concrete-style=Kiedy włączony, malowane ostrzeżenia na betonie będą takie jak domyślne ostrzeżenia Factorio (wymagany jest włączony dodatek "Malowany beton") dectorio-landscaping-blueprintable=Kiedy włączony, plany terenów będą dołączane jako kafelki @@ -43,6 +51,7 @@ dectorio-decorative-removal-probability=Prawdopodobieństwo że dekoracja podło dectorio-flooring-stack-size=Liczba elementów podłogowych które mogą być umieszczone w pozycji inwentarza (domyślnie = 500) dectorio-landscaping-stack-size=Liczba elementów terenów które mogą być umieszczone w pozycji inwentarza (domyślnie = 500) dectorio-walls-stack-size=Liczba elementów ogrodzeń które mogą być umieszczone w pozycji inwentarza (domyślnie = 200) +dectorio-waterfill-tiles=Jeśli funkcja napełniania jest włączona, określa, który typ wody jest dostępny do umieszczenia [dect-cmd] destroy-orphaned-signs=Powoduje usunięcie wszystkich osieroconych znaków z bieżącej powierzchni gracza. diff --git a/locale/pt-BR/dectorio.cfg b/locale/pt-BR/dectorio.cfg index cbaf99c..2235e55 100644 --- a/locale/pt-BR/dectorio.cfg +++ b/locale/pt-BR/dectorio.cfg @@ -20,6 +20,8 @@ dectorio-flooring-stack-size=Quantidade por pilha de pisos dectorio-landscaping-stack-size=Quantidade por pilha de material de terreno dectorio-walls-stack-size=Quantidade por pilha de Muros +[string-mod-setting] + [mod-setting-description] dectorio-signals=Permite sinais adicionais para uso em lâmpadas ou na rede de circuitos dectorio-walls=Permite tipos adicionais de muro e portão diff --git a/locale/ru/dectorio.cfg b/locale/ru/dectorio.cfg index 260a991..5c4b4ba 100644 --- a/locale/ru/dectorio.cfg +++ b/locale/ru/dectorio.cfg @@ -15,6 +15,7 @@ dectorio-concrete=Включить напольное покрытие из бе dectorio-painted-concrete=Включить напольное покрытие из окрашенного бетона dectorio-signs=Включить знаки dectorio-decoratives=Включить декоративные элементы +dectorio-lawnmower=Включить газонокосилку dectorio-item-group=Отдельная вкладка крафта dectorio-vanilla-hazard-concrete-style=Использовать оригинальный внешний вид бетона dectorio-landscaping-blueprintable=Клетки ландшафтного дизайна могут попадать в чертежи @@ -23,6 +24,12 @@ dectorio-decorative-removal-probability=Шанс удаления декорат dectorio-flooring-stack-size=Размер пачки для напольных покрытий dectorio-landscaping-stack-size=Размер пачки для ландшафтного дизайна dectorio-walls-stack-size=Размер пачки для элементов стен +dectorio-waterfill-tiles=Варианты заполнения водой + +[string-mod-setting] +dectorio-waterfill-tiles-all=Любая глубина воды +dectorio-waterfill-tiles-shallow=Только клетки с мелкой водой +dectorio-waterfill-tiles-deep=Только клетки с глубокой водой [mod-setting-description] dectorio-signals=Включает дополнительные сигналы для использования в лампах или в логической сети @@ -35,6 +42,7 @@ dectorio-concrete=Разрешить изготавливать напольны dectorio-painted-concrete=Добавляет в игру новый окрашенный бетон, который заменит оригинальный dectorio-signs=Позволяет устанавливать знаки dectorio-decoratives=Позволяет игроку создавать декоративные предметы +dectorio-lawnmower=Позволяет использовать газонокосилку для удаления декоративных элементов с пола вашей фабрики dectorio-item-group=Все декоративные предметы будут помещены на отдельную вкладку в инвентаре dectorio-vanilla-hazard-concrete-style=Когда включено, бетон с рисунком опасности останется оригинальным (требуется, чтобы было включено добавление нового окрашенного бетона в игру) dectorio-landscaping-blueprintable=Когда включено, чертежи будут включать в себя элементы ландшафтного дизайна как плитки (по клеткам) @@ -43,6 +51,7 @@ dectorio-decorative-removal-probability=Вероятность того, что dectorio-flooring-stack-size=Количество предметов напольных покрытий, которое поместится в один слот инвентаря (по умолчанию = 500) dectorio-landscaping-stack-size=Количество элементов ландшафтного дизайна, которое поместится в один слот инвентаря (по умолчанию = 500) dectorio-walls-stack-size=Количество стен, которое поместится в один слот инвентаря (по умолчанию = 200) +dectorio-waterfill-tiles=Если включено заполнение клеток водой, здесь можно выбрать, как именно вода будет их заполнять [dect-cmd] destroy-orphaned-signs=Удаляет любые осиротевшие знаки с текущей поверхности игрока. @@ -149,6 +158,7 @@ dect-lawnmower=Удерживая __CONTROL__select-for-blueprint__, прове [recipe-name] dect-concrete-wall-from-stone-wall=Бетонная стена из Каменной стены +dect-concrete-gate-from-stone-gate=Бетонные ворота из Каменных ворот [entity-name] dect-wood-wall=Деревянная баррикада diff --git a/locale/zh-CN/dectorio.cfg b/locale/zh-CN/dectorio.cfg index 1acbc1d..50b080d 100644 --- a/locale/zh-CN/dectorio.cfg +++ b/locale/zh-CN/dectorio.cfg @@ -19,6 +19,8 @@ dectorio-flooring-stack-size=地板物品堆叠量 dectorio-landscaping-stack-size=地形改造物品堆叠量 dectorio-walls-stack-size=墙壁物品堆叠量 +[string-mod-setting] + [mod-setting-description] dectorio-signals=使电路网络或灯发送附加信号 dectorio-walls=使石材和混凝土墙被修改 diff --git a/locale/zh-TW/dectorio.cfg b/locale/zh-TW/dectorio.cfg index 445ac0c..dda1d14 100644 --- a/locale/zh-TW/dectorio.cfg +++ b/locale/zh-TW/dectorio.cfg @@ -12,6 +12,8 @@ dectorio-decoratives=開啟“裝飾” dectorio-flooring-stack-size=“地板”物品的堆疊數量 dectorio-walls-stack-size=”牆體”物品的堆疊數量 +[string-mod-setting] + [mod-setting-description] dectorio-signals=啟用在燈或電路網絡中使用的附加信號 dectorio-walls=實現石牆和混凝土牆的修改 diff --git a/prototypes/item/landscaping.lua b/prototypes/item/landscaping.lua index f99bb9c..cf9ac0a 100644 --- a/prototypes/item/landscaping.lua +++ b/prototypes/item/landscaping.lua @@ -38,7 +38,7 @@ if DECT.ENABLED["landscaping"] then end end -if DECT.ENABLED["waterfill"] or DECT.ENABLED["landscaping"] then +if DECT.ENABLED["waterfill"] or DECT.ENABLED["landscaping"] or DECT.ENABLED["lawnmower"] then -- Add subgroup for base water data:extend( { @@ -149,7 +149,9 @@ if DECT.ENABLED["landscaping"] then } ) end +end +if DECT.ENABLED["lawnmower"] then -- Add Lawnmower item data:extend( { diff --git a/prototypes/recipe/landscaping.lua b/prototypes/recipe/landscaping.lua index 28bb69b..3c20ab0 100644 --- a/prototypes/recipe/landscaping.lua +++ b/prototypes/recipe/landscaping.lua @@ -24,6 +24,10 @@ if DECT.ENABLED["landscaping"] then end end +end + +if DECT.ENABLED["lawnmower"] then + -- Create Lawnmower recipe data:extend({ { diff --git a/prototypes/technology/landscaping.lua b/prototypes/technology/landscaping.lua index 8e3de08..36e6e71 100644 --- a/prototypes/technology/landscaping.lua +++ b/prototypes/technology/landscaping.lua @@ -39,13 +39,31 @@ if DECT.ENABLED["landscaping"] then }, effects = landscaping_effects, order = "a" - }, + } + }) + + -- Move base landfill tech underneath landscaping + local base_landfill = data.raw["technology"]["landfill"] + if not base_landfill.prerequisites then + base_landfill.prerequisites = {} + end + table.insert(base_landfill.prerequisites, "dect-landscaping") + +end + +if DECT.ENABLED["lawnmower"] then + if DECT.ENABLED["landscaping"] then + lawnmower_prereq = {"dect-landscaping", "engine"} + else + lawnmower_prereq = {"engine"} + end + data:extend({ { type = "technology", name = "dect-lawnmower", icon = "__Dectorio__/graphics/technology/lawnmower.png", icon_size = 128, - prerequisites = {"dect-landscaping", "engine"}, + prerequisites = lawnmower_prereq, unit = { count = 30, ingredients = { @@ -63,14 +81,6 @@ if DECT.ENABLED["landscaping"] then order = "b-d-a" } }) - - -- Move base landfill tech underneath landscaping - local base_landfill = data.raw["technology"]["landfill"] - if not base_landfill.prerequisites then - base_landfill.prerequisites = {} - end - table.insert(base_landfill.prerequisites, "dect-landscaping") - end if DECT.ENABLED["waterfill"] then diff --git a/settings.lua b/settings.lua index 3f02f07..b68dac6 100644 --- a/settings.lua +++ b/settings.lua @@ -23,6 +23,13 @@ data:extend( default_value = true, order = "a-c" }, + { + type = "bool-setting", + name = "dectorio-lawnmower", + setting_type = "startup", + default_value = true, + order = "a-ca" + }, { type = "bool-setting", name = "dectorio-wood",