Merge branch 'master' into do-you-hear-the-voices-too

This commit is contained in:
Anuken
2024-07-07 11:31:09 -04:00
committed by GitHub
52 changed files with 122 additions and 33 deletions

View File

@@ -2439,6 +2439,7 @@ lenum.shootp = Shoot at a unit/building with velocity prediction.
lenum.config = Building configuration, e.g. sorter item.
lenum.enabled = Whether the block is enabled.
laccess.currentammotype = Current ammo item/liquid of a turret.
laccess.color = Illuminator color.
laccess.controller = Unit controller. If processor controlled, returns processor.\nOtherwise, returns the unit itself.
laccess.dead = Whether a unit/building is dead or no longer valid.

View File

@@ -2374,6 +2374,7 @@ lenum.shoot = Shoot at a position.
lenum.shootp = Shoot at a unit/building with velocity prediction.
lenum.config = Building configuration, e.g. sorter item.
lenum.enabled = Whether the block is enabled.
laccess.currentammotype = Current ammo item/liquid of a turret.
laccess.color = Illuminator color.
laccess.controller = Unit controller. If processor controlled, returns processor.\nIf in a formation, returns leader.\nOtherwise, returns the unit itself.
laccess.dead = Whether a unit/building is dead or no longer valid.

View File

@@ -2390,6 +2390,7 @@ lenum.shoot = Стреля към позиция.
lenum.shootp = Прицелва се в единица/сграда, изчислявайки нейната скорост.
lenum.config = Building configuration, e.g. sorter item.
lenum.enabled = Дали блокът е активиран или забранен.
laccess.currentammotype = Current ammo item/liquid of a turret.
laccess.color = Цвят на осветителя.
laccess.controller = Връща кой контролира единицата.\nАко е управляване от процесор, връща процесора.\nАко е във формация, връща лидера.\nИначе, връща самата единица.

View File

@@ -1319,10 +1319,10 @@ rules.disableworldprocessors = Desactiva els processadors integrats
rules.schematic = Permetre lús desquemes
rules.wavetimer = Temporitzador donades
rules.wavesending = Enviament donades
rules.allowedit = Allow Editing Rules
rules.allowedit.info = When enabled, the player can edit rules in-game via the button in the bottom left corner of the Pause menu.
rules.allowedit = Permet editar les regles
rules.allowedit.info = Quan està activat, el jugador pot editar les regles de la partida amb el botó que hi ha a la part inferior esquerra del menú de pausa.
rules.waves = Onades
rules.airUseSpawns = Air units use spawn points
rules.airUseSpawns = Les unitats aèries fan servir els punts daparició
rules.attack = Mode datac
rules.buildai = IA constructora de bases
rules.buildaitier = Nivell de construcció de la IA
@@ -2400,6 +2400,7 @@ lenum.shoot = Dispara a una posició.
lenum.shootp = Dispara a una unitat/bloc tenint en compte la seva velocitat a lhora dapuntar.
lenum.config = Configuració de lestructura, com ara el classificador.
lenum.enabled = Retorna si el bloc està activat.
laccess.currentammotype = Current ammo item/liquid of a turret.
laccess.color = Color de lil·luminador.
laccess.controller = Controlador de la unitat. Si es controla per processador, retorna el processador.\nAltrament, retorna la mateixa unitat.
@@ -2540,7 +2541,7 @@ lenum.payenter = Entra o apareix al bloc on es troba la unitat.
lenum.flag = Identificador numèric de la unitat.
lenum.mine = Extreu recursos en una posició.
lenum.build = Construeix una estructura.
lenum.getblock = Fetch building, floor and block type at coordinates.\nUnit must be in range of the position, otherwise null is returned.
lenum.getblock = Obté el bloc, el seu tipus i el terra a les coordenades indicades.\nLa posició escollida ha destar a labast de la unitat; altrament es retornarà un valor buit.
lenum.within = Comprova si la unitat està a prop duna posició.
lenum.boost = Inicia/Detén el vol.
lenum.flushtext = Passa el contingut de la cua dimpressió al marcador, si es pot.\nSi sestableix «fetch» a vertader, sintentarà carregar les propietats de la traducció del mapa o del joc.

View File

@@ -2395,6 +2395,7 @@ lenum.shoot = Vystřelí na určitou pozici.
lenum.shootp = Vystřelí na jednotku/budovu s rychlostní předpovědí.
lenum.config = Konfigurace budovy, např. třídící věc pro třídičku.
lenum.enabled = Zda je blok povolen.
laccess.currentammotype = Current ammo item/liquid of a turret.
laccess.color = Barva osvětlovače.
laccess.controller = Kontroler jednotky. Pokud procesor je kontrolován, vrátí procesor\nPokud je ve formaci, vrací vůdce.\nJinak vrací jednotku.

View File

@@ -2374,6 +2374,7 @@ lenum.shoot = Shoot at a position.
lenum.shootp = Shoot at a unit/building with velocity prediction.
lenum.config = Building configuration, e.g. sorter item.
lenum.enabled = Whether the block is enabled.
laccess.currentammotype = Current ammo item/liquid of a turret.
laccess.color = Illuminator color.
laccess.controller = Unit controller. If processor controlled, returns processor.\nIf in a formation, returns leader.\nOtherwise, returns the unit itself.
laccess.dead = Whether a unit/building is dead or no longer valid.

View File

@@ -2425,6 +2425,7 @@ lenum.shoot = Schießt auf eine Position.
lenum.shootp = Schießt auf eine Einheit / einen Block und sagt deren Position voraus.
lenum.config = Blockkonfiguration, z.B. das ausgewählte Item in einem Sortierer.
lenum.enabled = Ob der Block an oder aus ist.
laccess.currentammotype = Current ammo item/liquid of a turret.
laccess.color = Illuminiererfarbe.
laccess.controller = Einheitensteurer. Gibt "processor" zurück, wenn die Einheit prozessorgesteuert ist,.\nGibt den Steuerer zurück, wenn die Einheit Teil einer Formation ist.\nSonst wird einfach die Einheit zurückgegeben.

View File

@@ -2418,6 +2418,7 @@ lenum.shoot = Dispara a una posición.
lenum.shootp = Dispara a una unidad/estructura con predicción de velocidad.
lenum.config = Configuración de estructura, por ejemplo: el objeto seleccionado en un clasificador.
lenum.enabled = Si el bloque está activado.
laccess.currentammotype = Current ammo item/liquid of a turret.
laccess.color = Color del iluminador.
laccess.controller = Controlador de unidad. Si se controla mediante un procesador, devuelve dicho procesador.\nSi está en formación, devuelve su líder.\nDe otra forma, devuelve la misma unidad.

View File

@@ -2376,6 +2376,7 @@ lenum.shoot = Shoot at a position.
lenum.shootp = Shoot at a unit/building with velocity prediction.
lenum.config = Building configuration, e.g. sorter item.
lenum.enabled = Whether the block is enabled.
laccess.currentammotype = Current ammo item/liquid of a turret.
laccess.color = Illuminator color.
laccess.controller = Unit controller. If processor controlled, returns processor.\nIf in a formation, returns leader.\nOtherwise, returns the unit itself.
laccess.dead = Whether a unit/building is dead or no longer valid.

View File

@@ -2378,6 +2378,7 @@ lenum.shoot = Shoot at a position.
lenum.shootp = Shoot at a unit/building with velocity prediction.
lenum.config = Building configuration, e.g. sorter item.
lenum.enabled = Whether the block is enabled.
laccess.currentammotype = Current ammo item/liquid of a turret.
laccess.color = Illuminator color.
laccess.controller = Unit controller. If processor controlled, returns processor.\nIf in a formation, returns leader.\nOtherwise, returns the unit itself.
laccess.dead = Whether a unit/building is dead or no longer valid.

View File

@@ -2379,6 +2379,7 @@ lenum.shoot = Ammu tiettyä sijaintia.
lenum.shootp = Ammu yksikköä/rakennusta nopeudenennustus päällä.
lenum.config = Rakennuksen säätö, esim. lajittelijan valinta.
lenum.enabled = Selvitä, onko palikka päällä.
laccess.currentammotype = Current ammo item/liquid of a turret.
laccess.color = Lampun väri.
laccess.controller = Yksikön hallitsija. Jos yksikköä hallitsee prosessori, palauttaa prosessorin.\nJos yksikkö on muodostelmassa, palauttaa johtajan.\nPalauttaa muulloin itse yksikön.
laccess.dead = Selvitä, onko yksikkö/rakennus tuhoutunut tai ei enää kelvollinen.

View File

@@ -2375,6 +2375,7 @@ lenum.shoot = Shoot at a position.
lenum.shootp = Shoot at a unit/building with velocity prediction.
lenum.config = Building configuration, e.g. sorter item.
lenum.enabled = Whether the block is enabled.
laccess.currentammotype = Current ammo item/liquid of a turret.
laccess.color = Illuminator color.
laccess.controller = Unit controller. If processor controlled, returns processor.\nIf in a formation, returns leader.\nOtherwise, returns the unit itself.
laccess.dead = Whether a unit/building is dead or no longer valid.

View File

@@ -2425,6 +2425,7 @@ lenum.shoot = Tire à une position donnée.
lenum.shootp = Tire à une unité/bâtiment avec la prédiction de mouvement.
lenum.config = La configuration d'un bâtiment. Par exemple, l'objet sélectionné dans un trieur.
lenum.enabled = Retourne si le bloc est activé ou pas.
laccess.currentammotype = Current ammo item/liquid of a turret.
laccess.color = La couleur d'un illuminateur.
laccess.controller = Le contrôleur de l'Unité.\nSi l'Unité est contrôlée par un processeur, cela retournera le processeur en question.\nSi l'Unité est en formation, cela retournera le leader de la formation.\nSinon, renvoie lunité elle-même.

View File

@@ -1337,8 +1337,8 @@ rules.disableworldprocessors = Világprocesszorok letiltása
rules.schematic = Vázlatok engedélyezése
rules.wavetimer = Hullámok időzítése
rules.wavesending = Hullámok küldése
rules.allowedit = Allow Editing Rules
rules.allowedit.info = When enabled, the player can edit rules in-game via the button in the bottom left corner of the Pause menu.
rules.allowedit = Szabályok szerkesztésének engedélyezése
rules.allowedit.info = Ha engedélyezve van, a játékos szerkesztheti a szabályokat a játékban a Szünet menü bal alsó sarkában található gomb segítségével.
rules.waves = Hullámok
rules.airUseSpawns = A légi egységek használjanak kezdőpontokat
rules.attack = Támadási mód
@@ -2437,6 +2437,7 @@ lenum.shoot = Lövés egy adott pontra.
lenum.shootp = Lövés egy egységre/épületre sebesség-előrejelzéssel.
lenum.config = Épületkonfiguráció, például nyersanyag-válogató.
lenum.enabled = Engedélyezve van-e a blokk.
laccess.currentammotype = Current ammo item/liquid of a turret.
laccess.color = Megvilágítás színe.
laccess.controller = Egységvezérlő. Ha processzor vezérli, akkor a processzort adja vissza.\nKülönben magát az egységet adja vissza.

View File

@@ -2416,6 +2416,7 @@ lenum.shoot = Menembak pada suatu posisi yang ditentukan.
lenum.shootp = Menembak pada unit/bangunan dengan prediksi kecepatan.
lenum.config = Pengaturan bangunan, misalnya menyortir barang.
lenum.enabled = Menentukan aktif tidaknya suatu blok.
laccess.currentammotype = Current ammo item/liquid of a turret.
laccess.color = Warna lampu.
laccess.controller = Pengendali unit. Jika dikendalikan prosesor, mengembalikan prosesor.\nJika unit dalam barisan, mengembalikan leader.\nSebaliknya, mengembalikan unit itu sendiri.

View File

@@ -2388,6 +2388,7 @@ lenum.shoot = Shoot at a position.
lenum.shootp = Shoot at a unit/building with velocity prediction.
lenum.config = Building configuration, e.g. sorter item.
lenum.enabled = Whether the block is enabled.
laccess.currentammotype = Current ammo item/liquid of a turret.
laccess.color = Illuminator color.
laccess.controller = Unit controller. If processor controlled, returns processor.\nIf in a formation, returns leader.\nOtherwise, returns the unit itself.
laccess.dead = Whether a unit/building is dead or no longer valid.

View File

@@ -2392,6 +2392,7 @@ lenum.shoot = 指定した座標に向かって撃ちます。
lenum.shootp = 任意のユニットや建物を撃ちます。
lenum.config = 建物の設定を取得します。\n例:ソーターに設定されているアイテムなど
lenum.enabled = ブロックが有効かどうかを取得します。
laccess.currentammotype = Current ammo item/liquid of a turret.
laccess.color = イルミネーターの色を取得します。
laccess.controller = ユニットを制御しているものを取得します。\nプロセッサ制御の場合、制御しているプロセッサを返します。\nほかのユニットに制御されている場合、制御しているユニットを返します。\nそれ以外の場合は、ユニット自身を返します。
laccess.dead = ユニットや建物が機能しているかどうか、またはもう有効でないかどうか。

View File

@@ -2393,6 +2393,7 @@ lenum.shoot = 특정 위치에 발사
lenum.shootp = 목표물 속도를 예측하여 발사
lenum.config = 필터의 아이템같은 건물의 설정
lenum.enabled = 블록의 활성 여부
laccess.currentammotype = Current ammo item/liquid of a turret.
laccess.color = 조명 색상
laccess.controller = 기체 제어자. 프로세서가 제어하면, 프로세서를 반환합니다.\n다른 기체에 의해 지휘되면(G키), 지휘하는 기체를 반환합니다.\n그 외에는 자신을 반환합니다.

View File

@@ -2376,6 +2376,7 @@ lenum.shoot = Shoot at a position.
lenum.shootp = Shoot at a unit/building with velocity prediction.
lenum.config = Building configuration, e.g. sorter item.
lenum.enabled = Whether the block is enabled.
laccess.currentammotype = Current ammo item/liquid of a turret.
laccess.color = Illuminator color.
laccess.controller = Unit controller. If processor controlled, returns processor.\nIf in a formation, returns leader.\nOtherwise, returns the unit itself.
laccess.dead = Whether a unit/building is dead or no longer valid.

View File

@@ -2389,6 +2389,7 @@ lenum.shoot = Shoot at a position.
lenum.shootp = Shoot at a unit/building with velocity prediction.
lenum.config = Building configuration, e.g. sorter item.
lenum.enabled = Whether the block is enabled.
laccess.currentammotype = Current ammo item/liquid of a turret.
laccess.color = Illuminator color.
laccess.controller = Unit controller. If processor controlled, returns processor.\nIf in a formation, returns leader.\nOtherwise, returns the unit itself.
laccess.dead = Whether a unit/building is dead or no longer valid.

View File

@@ -2376,6 +2376,7 @@ lenum.shoot = Shoot at a position.
lenum.shootp = Shoot at a unit/building with velocity prediction.
lenum.config = Building configuration, e.g. sorter item.
lenum.enabled = Whether the block is enabled.
laccess.currentammotype = Current ammo item/liquid of a turret.
laccess.color = Illuminator color.
laccess.controller = Unit controller. If processor controlled, returns processor.\nIf in a formation, returns leader.\nOtherwise, returns the unit itself.
laccess.dead = Whether a unit/building is dead or no longer valid.

View File

@@ -2412,6 +2412,7 @@ lenum.shoot = Strzel w określoną pozycje.
lenum.shootp = Strzel w jednostkę/budynek z zachowaniem trajektorii.
lenum.config = Konfiguracja budynku, np. sortownika.
lenum.enabled = Sprawdza czy blok jest włączony.
laccess.currentammotype = Current ammo item/liquid of a turret.
laccess.color = Kolor iluminatora.
laccess.controller = Kontroler jednostki. Jeśli jest kontrolowana przez procesor, zwraca procesor.\nJeśli we formacji, zwraca przywódcę.\nW innym wypadku zwraca samą jednostkę.

View File

@@ -2411,6 +2411,7 @@ lenum.shoot = Atire em uma posição.
lenum.shootp = Atire em uma unidade/edifício com previsão de velocidade.
lenum.config = Configuração do edifício, por ex. item classificador.
lenum.enabled = Se o bloco está ativado.
laccess.currentammotype = Current ammo item/liquid of a turret.
laccess.color = Cor do iluminador.
laccess.controller = Controlador de unidade. Se controlado pelo processador, retorna o processador.\nCaso contrário, retorna a própria unidade.

View File

@@ -2376,6 +2376,7 @@ lenum.shoot = Shoot at a position.
lenum.shootp = Shoot at a unit/building with velocity prediction.
lenum.config = Building configuration, e.g. sorter item.
lenum.enabled = Whether the block is enabled.
laccess.currentammotype = Current ammo item/liquid of a turret.
laccess.color = Illuminator color.
laccess.controller = Unit controller. If processor controlled, returns processor.\nIf in a formation, returns leader.\nOtherwise, returns the unit itself.
laccess.dead = Whether a unit/building is dead or no longer valid.

View File

@@ -2395,6 +2395,7 @@ lenum.shoot = Lovește către o locație.
lenum.shootp = Lovește către o unitate/clădire. Anticipează viteza țintei și a proiectilului.
lenum.config = Configurația clădirii, de ex. materialul selectat pt Sortator.
lenum.enabled = Specifică dacă clădirea este pornită.
laccess.currentammotype = Current ammo item/liquid of a turret.
laccess.color = Culoarea iluminatorului.
laccess.controller = Controlorul unității. Dacă e controlată de procesor, returnează procesorul.\nDacă e într-o formație, returnează liderul.\nAltfel, returnează unitatea însăși.

View File

@@ -2397,6 +2397,7 @@ lenum.shoot = Стрельба в определённую позицию.
lenum.shootp = Стрельба в единицу/постройку с расчётом скорости.
lenum.config = Конфигурация постройки, например, предмет сортировки.
lenum.enabled = Включён ли блок.
laccess.currentammotype = Current ammo item/liquid of a turret.
laccess.color = Цвет осветителя.
laccess.controller = Командующий единицей. Если единица управляется процессором, возвращает процессор. Если в строю, возвращает командующего.\nВ противном случае возвращает саму единицу.

View File

@@ -2398,6 +2398,7 @@ lenum.shoot = Ispaljuj na mestu.
lenum.shootp = Shoot at a unit/building with velocity prediction.
lenum.config = Konfiguracija građevine, npr. sortirani materijal.
lenum.enabled = Da li je ova građevina osposobljena.
laccess.currentammotype = Current ammo item/liquid of a turret.
laccess.color = Boja iluminatora.
laccess.controller = Upravljač jedinice. Ako upravljano putem procesora, šalji "processor".\nAko je upravljano u formaciji, šalji "lider".U ostalim slučajevima, šalji jedinicu za sebe.

View File

@@ -2376,6 +2376,7 @@ lenum.shoot = Shoot at a position.
lenum.shootp = Shoot at a unit/building with velocity prediction.
lenum.config = Building configuration, e.g. sorter item.
lenum.enabled = Whether the block is enabled.
laccess.currentammotype = Current ammo item/liquid of a turret.
laccess.color = Illuminator color.
laccess.controller = Unit controller. If processor controlled, returns processor.\nIf in a formation, returns leader.\nOtherwise, returns the unit itself.
laccess.dead = Whether a unit/building is dead or no longer valid.

View File

@@ -2415,6 +2415,7 @@ lenum.shoot = ยิงไปที่ตำแหน่งเป้าหมา
lenum.shootp = ยิงเป้าหมายโดยมีการคำนวณการยิง
lenum.config = การกำหนดค่าของสิ่งก่อสร้าง เช่น ไอเท็มของเครื่องคัดแยก
lenum.enabled = ว่าบล็อกเปิดใช้งาน/ทำงานอยู่หรือเปล่า
laccess.currentammotype = Current ammo item/liquid of a turret.
laccess.color = สีของตัวเปล่งแสง
laccess.controller = ผู้ควบคุมยูนิต ถ้าผู้ควบคุมคือตัวประมวลผล จะส่งกลับค่า processor\nนอกนั้น จะส่งกลับค่าตัวยูนิตเอง

View File

@@ -2376,6 +2376,7 @@ lenum.shoot = Shoot at a position.
lenum.shootp = Shoot at a unit/building with velocity prediction.
lenum.config = Building configuration, e.g. sorter item.
lenum.enabled = Whether the block is enabled.
laccess.currentammotype = Current ammo item/liquid of a turret.
laccess.color = Illuminator color.
laccess.controller = Unit controller. If processor controlled, returns processor.\nIf in a formation, returns leader.\nOtherwise, returns the unit itself.
laccess.dead = Whether a unit/building is dead or no longer valid.

View File

@@ -2395,6 +2395,7 @@ lenum.shoot = Bir konuma ateş et.
lenum.shootp = Belli bir birim veya binaya ateş et.
lenum.config = Bina yapılandırması, örnek: Ayıklayıcı Türü
lenum.enabled = Blok aktif mi?
laccess.currentammotype = Current ammo item/liquid of a turret.
laccess.color = Aydınlatıcı Rengi
laccess.controller = Birim Kontrol edici. Eğer işlemci kontrol ediyorsa işlemci döner. \nFormasyon durumundaysa, lider döner.\nDiğer şekilde, birimi kendi döner.

View File

@@ -2422,6 +2422,7 @@ lenum.shoot = Стріляти в зазначену позицію.
lenum.shootp = Стріляти в одиницю чи будівлю із передбаченням швидкості.
lenum.config = Конфігурація будівлі, як-от в сортувальника.
lenum.enabled = Чи блок увімкнено.
laccess.currentammotype = Current ammo item/liquid of a turret.
laccess.color = Колір освітлювача.
laccess.controller = Керувач одиницями. Якщо процесор керує одиницею, повертає процесор.\nЯкщо у формуванні, повертається лідер.\nІнакше повертає саму одиницю.

View File

@@ -1136,8 +1136,8 @@ category.items = Vật phẩm
category.crafting = Đầu vào/ra
category.function = Chức năng
category.optional = Cải tiến tùy chọn
setting.alwaysmusic.name = Always Play Music
setting.alwaysmusic.description = When enabled, music will always play on loop in-game.\nWhen disabled, it only plays at random intervals.
setting.alwaysmusic.name = Luôn phát nhạc
setting.alwaysmusic.description = Khi bật, âm nhạc sẽ luôn phát lặp lại khi chơi.\nKhi tắt, nó chỉ phát tại các khoảng thời gian ngẫu nhiên.
setting.skipcoreanimation.name = Bỏ qua hiệu ứng phóng/đáp lõi
setting.landscape.name = Khóa ngang
setting.shadows.name = Đổ bóng
@@ -1337,8 +1337,8 @@ rules.disableworldprocessors = Vô hiệu hoá bộ xử lý thế giới
rules.schematic = Cho phép dùng bản thiết kế
rules.wavetimer = Đếm ngược đợt
rules.wavesending = Gửi đợt
rules.allowedit = Allow Editing Rules
rules.allowedit.info = When enabled, the player can edit rules in-game via the button in the bottom left corner of the Pause menu.
rules.allowedit = Cho phép sửa quy tắc
rules.allowedit.info = Khi được bật, người chơi có thể chỉnh sửa các quy tắc trong lúc chơi thông qua nút ở góc dưới bên trái của Trình đơn tạm dừng.
rules.waves = Đợt
rules.airUseSpawns = Các đơn vị không quân dùng điểm xuất hiện
rules.attack = Chế độ tấn công
@@ -1793,7 +1793,7 @@ block.red-stone-boulder.name = Tảng đá đỏ
block.graphitic-wall.name = Tường than chì
block.silicon-arc-furnace.name = Lò tinh luyện Silicon
block.electrolyzer.name = Máy điện phân
block.atmospheric-concentrator.name = Máy tập trung khí quyển
block.atmospheric-concentrator.name = Máy ngưng tụ khí quyển
block.oxidation-chamber.name = Bể Oxy hoá
block.electric-heater.name = Máy nhiệt từ điện
block.slag-heater.name = Máy nhiệt từ xỉ
@@ -1848,8 +1848,8 @@ block.vent-condenser.name = Máy ngưng tụ hơi nước
block.cliff-crusher.name = Máy nghiền vách đá
block.plasma-bore.name = Khoan plasma
block.large-plasma-bore.name = Khoan plasma lớn
block.impact-drill.name = Máy khoan thủy lực
block.eruption-drill.name = Máy khoan siêu thủy lực
block.impact-drill.name = Máy khoan động lực
block.eruption-drill.name = Máy khoan siêu động lực
block.core-bastion.name = Lõi: Pháo đài
block.core-citadel.name = Lõi: Thủ phủ
block.core-acropolis.name = Lõi: Đại đô
@@ -2180,7 +2180,7 @@ block.exponential-reconstructor.description = Nâng cấp đơn vị đầu vào
block.tetrative-reconstructor.description = Nâng cấp đơn vị đầu vào lên cấp thứ năm và là cấp cuối cùng.
block.switch.description = Công tắc có thể bật/tắt. Trạng thái có thể được đọc và điều khiển với xử lý logic.
block.micro-processor.description = Chạy tập hợp các chỉ lệnh trong một vòng lặp. Có thể dùng để điều khiển đơn vị và công trình.
block.logic-processor.description = Chạy tập hợp các chỉ lệnh trong một vòng lặp. Có thể dùng để điều khiển đơn vị và công trình. Nhanh hơn bộ xử lý tiểu cấp.
block.logic-processor.description = Chạy tập hợp các chỉ lệnh trong một vòng lặp. Có thể dùng để điều khiển đơn vị và công trình. Nhanh hơn bộ xử lý vi cấp.
block.hyper-processor.description = Chạy tập hợp các chỉ lệnh trong một vòng lặp. Có thể dùng để điều khiển đơn vị và công trình. Nhanh hơn bộ xử lý trung cấp.
block.memory-cell.description = Lưu trữ thông tin cho bộ xử lý.
block.memory-bank.description = Lưu trữ thông tin cho bộ xử lý. Dung lượng cao.
@@ -2437,6 +2437,7 @@ lenum.shoot = Bắn vào một vị trí.
lenum.shootp = Bắn vào một đơn vị/công trình với tốc độ dự đoán.
lenum.config = Cấu hình công trình, kiểu như vật phẩm của Khối sắp xếp.
lenum.enabled = Khối có đang hoạt động.
laccess.currentammotype = Current ammo item/liquid of a turret.
laccess.color = Màu đèn chiếu sáng.
laccess.controller = Thứ điều khiển đơn vị. Nếu khối xử lý đã điều khiển, trả về khối xử lý.\nNgược lại, trả về chính đơn vị đó.

View File

@@ -2423,6 +2423,7 @@ lenum.shoot = 向某个位置瞄准/射击
lenum.shootp = 根据提前量向某个单位或建筑瞄准/射击
lenum.config = 建筑设置,例如分类器所设置的筛选物品种类
lenum.enabled = 建筑是否已启用
laccess.currentammotype = Current ammo item/liquid of a turret.
laccess.color = 照明器发光的颜色
laccess.controller = 单位的控制方\n如果单位由处理器控制返回对应的处理器\n如果单位在编队中返回编队的领队\n其他情况返回单位自身

View File

@@ -2407,6 +2407,7 @@ lenum.shoot = 對該位置開火
lenum.shootp = 對指定單位/建築開火,具自瞄功能
lenum.config = 建築設置,例如分類器篩选的物品種類
lenum.enabled = 確認該建築是否啟用
laccess.currentammotype = Current ammo item/liquid of a turret.
laccess.color = 照明燈顏色
laccess.controller = 單位的控制者。受處理器控制時回傳處理器。\n在隊形中回傳領導的單位。\n否則回傳單位自己。

View File

@@ -59,7 +59,7 @@ public class NetServer implements ApplicationListener{
count++;
}
}
return count;
return (float)count + Mathf.random(-0.1f, 0.1f); //if several have the same playercount pick random
});
return re == null ? null : re.team;
}

View File

@@ -214,6 +214,8 @@ abstract class UnitComp implements Healthc, Physicsc, Hitboxc, Statusc, Teamc, I
case ammoCapacity -> type.ammoCapacity;
case x -> World.conv(x);
case y -> World.conv(y);
case velocityX -> vel.x * 60f / tilesize;
case velocityY -> vel.y * 60f / tilesize;
case dead -> dead || !isAdded() ? 1 : 0;
case team -> team.id;
case shooting -> isShooting() ? 1 : 0;
@@ -282,6 +284,8 @@ abstract class UnitComp implements Healthc, Physicsc, Hitboxc, Statusc, Teamc, I
y = World.unconv((float)value);
if(!isLocal()) snapInterpolation();
}
case velocityX -> vel.x = (float)(value * tilesize / 60d);
case velocityY -> vel.y = (float)(value * tilesize / 60d);
case rotation -> rotation = (float)value;
case team -> {
if(!net.client()){

View File

@@ -17,6 +17,7 @@ public enum LAccess{
powerNetOut,
ammo,
ammoCapacity,
currentAmmoType,
health,
maxHealth,
heat,
@@ -28,6 +29,8 @@ public enum LAccess{
rotation,
x,
y,
velocityX,
velocityY,
shootX,
shootY,
cameraX,
@@ -68,7 +71,7 @@ public enum LAccess{
all = values(),
senseable = Seq.select(all, t -> t.params.length <= 1).toArray(LAccess.class),
controls = Seq.select(all, t -> t.params.length > 0).toArray(LAccess.class),
settable = {x, y, rotation, speed, armor, health, shield, team, flag, totalPower, payloadType};
settable = {x, y, velocityX, velocityY, rotation, speed, armor, health, shield, team, flag, totalPower, payloadType};
LAccess(String... params){
this.params = params;
@@ -79,5 +82,4 @@ public enum LAccess{
this.params = params;
isObj = obj;
}
}

View File

@@ -1498,6 +1498,7 @@ public class LExecutor{
}
case ambientLight -> state.rules.ambientLight.fromDouble(value.num());
case solarMultiplier -> state.rules.solarMultiplier = Math.max(value.numf(), 0f);
case dragMultiplier -> state.rules.dragMultiplier = Math.max(value.numf(), 0f);
case ban -> {
Object cont = value.obj();
if(cont instanceof Block b){

View File

@@ -15,6 +15,7 @@ public enum LogicRule{
lighting,
ambientLight,
solarMultiplier,
dragMultiplier,
ban,
unban,

View File

@@ -4,6 +4,7 @@ import arc.struct.*;
import mindustry.content.*;
import mindustry.entities.bullet.*;
import mindustry.gen.*;
import mindustry.logic.*;
import mindustry.type.*;
import mindustry.world.consumers.*;
import mindustry.world.meta.*;
@@ -77,6 +78,14 @@ public class ContinuousLiquidTurret extends ContinuousTurret{
super.updateTile();
}
@Override
public Object senseObject(LAccess sensor){
return switch(sensor){
case currentAmmoType -> liquids.current();
default -> super.senseObject(sensor);
};
}
@Override
public boolean canConsume(){
return hasCorrectAmmo() && super.canConsume();

View File

@@ -11,6 +11,7 @@ import mindustry.entities.bullet.*;
import mindustry.game.EventType.*;
import mindustry.gen.*;
import mindustry.graphics.*;
import mindustry.logic.*;
import mindustry.type.*;
import mindustry.ui.*;
import mindustry.world.consumers.*;
@@ -107,6 +108,14 @@ public class ItemTurret extends Turret{
}
}
@Override
public Object senseObject(LAccess sensor){
return switch(sensor){
case currentAmmoType -> ammo.size > 0 ? ((ItemEntry)ammo.peek()).item : null;
default -> super.senseObject(sensor);
};
}
@Override
public void updateTile(){
unit.ammo((float)unit.type().ammoCapacity * totalAmmo / maxAmmo);

View File

@@ -6,6 +6,7 @@ import mindustry.core.*;
import mindustry.entities.*;
import mindustry.entities.bullet.*;
import mindustry.gen.*;
import mindustry.logic.*;
import mindustry.type.*;
import mindustry.world.*;
import mindustry.world.consumers.*;
@@ -72,6 +73,14 @@ public class LiquidTurret extends Turret{
super.updateTile();
}
@Override
public Object senseObject(LAccess sensor){
return switch(sensor){
case currentAmmoType -> liquids.current();
default -> super.senseObject(sensor);
};
}
@Override
protected void findTarget(){
if(extinguish && liquids.current().canExtinguish()){

View File

@@ -259,7 +259,8 @@ public class StackConveyor extends Block implements Autotiler{
@Override
public void updateTile(){
float eff = enabled ? (efficiency + baseEfficiency) : 0f;
//the item still needs to be "reeled" in when disabled
float eff = enabled ? (efficiency + baseEfficiency) : 1f;
//reel in crater
if(cooldown > 0f) cooldown = Mathf.clamp(cooldown - speed * eff * delta(), 0f, recharge);