Merge remote-tracking branch 'origin/master'

This commit is contained in:
Anuken
2026-02-19 22:01:31 -05:00
37 changed files with 76 additions and 18 deletions
+1
View File
@@ -1045,6 +1045,7 @@ stat.boosteffect = Boost Effect
stat.maxunits = Max Active Units
stat.health = Health
stat.armor = Armor
stat.armor.info = Applied damage = incoming damage - armor.\nUp to 90% maximum damage reduction.
stat.buildtime = Build Time
stat.maxconsecutive = Max Consecutive
stat.buildcost = Build Cost
+1
View File
@@ -1045,6 +1045,7 @@ stat.boosteffect = Эфект паскарэння
stat.maxunits = Максімальная колькасць актыўных адзінак
stat.health = Здароўе
stat.armor = Браня
stat.armor.info = Applied damage = incoming damage - armor.\nUp to 90% maximum damage reduction.
stat.buildtime = Час будаўніцтва
stat.maxconsecutive = Максімальны Запар
stat.buildcost = Кошт будаўніцтва
+1
View File
@@ -1045,6 +1045,7 @@ stat.boosteffect = Ефект на усилване
stat.maxunits = Максимални активни единици
stat.health = Точки живот
stat.armor = Броня
stat.armor.info = Applied damage = incoming damage - armor.\nUp to 90% maximum damage reduction.
stat.buildtime = Време за построяване
stat.maxconsecutive = Максимално последователни
stat.buildcost = Разходи за изграждане
+1
View File
@@ -1045,6 +1045,7 @@ stat.boosteffect = Efecte del potenciador
stat.maxunits = Unitats actives màximes
stat.health = Salut
stat.armor = Armadura
stat.armor.info = Applied damage = incoming damage - armor.\nUp to 90% maximum damage reduction.
stat.buildtime = Temps de construcció
stat.maxconsecutive = Màxim consecutiu
stat.buildcost = Cost de construcció
+1
View File
@@ -1045,6 +1045,7 @@ stat.boosteffect = Účinek posílení
stat.maxunits = Nejvýše aktivních jednotek
stat.health = Životy
stat.armor = Pancíř
stat.armor.info = Applied damage = incoming damage - armor.\nUp to 90% maximum damage reduction.
stat.buildtime = Čas konstrukce
stat.maxconsecutive = Nejvýše po sobě
stat.buildcost = Cena konstrukce
+1
View File
@@ -1045,6 +1045,7 @@ stat.boosteffect = Boost-effekt
stat.maxunits = Max aktive enheder
stat.health = Helbred
stat.armor = Armor
stat.armor.info = Applied damage = incoming damage - armor.\nUp to 90% maximum damage reduction.
stat.buildtime = Bygge-tid
stat.maxconsecutive = Max fortløbende
stat.buildcost = Bygge-pris
+1
View File
@@ -1045,6 +1045,7 @@ stat.boosteffect = Verstärkungseffekt
stat.maxunits = Max. aktive Einheiten
stat.health = Lebenspunkte
stat.armor = Rüstung
stat.armor.info = Applied damage = incoming damage - armor.\nUp to 90% maximum damage reduction.
stat.buildtime = Baudauer
stat.maxconsecutive = Max. Konsekutive
stat.buildcost = Baukosten
+1
View File
@@ -1045,6 +1045,7 @@ stat.boosteffect = Efecto de potenciador
stat.maxunits = Máximo de unidades activas
stat.health = Vida
stat.armor = Armadura
stat.armor.info = Applied damage = incoming damage - armor.\nUp to 90% maximum damage reduction.
stat.buildtime = Tiempo de construcción
stat.maxconsecutive = Máximo consecutivo
stat.buildcost = Coste de construcción
+1
View File
@@ -1045,6 +1045,7 @@ stat.boosteffect = Kiirendaja mõju
stat.maxunits = Maks. aktiivseid väeüksuseid
stat.health = Elud
stat.armor = Armor
stat.armor.info = Applied damage = incoming damage - armor.\nUp to 90% maximum damage reduction.
stat.buildtime = Ehitamise aeg
stat.maxconsecutive = Max Consecutive
stat.buildcost = Ehitamise maksumus
+1
View File
@@ -1045,6 +1045,7 @@ stat.boosteffect = Indartze-efektua
stat.maxunits = Gehieneko unitate aktiboak
stat.health = Osasuna
stat.armor = Armadura
stat.armor.info = Applied damage = incoming damage - armor.\nUp to 90% maximum damage reduction.
stat.buildtime = Eraikitze-denbora
stat.maxconsecutive = Elkarren segidako maximoa
stat.buildcost = Eraikitze-kostua
+1
View File
@@ -1045,6 +1045,7 @@ stat.boosteffect = Tehostamisem vaikutus
stat.maxunits = Maksimimäärä yksikköjä
stat.health = Elämäpisteet
stat.armor = Haarniska
stat.armor.info = Applied damage = incoming damage - armor.\nUp to 90% maximum damage reduction.
stat.buildtime = Rakentamisaika
stat.maxconsecutive = Max. peräkkäisiä
stat.buildcost = Rakentamishinta
@@ -1045,6 +1045,7 @@ stat.boosteffect = Epekto ng Lakas
stat.maxunits = Max Active Units
stat.health = Health
stat.armor = Baluti
stat.armor.info = Applied damage = incoming damage - armor.\nUp to 90% maximum damage reduction.
stat.buildtime = Oras ng pagbuo
stat.maxconsecutive = Max Consecutive
stat.buildcost = Gastos ng pagbuo
+1
View File
@@ -1045,6 +1045,7 @@ stat.boosteffect = Effet(s) du Booster
stat.maxunits = Max d'Unités Actives
stat.health = Santé
stat.armor = Armure
stat.armor.info = Applied damage = incoming damage - armor.\nUp to 90% maximum damage reduction.
stat.buildtime = Durée de construction
stat.maxconsecutive = Max consécutif
stat.buildcost = Coût de construction
+1
View File
@@ -1045,6 +1045,7 @@ stat.boosteffect = Erősítés hatása
stat.maxunits = Aktív egységek (legfeljebb)
stat.health = Életpont
stat.armor = Páncél
stat.armor.info = Applied damage = incoming damage - armor.\nUp to 90% maximum damage reduction.
stat.buildtime = Építési időtartam
stat.maxconsecutive = Egymást követő nyersanyagok (legfeljebb)
stat.buildcost = Építési költség
@@ -1045,6 +1045,7 @@ stat.boosteffect = Efek Pendorong
stat.maxunits = Batas Unit Aktif
stat.health = Nyawa
stat.armor = Pelindung
stat.armor.info = Applied damage = incoming damage - armor.\nUp to 90% maximum damage reduction.
stat.buildtime = Waktu Pembangunan
stat.maxconsecutive = Batas Konsekutif
stat.buildcost = Biaya Bangunan
+1
View File
@@ -1045,6 +1045,7 @@ stat.boosteffect = Effetto Boost
stat.maxunits = Unità Attive Massime
stat.health = Salute
stat.armor = Armatura
stat.armor.info = Applied damage = incoming damage - armor.\nUp to 90% maximum damage reduction.
stat.buildtime = Tempo di Costruzione
stat.maxconsecutive = Limite Consecutivi
stat.buildcost = Costo di Costruzione
+1
View File
@@ -1045,6 +1045,7 @@ stat.boosteffect = ブースト効果
stat.maxunits = 最大ユニット数
stat.health = 耐久値
stat.armor = 装甲
stat.armor.info = Applied damage = incoming damage - armor.\nUp to 90% maximum damage reduction.
stat.buildtime = 建設時間
stat.maxconsecutive = 最大連鎖
stat.buildcost = 建設費用
+1
View File
@@ -1045,6 +1045,7 @@ stat.boosteffect = 버프 효과
stat.maxunits = 최대 유닛 수
stat.health = 체력
stat.armor = 방어력
stat.armor.info = Applied damage = incoming damage - armor.\nUp to 90% maximum damage reduction.
stat.buildtime = 건설 시간
stat.maxconsecutive = 최대 체인
stat.buildcost = 건설 비용
+1
View File
@@ -1045,6 +1045,7 @@ stat.boosteffect = Pastiprinimo Efektas
stat.maxunits = Maks. Aktyvių Vienetų Kiekis
stat.health = Gyvybės
stat.armor = Armor
stat.armor.info = Applied damage = incoming damage - armor.\nUp to 90% maximum damage reduction.
stat.buildtime = Statymo Laikas
stat.maxconsecutive = Max Consecutive
stat.buildcost = Statymo Kaina
+1
View File
@@ -1045,6 +1045,7 @@ stat.boosteffect = Boost-effect
stat.maxunits = Maximaal Actieve Units
stat.health = Levenspunten
stat.armor = Pantser
stat.armor.info = Applied damage = incoming damage - armor.\nUp to 90% maximum damage reduction.
stat.buildtime = Bouwtijd
stat.maxconsecutive = Max Opeenvolgend
stat.buildcost = Bouwkosten
@@ -1045,6 +1045,7 @@ stat.boosteffect = Boost Effect
stat.maxunits = Max Active Units
stat.health = Health
stat.armor = Armor
stat.armor.info = Applied damage = incoming damage - armor.\nUp to 90% maximum damage reduction.
stat.buildtime = Build Time
stat.maxconsecutive = Max Consecutive
stat.buildcost = Build Cost
+1
View File
@@ -1045,6 +1045,7 @@ stat.boosteffect = Efekt wzmocnienia
stat.maxunits = Maksymalna ilość jednostek
stat.health = Zdrowie
stat.armor = Pancerz
stat.armor.info = Applied damage = incoming damage - armor.\nUp to 90% maximum damage reduction.
stat.buildtime = Czas budowy
stat.maxconsecutive = Maksymalnie kolejnych
stat.buildcost = Koszt budowy
@@ -1045,6 +1045,7 @@ stat.boosteffect = Efeito do Impulso
stat.maxunits = Máximo de unidades ativas
stat.health = Saúde
stat.armor = Armadura
stat.armor.info = Applied damage = incoming damage - armor.\nUp to 90% maximum damage reduction.
stat.buildtime = Tempo de construção
stat.maxconsecutive = Máximo Consecutivo
stat.buildcost = Custo de construção
@@ -1045,6 +1045,7 @@ stat.boosteffect = Efeito do Boost
stat.maxunits = Máximo de Unidades Ativas
stat.health = Saúde
stat.armor = Armor
stat.armor.info = Applied damage = incoming damage - armor.\nUp to 90% maximum damage reduction.
stat.buildtime = Tempo de Construção
stat.maxconsecutive = Máximo Consecutivo
stat.buildcost = Custo de Construção
+1
View File
@@ -1045,6 +1045,7 @@ stat.boosteffect = Efect de Îmbunătățire
stat.maxunits = Maxim Unități Active
stat.health = Viață
stat.armor = Armură
stat.armor.info = Applied damage = incoming damage - armor.\nUp to 90% maximum damage reduction.
stat.buildtime = Timp Construcție
stat.maxconsecutive = Maxim Consecutive
stat.buildcost = Cost Construcție
+1
View File
@@ -1045,6 +1045,7 @@ stat.boosteffect = Ускоряющий эффект
stat.maxunits = Максимальное количество активных единиц
stat.health = Прочность
stat.armor = Броня
stat.armor.info = Applied damage = incoming damage - armor.\nUp to 90% maximum damage reduction.
stat.buildtime = Время строительства
stat.maxconsecutive = Макс. последовательность
stat.buildcost = Стоимость строительства
+1
View File
@@ -1045,6 +1045,7 @@ stat.boosteffect = Efekat pojačivača
stat.maxunits = Maksimalne aktivne jedinice
stat.health = Izdržljivost
stat.armor = Oklop
stat.armor.info = Applied damage = incoming damage - armor.\nUp to 90% maximum damage reduction.
stat.buildtime = Vreme izgradnje
stat.maxconsecutive = Maksimalni konzekutivni
stat.buildcost = Cena izgradnje
+1
View File
@@ -1045,6 +1045,7 @@ stat.boosteffect = Boost Effect
stat.maxunits = Max Active Units
stat.health = Health
stat.armor = Armor
stat.armor.info = Applied damage = incoming damage - armor.\nUp to 90% maximum damage reduction.
stat.buildtime = Build Time
stat.maxconsecutive = Max Consecutive
stat.buildcost = Build Cost
+1
View File
@@ -1045,6 +1045,7 @@ stat.boosteffect = เอฟเฟกต์ของบูสต์
stat.maxunits = จำนวนยูนิตสูงสุด
stat.health = พลังชีวิต
stat.armor = เกราะ
stat.armor.info = Applied damage = incoming damage - armor.\nUp to 90% maximum damage reduction.
stat.buildtime = เวลาในการสร้าง
stat.maxconsecutive = ติดต่อกันได้สูงสุด
stat.buildcost = ใช้
+1
View File
@@ -1045,6 +1045,7 @@ stat.boosteffect = Boost Effect
stat.maxunits = Max Active Units
stat.health = Can
stat.armor = Armor
stat.armor.info = Applied damage = incoming damage - armor.\nUp to 90% maximum damage reduction.
stat.buildtime = Build Time
stat.maxconsecutive = Max Consecutive
stat.buildcost = Build Cost
+1
View File
@@ -1045,6 +1045,7 @@ stat.boosteffect = Hızlandırma Efekti
stat.maxunits = Maksimum Aktif Birim
stat.health = Can
stat.armor = Zırh
stat.armor.info = Applied damage = incoming damage - armor.\nUp to 90% maximum damage reduction.
stat.buildtime = İnşaat Süresi
stat.maxconsecutive = Art Arda En Fazla
stat.buildcost = İnşaat Fiyatı
@@ -1045,6 +1045,7 @@ stat.boosteffect = Прискорювальний ефект
stat.maxunits = Максимальна кількість активних одиниць
stat.health = Здоров’я
stat.armor = Броня
stat.armor.info = Applied damage = incoming damage - armor.\nUp to 90% maximum damage reduction.
stat.buildtime = Час будування
stat.maxconsecutive = Максимальна послідовність
stat.buildcost = Вартість будування
+18 -17
View File
@@ -1030,7 +1030,7 @@ stat.itemcapacity = Sức chứa vật phẩm
stat.memorycapacity = Dung lượng bộ nhớ
stat.basepowergeneration = Năng lượng tạo ra cơ bản
stat.productiontime = Thời gian sản xuất
stat.warmuptime = Warmup Time
stat.warmuptime = Thời Gian Khởi Động
stat.repairtime = Thời gian hoàn thành sửa chữa
stat.repairspeed = Tốc độ sửa
stat.weapons = Vũ khí
@@ -1045,6 +1045,7 @@ stat.boosteffect = Hiệu ứng tăng cường
stat.maxunits = Số đơn vị hoạt động tối đa
stat.health = Độ bền
stat.armor = Giáp
stat.armor.info = Applied damage = incoming damage - armor.\nUp to 90% maximum damage reduction.
stat.buildtime = Thời gian xây
stat.maxconsecutive = Nối tiếp tối đa
stat.buildcost = Chi phí xây
@@ -1073,7 +1074,7 @@ stat.minetier = Cấp độ đào
stat.payloadcapacity = Tải trọng
stat.abilities = Khả năng
stat.canboost = Có thể tăng cường
stat.boostingspeed = Boosting Speed
stat.boostingspeed = Tốc Độ Tăng Tốc
stat.flying = Bay
stat.ammouse = Sử dụng đạn
stat.ammocapacity = Trữ lượng đạn
@@ -1104,7 +1105,7 @@ ability.armorplate.description = Giảm sát thương gánh chịu trong khi b
ability.shieldarc = Khiên vòng cung
ability.shieldarc.description = Phát một khiên trường lực vòng cung hấp thụ hoặc làm chệch hướng các loại đạn, tên lửa và đơn vị
ability.suppressionfield = Ngăn chặn sửa chữa
ability.suppressionfield.description = Dừng các công trình sửa chữa gần đó
ability.suppressionfield.description = Dừng các công trình sửa chữa và tháp xây dựng gần đó
ability.energyfield = Trường điện từ
ability.energyfield.description = Giật điện các kẻ địch gần đó
ability.energyfield.healdescription = Giật điện các kẻ địch gần đó và hồi phục đồng minh
@@ -1172,7 +1173,7 @@ bar.activated = Đã kích hoạt
units.processorcontrol = [lightgray]Điều khiển bởi bộ xử lý
weapon.pointdefense = [stat]Point Defense
weapon.pointdefense = [stat]Phòng Thủ Mũi Nhọn
bullet.damage = [stat]{0}[lightgray] sát thương
bullet.splashdamage = [stat]{0}[lightgray] sát thương diện rộng ~[stat] {1}[lightgray] ô
@@ -1184,17 +1185,17 @@ bullet.armorpiercing = [stat]{0}%[lightgray] xuyên giáp
bullet.antiarmor = [stat]{0}x[lightgray] kháng giáp
bullet.maxdamagefraction = [stat]{0}%[lightgray] giới hạn sát thương
bullet.suppression = [stat]{0}[lightgray] giây ngăn sửa chữa ~ [stat]{1}[lightgray] ô
bullet.empradius = [stat]{0}[lightgray] tiles EMP radius
bullet.empboost = [stat]{0}%[lightgray] overdrive ~ [stat]{1}[lightgray]
bullet.empdamage = [stat]{0}%[lightgray] power damage
bullet.empslowdown = [stat]{0}%[lightgray] enemy power overdrive ~ [stat]{1}[lightgray]
bullet.empunitdamage = [stat]{0}%[lightgray] unit damage
bullet.empradius = bán kính EMP [stat]{0}[lightgray] ô
bullet.empboost = [stat]{0}%[lightgray] tăng tốc ~ [stat]{1}[lightgray]
bullet.empdamage = [stat]{0}%[lightgray] sát thương năng lượng
bullet.empslowdown = [stat]{0}%[lightgray] tăng tốc năng lượng kẻ địch ~ [stat]{1}[lightgray]
bullet.empunitdamage = [stat]{0}%[lightgray] sát thương đơn vị
bullet.interval = [stat]{0}/giây[lightgray] đạn ngắt quãng:
bullet.frags = [stat]{0}x[lightgray] đạn phá mảnh:
bullet.lightning = [stat]{0}[lightgray]x phóng điện ~ [stat]{1}[lightgray] sát thương
bullet.lightninginterval = [stat]{0}[lightgray] tiles interval ~ [stat]{1}[lightgray] tiles length
bullet.lightninginterval = [stat]{0}[lightgray] khoảng ô ~ [stat]{1}[lightgray] độ dài ô
bullet.buildingdamage = [stat]{0}%[lightgray] sát thương công trình
bullet.spawnBullets = [stat]{0}x[lightgray] spawned bullets:
bullet.spawnBullets = [stat]{0}x[lightgray] đạn sinh ra:
bullet.shielddamage = [stat]{0}%[lightgray] sát thương khiên chắn
bullet.knockback = [stat]{0}[lightgray] đẩy lùi
bullet.pierce = [stat]{0}[lightgray]x xuyên thấu
@@ -1215,7 +1216,7 @@ unit.liquidsecond = đơn vị chất lỏng/giây
unit.itemssecond = vật phẩm/giây
unit.liquidunits = đơn vị chất lỏng
unit.powerunits = đơn vị năng lượng
unit.powerequilibrium = power equilibrium
unit.powerequilibrium = cân bằng năng lượng
unit.heatunits = đơn vị nhiệt
unit.degrees = độ
unit.seconds = giây
@@ -1233,7 +1234,7 @@ unit.billions = tỷ
unit.shots = phát bắn
unit.pershot = /phát bắn
unit.perleg = mỗi chân
unit.perside = per side
unit.perside = mỗi mặt
category.purpose = Mục đích
category.general = Chung
category.power = Năng lượng
@@ -1489,7 +1490,7 @@ rules.unithealthmultiplier = Hệ Số Độ Bền Của Đơn Vị
rules.unitdamagemultiplier = Hệ Số Sát Thương Của Đơn Vị
rules.unitcrashdamagemultiplier = Hệ Số Sát Thương Của Đơn Vị Khi Bị Bắn Rơi
rules.unitminespeedmultiplier = Hệ Số Tốc Độ Khai Khoáng Đơn Vị
rules.logicunitcontrol = Logic Unit Control
rules.logicunitcontrol = Lô-gíc Điều Khiển Đơn Vị
rules.logicunitbuild = Logic Đơn Vị Xây Dựng
rules.logicunitdeconstruct = Logic Đơn Vị Phá Dỡ
rules.solarmultiplier = Hệ Số Năng Lượng Mặt Trời
@@ -2551,9 +2552,9 @@ unit.navanax.description = Bắn tia xung điện từ (EMP) nổ, gây thiệt
#Erekir
unit.stell.description = Bắn các viên đạn tiêu chuẩn vào các mục tiêu kẻ địch.
unit.locus.description = Bắn các viên đạn xen kẽ vào các mục tiêu kẻ địch.
unit.precept.description = Bắn các viên đạn phân cụm xuyên thấu vào các mục tiêu kẻ địch. Ít bị ảnh hưởng bởi địa hình gây hại.
unit.vanquish.description = Bắn các viên đạn phân chia xuyên thấu lớn vào các mục tiêu kẻ địch. Ít bị ảnh hưởng bởi địa hình gây hại.
unit.conquer.description = Bắn các viên đạn xếp tầng xuyên thấu vào các mục tiêu kẻ địch. Ít bị ảnh hưởng bởi địa hình gây hại.
unit.precept.description = Bắn các viên đạn phân cụm xuyên thấu vào các mục tiêu kẻ địch. Ít bị ảnh hưởng bởi lực cản chất lỏng.
unit.vanquish.description = Bắn các viên đạn phân chia xuyên thấu lớn vào các mục tiêu kẻ địch. Ít bị ảnh hưởng bởi lực cản chất lỏng.
unit.conquer.description = Bắn các viên đạn xếp tầng xuyên thấu vào các mục tiêu kẻ địch. Ít bị ảnh hưởng đáng kể bởi lực cản chất lỏng.
unit.merui.description = Bắn pháo tầm xa vào các mục tiêu kẻ địch trên mặt đất. Có thể đi qua hầu hết loại địa hình.
unit.cleroi.description = Bắn trái phá kép vào các mục tiêu kẻ địch. Nhắm vào viên đạn kẻ địch với các tháp súng phòng thủ mũi nhọn. Có thể đi qua hầu hết loại địa hình.
unit.anthicus.description = Bắn tên lửa dẫn đường tầm xa vào các mục tiêu kẻ địch. Có thể đi qua hầu hết loại địa hình.
@@ -1045,6 +1045,7 @@ stat.boosteffect = 强化效果
stat.maxunits = 最大单位数量
stat.health = 生命值
stat.armor = 护甲
stat.armor.info = Applied damage = incoming damage - armor.\nUp to 90% maximum damage reduction.
stat.buildtime = 建造时间
stat.maxconsecutive = 连续放置限制
stat.buildcost = 建造花费
@@ -1045,6 +1045,7 @@ stat.boosteffect = 加速效果
stat.maxunits = 最大活躍單位
stat.health = 耐久度
stat.armor = 裝甲
stat.armor.info = Applied damage = incoming damage - armor.\nUp to 90% maximum damage reduction.
stat.buildtime = 建設時間
stat.maxconsecutive = 最大連續
stat.buildcost = 建造成本
@@ -88,7 +88,7 @@ public class ContentInfoDialog extends BaseDialog{
for(Stat stat : map.keys()){
table.table(inset -> {
inset.left();
inset.add("[lightgray]" + stat.localized() + ":[] ").left().top();
stats.statInfo(inset.add("[lightgray]" + stat.localized() + ":[] ").left().top(), stat);
Seq<StatValue> arr = map.get(stat);
for(StatValue value : arr){
value.display(inset);
+23
View File
@@ -1,11 +1,17 @@
package mindustry.world.meta;
import arc.*;
import arc.scene.ui.layout.*;
import arc.struct.ObjectMap.*;
import arc.struct.*;
import arc.util.*;
import mindustry.*;
import mindustry.gen.*;
import mindustry.mod.*;
import mindustry.type.*;
import java.util.*;
/** Hold and organizes a list of block stats. */
@NoPatch
public class Stats{
@@ -131,4 +137,21 @@ public class Stats{
}
return map;
}
public void statInfo(Cell<?> cell, Stat stat){
if(cell == null || stat == null) return;
String key = "stat." + stat.name.toLowerCase(Locale.ROOT);
if(Core.bundle.has(key + ".info")){
if(Vars.mobile && !Core.graphics.isPortrait()){ //disabled in portrait - broken and goes offscreen
Table table = new Table();
table.add(cell.get()).left().expandX().fillX();
cell.clearElement();
table.button(Icon.infoSmall, () -> Vars.ui.showInfo("@" + key + ".info")).size(32f).right();
cell.setElement(table).left().expandX().fillX();
}else{
cell.tooltip("@" + key + ".info");
}
}
}
}