Merge remote-tracking branch 'origin/master'

This commit is contained in:
Anuken
2025-12-20 14:07:40 -05:00
42 changed files with 177 additions and 13 deletions

View File

@@ -1474,6 +1474,10 @@ rules.cleanupdeadteams = Clean Up Defeated Team Buildings (PvP)
rules.corecapture = Capture Core On Destruction rules.corecapture = Capture Core On Destruction
rules.polygoncoreprotection = Polygonal Core Protection rules.polygoncoreprotection = Polygonal Core Protection
rules.placerangecheck = Placement Range Check rules.placerangecheck = Placement Range Check
rules.protectcores = Protect Cores
rules.protectcores.info = When disabled, the core no-build radius won't affect this team.\nPlayers won't be assigned to unprotected teams.
rules.checkplacement = Check Placement
rules.checkplacement.info = When disabled, buildings of this team are ignored in placement range checks.
rules.enemyCheat = Infinite Enemy Team Resources rules.enemyCheat = Infinite Enemy Team Resources
rules.blockhealthmultiplier = Block Health Multiplier rules.blockhealthmultiplier = Block Health Multiplier
rules.blockdamagemultiplier = Block Damage Multiplier rules.blockdamagemultiplier = Block Damage Multiplier

View File

@@ -1471,6 +1471,10 @@ rules.cleanupdeadteams = Ачысціць Будынкі Знішчанай Ка
rules.corecapture = Захапіь Ядро Пры ЗніCapture Core On Destruction rules.corecapture = Захапіь Ядро Пры ЗніCapture Core On Destruction
rules.polygoncoreprotection = Шматкутная Абарона Ядра rules.polygoncoreprotection = Шматкутная Абарона Ядра
rules.placerangecheck = Праверка Вобласці Размяшчэння rules.placerangecheck = Праверка Вобласці Размяшчэння
rules.protectcores = Protect Cores
rules.protectcores.info = When disabled, the core no-build radius won't affect this team.\nPlayers won't be assigned to unprotected teams.
rules.checkplacement = Check Placement
rules.checkplacement.info = When disabled, buildings of this team are ignored in placement range checks.
rules.enemyCheat = Бясконцыя рэсурсы ІІ (чырвоная каманда) rules.enemyCheat = Бясконцыя рэсурсы ІІ (чырвоная каманда)
rules.blockhealthmultiplier = Множнік здароўя блокаў rules.blockhealthmultiplier = Множнік здароўя блокаў
rules.blockdamagemultiplier = Множнік Пашкоджання Блокам rules.blockdamagemultiplier = Множнік Пашкоджання Блокам

View File

@@ -1471,6 +1471,10 @@ rules.cleanupdeadteams = Изчисти сградите на победения
rules.corecapture = Завладей ядро при унищожение rules.corecapture = Завладей ядро при унищожение
rules.polygoncoreprotection = Полигонална защита на ядрото rules.polygoncoreprotection = Полигонална защита на ядрото
rules.placerangecheck = Проверка за обхват при поставяне rules.placerangecheck = Проверка за обхват при поставяне
rules.protectcores = Protect Cores
rules.protectcores.info = When disabled, the core no-build radius won't affect this team.\nPlayers won't be assigned to unprotected teams.
rules.checkplacement = Check Placement
rules.checkplacement.info = When disabled, buildings of this team are ignored in placement range checks.
rules.enemyCheat = Безкрайни ресурси за компютъра (Червеният отбор) rules.enemyCheat = Безкрайни ресурси за компютъра (Червеният отбор)
rules.blockhealthmultiplier = Множител на точките живот на блокове rules.blockhealthmultiplier = Множител на точките живот на блокове
rules.blockdamagemultiplier = Множител на щетите на блокове rules.blockdamagemultiplier = Множител на щетите на блокове

View File

@@ -1471,6 +1471,10 @@ rules.cleanupdeadteams = Treu els blocs dels equips derrotats (en mode JvsJ)
rules.corecapture = Captura el nucli en lloc de destruir-lo rules.corecapture = Captura el nucli en lloc de destruir-lo
rules.polygoncoreprotection = Protecció poligonal del nucli rules.polygoncoreprotection = Protecció poligonal del nucli
rules.placerangecheck = Comprova labast de construcció rules.placerangecheck = Comprova labast de construcció
rules.protectcores = Protect Cores
rules.protectcores.info = When disabled, the core no-build radius won't affect this team.\nPlayers won't be assigned to unprotected teams.
rules.checkplacement = Check Placement
rules.checkplacement.info = When disabled, buildings of this team are ignored in placement range checks.
rules.enemyCheat = Recursos infinits per a la IA (equip vermell) rules.enemyCheat = Recursos infinits per a la IA (equip vermell)
rules.blockhealthmultiplier = Multiplicador de la salut dels blocs rules.blockhealthmultiplier = Multiplicador de la salut dels blocs
rules.blockdamagemultiplier = Multiplicador del dany dels blocs rules.blockdamagemultiplier = Multiplicador del dany dels blocs

View File

@@ -1471,6 +1471,10 @@ rules.cleanupdeadteams = Vyčistit Budovy Poražených Týmů (PvP)
rules.corecapture = Dobýt Jádro Po Jeho Zničení rules.corecapture = Dobýt Jádro Po Jeho Zničení
rules.polygoncoreprotection = Polygonální Ochrana Jádra rules.polygoncoreprotection = Polygonální Ochrana Jádra
rules.placerangecheck = Dosah stavění rules.placerangecheck = Dosah stavění
rules.protectcores = Protect Cores
rules.protectcores.info = When disabled, the core no-build radius won't affect this team.\nPlayers won't be assigned to unprotected teams.
rules.checkplacement = Check Placement
rules.checkplacement.info = When disabled, buildings of this team are ignored in placement range checks.
rules.enemyCheat = Neomezeně surovin pro umělou inteligenci rules.enemyCheat = Neomezeně surovin pro umělou inteligenci
rules.blockhealthmultiplier = Násobek zdraví bloků rules.blockhealthmultiplier = Násobek zdraví bloků
rules.blockdamagemultiplier = Násobek poškození bloků rules.blockdamagemultiplier = Násobek poškození bloků

View File

@@ -1471,6 +1471,10 @@ rules.cleanupdeadteams = Clean Up Defeated Team Buildings (PvP)
rules.corecapture = Capture Core On Destruction rules.corecapture = Capture Core On Destruction
rules.polygoncoreprotection = Polygonal Core Protection rules.polygoncoreprotection = Polygonal Core Protection
rules.placerangecheck = Placement Range Check rules.placerangecheck = Placement Range Check
rules.protectcores = Protect Cores
rules.protectcores.info = When disabled, the core no-build radius won't affect this team.\nPlayers won't be assigned to unprotected teams.
rules.checkplacement = Check Placement
rules.checkplacement.info = When disabled, buildings of this team are ignored in placement range checks.
rules.enemyCheat = Uendelig AI (rødt hold) resurser. rules.enemyCheat = Uendelig AI (rødt hold) resurser.
rules.blockhealthmultiplier = Blok-helbreds-forstærker. rules.blockhealthmultiplier = Blok-helbreds-forstærker.
rules.blockdamagemultiplier = Blok-skade-forstærker. rules.blockdamagemultiplier = Blok-skade-forstærker.

View File

@@ -1471,6 +1471,10 @@ rules.cleanupdeadteams = Blöcke von erorberten Teams zerstören (PvP)
rules.corecapture = Kern nach Zerstörung einnehmen rules.corecapture = Kern nach Zerstörung einnehmen
rules.polygoncoreprotection = Polygonaler Kernschutz rules.polygoncoreprotection = Polygonaler Kernschutz
rules.placerangecheck = Platzierungsweitenkontrolle rules.placerangecheck = Platzierungsweitenkontrolle
rules.protectcores = Protect Cores
rules.protectcores.info = When disabled, the core no-build radius won't affect this team.\nPlayers won't be assigned to unprotected teams.
rules.checkplacement = Check Placement
rules.checkplacement.info = When disabled, buildings of this team are ignored in placement range checks.
rules.enemyCheat = Unbegrenzte gegnerische Ressourcen rules.enemyCheat = Unbegrenzte gegnerische Ressourcen
rules.blockhealthmultiplier = Block-Lebenspunkte-Multiplikator rules.blockhealthmultiplier = Block-Lebenspunkte-Multiplikator
rules.blockdamagemultiplier = Block-Schaden-Multiplikator rules.blockdamagemultiplier = Block-Schaden-Multiplikator

View File

@@ -1471,6 +1471,10 @@ rules.cleanupdeadteams = Eliminar estructuras de equipos derrotados (JcJ)
rules.corecapture = Capturar núcleo al destruirlo rules.corecapture = Capturar núcleo al destruirlo
rules.polygoncoreprotection = Protección de núcleo poligonal rules.polygoncoreprotection = Protección de núcleo poligonal
rules.placerangecheck = Comprobar rango de construcción rules.placerangecheck = Comprobar rango de construcción
rules.protectcores = Protect Cores
rules.protectcores.info = When disabled, the core no-build radius won't affect this team.\nPlayers won't be assigned to unprotected teams.
rules.checkplacement = Check Placement
rules.checkplacement.info = When disabled, buildings of this team are ignored in placement range checks.
rules.enemyCheat = La IA (Equipo Rojo) tiene recursos infinitos rules.enemyCheat = La IA (Equipo Rojo) tiene recursos infinitos
rules.blockhealthmultiplier = Multiplicador de vida de estructuras rules.blockhealthmultiplier = Multiplicador de vida de estructuras
rules.blockdamagemultiplier = Multiplicador de daño de estructuras rules.blockdamagemultiplier = Multiplicador de daño de estructuras

View File

@@ -1471,6 +1471,10 @@ rules.cleanupdeadteams = Clean Up Defeated Team Buildings (PvP)
rules.corecapture = Capture Core On Destruction rules.corecapture = Capture Core On Destruction
rules.polygoncoreprotection = Polygonal Core Protection rules.polygoncoreprotection = Polygonal Core Protection
rules.placerangecheck = Placement Range Check rules.placerangecheck = Placement Range Check
rules.protectcores = Protect Cores
rules.protectcores.info = When disabled, the core no-build radius won't affect this team.\nPlayers won't be assigned to unprotected teams.
rules.checkplacement = Check Placement
rules.checkplacement.info = When disabled, buildings of this team are ignored in placement range checks.
rules.enemyCheat = [scarlet]Vaenlastel[] on lõputult ressursse rules.enemyCheat = [scarlet]Vaenlastel[] on lõputult ressursse
rules.blockhealthmultiplier = Block Health Multiplier rules.blockhealthmultiplier = Block Health Multiplier
rules.blockdamagemultiplier = Block Damage Multiplier rules.blockdamagemultiplier = Block Damage Multiplier

View File

@@ -1471,6 +1471,10 @@ rules.cleanupdeadteams = Clean Up Defeated Team Buildings (PvP)
rules.corecapture = Capture Core On Destruction rules.corecapture = Capture Core On Destruction
rules.polygoncoreprotection = Polygonal Core Protection rules.polygoncoreprotection = Polygonal Core Protection
rules.placerangecheck = Placement Range Check rules.placerangecheck = Placement Range Check
rules.protectcores = Protect Cores
rules.protectcores.info = When disabled, the core no-build radius won't affect this team.\nPlayers won't be assigned to unprotected teams.
rules.checkplacement = Check Placement
rules.checkplacement.info = When disabled, buildings of this team are ignored in placement range checks.
rules.enemyCheat = IA-k (talde gorriak) baliabide amaigabeak ditu rules.enemyCheat = IA-k (talde gorriak) baliabide amaigabeak ditu
rules.blockhealthmultiplier = Block Health Multiplier rules.blockhealthmultiplier = Block Health Multiplier
rules.blockdamagemultiplier = Block Damage Multiplier rules.blockdamagemultiplier = Block Damage Multiplier

View File

@@ -1471,6 +1471,10 @@ rules.cleanupdeadteams = Siivoa voitettujen joukkueiden rakennukset (PvP)
rules.corecapture = Valtaa ydin sen tuhoutuessa rules.corecapture = Valtaa ydin sen tuhoutuessa
rules.polygoncoreprotection = Monikulmainen ytimen suoja-alue rules.polygoncoreprotection = Monikulmainen ytimen suoja-alue
rules.placerangecheck = Tarkista asetuskantama rules.placerangecheck = Tarkista asetuskantama
rules.protectcores = Protect Cores
rules.protectcores.info = When disabled, the core no-build radius won't affect this team.\nPlayers won't be assigned to unprotected teams.
rules.checkplacement = Check Placement
rules.checkplacement.info = When disabled, buildings of this team are ignored in placement range checks.
rules.enemyCheat = Loputtomat AI:n (punaisen joukkueen) resurssit rules.enemyCheat = Loputtomat AI:n (punaisen joukkueen) resurssit
rules.blockhealthmultiplier = Palikkojen elämäpistekerroin rules.blockhealthmultiplier = Palikkojen elämäpistekerroin
rules.blockdamagemultiplier = Palikkojen vahinkokerroin rules.blockdamagemultiplier = Palikkojen vahinkokerroin

View File

@@ -1471,6 +1471,10 @@ rules.cleanupdeadteams = Clean Up Defeated Team Buildings (PvP)
rules.corecapture = Capture Core On Destruction rules.corecapture = Capture Core On Destruction
rules.polygoncoreprotection = Polygonal Core Protection rules.polygoncoreprotection = Polygonal Core Protection
rules.placerangecheck = Placement Range Check rules.placerangecheck = Placement Range Check
rules.protectcores = Protect Cores
rules.protectcores.info = When disabled, the core no-build radius won't affect this team.\nPlayers won't be assigned to unprotected teams.
rules.checkplacement = Check Placement
rules.checkplacement.info = When disabled, buildings of this team are ignored in placement range checks.
rules.enemyCheat = Infinite AI (Red Team) Resources rules.enemyCheat = Infinite AI (Red Team) Resources
rules.blockhealthmultiplier = Block Health Multiplier rules.blockhealthmultiplier = Block Health Multiplier
rules.blockdamagemultiplier = Block Damage Multiplier rules.blockdamagemultiplier = Block Damage Multiplier

View File

@@ -1471,6 +1471,10 @@ rules.cleanupdeadteams = Détruire les structures des équipes vaincues (JcJ)
rules.corecapture = Capture du Noyau lors de sa Destruction rules.corecapture = Capture du Noyau lors de sa Destruction
rules.polygoncoreprotection = Protection polygonale du Noyau rules.polygoncoreprotection = Protection polygonale du Noyau
rules.placerangecheck = Vérification de la Portée de Placement rules.placerangecheck = Vérification de la Portée de Placement
rules.protectcores = Protect Cores
rules.protectcores.info = When disabled, the core no-build radius won't affect this team.\nPlayers won't be assigned to unprotected teams.
rules.checkplacement = Check Placement
rules.checkplacement.info = When disabled, buildings of this team are ignored in placement range checks.
rules.enemyCheat = Ressources infinies pour l'IA (équipe rouge) rules.enemyCheat = Ressources infinies pour l'IA (équipe rouge)
rules.blockhealthmultiplier = Multiplicateur de Santé des Blocs rules.blockhealthmultiplier = Multiplicateur de Santé des Blocs
rules.blockdamagemultiplier = Multiplicateur de Dégât des Blocs rules.blockdamagemultiplier = Multiplicateur de Dégât des Blocs

View File

@@ -1471,6 +1471,10 @@ rules.cleanupdeadteams = Legyőzött csapatok épületeinek törlése (PvP)
rules.corecapture = Támaszpont elfoglalása megsemmisítéskor rules.corecapture = Támaszpont elfoglalása megsemmisítéskor
rules.polygoncoreprotection = Poligonális támaszpontvédelem rules.polygoncoreprotection = Poligonális támaszpontvédelem
rules.placerangecheck = Elhelyezési tartomány ellenőrzése rules.placerangecheck = Elhelyezési tartomány ellenőrzése
rules.protectcores = Protect Cores
rules.protectcores.info = When disabled, the core no-build radius won't affect this team.\nPlayers won't be assigned to unprotected teams.
rules.checkplacement = Check Placement
rules.checkplacement.info = When disabled, buildings of this team are ignored in placement range checks.
rules.enemyCheat = Végtelen ellenséges csapaterőforrások rules.enemyCheat = Végtelen ellenséges csapaterőforrások
rules.blockhealthmultiplier = Épület életpontszorzója rules.blockhealthmultiplier = Épület életpontszorzója
rules.blockdamagemultiplier = Épület sebzésszorzója rules.blockdamagemultiplier = Épület sebzésszorzója

View File

@@ -1471,6 +1471,10 @@ rules.cleanupdeadteams = Bersihkan Bangunan Tim yang Kalah (PvP)
rules.corecapture = Kuasai Inti Saat Penghancuran rules.corecapture = Kuasai Inti Saat Penghancuran
rules.polygoncoreprotection = Poligon Pelindung Inti rules.polygoncoreprotection = Poligon Pelindung Inti
rules.placerangecheck = Pemeriksaan Jarak Penempatan rules.placerangecheck = Pemeriksaan Jarak Penempatan
rules.protectcores = Protect Cores
rules.protectcores.info = When disabled, the core no-build radius won't affect this team.\nPlayers won't be assigned to unprotected teams.
rules.checkplacement = Check Placement
rules.checkplacement.info = When disabled, buildings of this team are ignored in placement range checks.
rules.enemyCheat = Sumber Daya Musuh Tak Terbatas rules.enemyCheat = Sumber Daya Musuh Tak Terbatas
rules.blockhealthmultiplier = Penggandaan Nyawa Blok rules.blockhealthmultiplier = Penggandaan Nyawa Blok
rules.blockdamagemultiplier = Penggandaan Damage Blok rules.blockdamagemultiplier = Penggandaan Damage Blok

View File

@@ -1471,6 +1471,10 @@ rules.cleanupdeadteams = Cancella costruzioni delle squadre sconfitte (PvP)
rules.corecapture = Cattura nucleo alla distruzione rules.corecapture = Cattura nucleo alla distruzione
rules.polygoncoreprotection = Polygonal Core Protection rules.polygoncoreprotection = Polygonal Core Protection
rules.placerangecheck = Protezione del nucleo dalle costruzioni nemiche rules.placerangecheck = Protezione del nucleo dalle costruzioni nemiche
rules.protectcores = Protect Cores
rules.protectcores.info = When disabled, the core no-build radius won't affect this team.\nPlayers won't be assigned to unprotected teams.
rules.checkplacement = Check Placement
rules.checkplacement.info = When disabled, buildings of this team are ignored in placement range checks.
rules.enemyCheat = Risorse AI (squadra Rossa) Infinite rules.enemyCheat = Risorse AI (squadra Rossa) Infinite
rules.blockhealthmultiplier = Moltiplicatore Salute Blocco rules.blockhealthmultiplier = Moltiplicatore Salute Blocco
rules.blockdamagemultiplier = Moltiplicatore Danno Blocco rules.blockdamagemultiplier = Moltiplicatore Danno Blocco

View File

@@ -1471,6 +1471,10 @@ rules.cleanupdeadteams = 敗北したチームの建設物を片付ける (PvP)
rules.corecapture = 破壊時にコアを奪取 rules.corecapture = 破壊時にコアを奪取
rules.polygoncoreprotection = 多角形の建設禁止区域の設定 rules.polygoncoreprotection = 多角形の建設禁止区域の設定
rules.placerangecheck = 配置範囲の確認 rules.placerangecheck = 配置範囲の確認
rules.protectcores = Protect Cores
rules.protectcores.info = When disabled, the core no-build radius won't affect this team.\nPlayers won't be assigned to unprotected teams.
rules.checkplacement = Check Placement
rules.checkplacement.info = When disabled, buildings of this team are ignored in placement range checks.
rules.enemyCheat = 敵(赤チーム)の資源の無限化 rules.enemyCheat = 敵(赤チーム)の資源の無限化
rules.blockhealthmultiplier = ブロック体力倍率 rules.blockhealthmultiplier = ブロック体力倍率
rules.blockdamagemultiplier = ブロックダメージ倍率 rules.blockdamagemultiplier = ブロックダメージ倍率

View File

@@ -1471,6 +1471,10 @@ rules.cleanupdeadteams = 패배한 팀 건물 정리하기 (PvP)
rules.corecapture = 코어 파괴 시 점령 rules.corecapture = 코어 파괴 시 점령
rules.polygoncoreprotection = 다각형 코어 건설 금지구역 rules.polygoncoreprotection = 다각형 코어 건설 금지구역
rules.placerangecheck = 배치 거리 확인 rules.placerangecheck = 배치 거리 확인
rules.protectcores = Protect Cores
rules.protectcores.info = When disabled, the core no-build radius won't affect this team.\nPlayers won't be assigned to unprotected teams.
rules.checkplacement = Check Placement
rules.checkplacement.info = When disabled, buildings of this team are ignored in placement range checks.
rules.enemyCheat = 적 AI 무한자원 rules.enemyCheat = 적 AI 무한자원
rules.blockhealthmultiplier = 블록 체력 배수 rules.blockhealthmultiplier = 블록 체력 배수
rules.blockdamagemultiplier = 블록 피해량 배수 rules.blockdamagemultiplier = 블록 피해량 배수

View File

@@ -1471,6 +1471,10 @@ rules.cleanupdeadteams = Clean Up Defeated Team Buildings (PvP)
rules.corecapture = Capture Core On Destruction rules.corecapture = Capture Core On Destruction
rules.polygoncoreprotection = Polygonal Core Protection rules.polygoncoreprotection = Polygonal Core Protection
rules.placerangecheck = Placement Range Check rules.placerangecheck = Placement Range Check
rules.protectcores = Protect Cores
rules.protectcores.info = When disabled, the core no-build radius won't affect this team.\nPlayers won't be assigned to unprotected teams.
rules.checkplacement = Check Placement
rules.checkplacement.info = When disabled, buildings of this team are ignored in placement range checks.
rules.enemyCheat = Neriboti Kompiuterio (Raudonosios Komandos) Resursai rules.enemyCheat = Neriboti Kompiuterio (Raudonosios Komandos) Resursai
rules.blockhealthmultiplier = Blokų Gyvybių Daugiklis rules.blockhealthmultiplier = Blokų Gyvybių Daugiklis
rules.blockdamagemultiplier = Block Damage Multiplier rules.blockdamagemultiplier = Block Damage Multiplier

View File

@@ -1471,6 +1471,10 @@ rules.cleanupdeadteams = Ruim verslagen gebouwen van team op (PvP)
rules.corecapture = Verover Core Bij Vernietiging rules.corecapture = Verover Core Bij Vernietiging
rules.polygoncoreprotection = Veelhoekige Corebescherming rules.polygoncoreprotection = Veelhoekige Corebescherming
rules.placerangecheck = Plaatsingsbereik Controle rules.placerangecheck = Plaatsingsbereik Controle
rules.protectcores = Protect Cores
rules.protectcores.info = When disabled, the core no-build radius won't affect this team.\nPlayers won't be assigned to unprotected teams.
rules.checkplacement = Check Placement
rules.checkplacement.info = When disabled, buildings of this team are ignored in placement range checks.
rules.enemyCheat = Oneindige AI Materialen rules.enemyCheat = Oneindige AI Materialen
rules.blockhealthmultiplier = Blok Levenspunten Vermenigvuldiger rules.blockhealthmultiplier = Blok Levenspunten Vermenigvuldiger
rules.blockdamagemultiplier = Blokschade Vermenigvuldiger rules.blockdamagemultiplier = Blokschade Vermenigvuldiger

View File

@@ -1471,6 +1471,10 @@ rules.cleanupdeadteams = Clean Up Defeated Team Buildings (PvP)
rules.corecapture = Capture Core On Destruction rules.corecapture = Capture Core On Destruction
rules.polygoncoreprotection = Polygonal Core Protection rules.polygoncoreprotection = Polygonal Core Protection
rules.placerangecheck = Placement Range Check rules.placerangecheck = Placement Range Check
rules.protectcores = Protect Cores
rules.protectcores.info = When disabled, the core no-build radius won't affect this team.\nPlayers won't be assigned to unprotected teams.
rules.checkplacement = Check Placement
rules.checkplacement.info = When disabled, buildings of this team are ignored in placement range checks.
rules.enemyCheat = Infinite AI (Red Team) Resources rules.enemyCheat = Infinite AI (Red Team) Resources
rules.blockhealthmultiplier = Block Health Multiplier rules.blockhealthmultiplier = Block Health Multiplier
rules.blockdamagemultiplier = Block Damage Multiplier rules.blockdamagemultiplier = Block Damage Multiplier

View File

@@ -1471,6 +1471,10 @@ rules.cleanupdeadteams = Usuń Budynki Pokonanej Drużyny (PvP)
rules.corecapture = Przejmij Zniszczony Rdzeń rules.corecapture = Przejmij Zniszczony Rdzeń
rules.polygoncoreprotection = Wielokątna Ochrona Rdzenia rules.polygoncoreprotection = Wielokątna Ochrona Rdzenia
rules.placerangecheck = Sprawdzanie Zasięgu Podczas Umieszczenia rules.placerangecheck = Sprawdzanie Zasięgu Podczas Umieszczenia
rules.protectcores = Protect Cores
rules.protectcores.info = When disabled, the core no-build radius won't affect this team.\nPlayers won't be assigned to unprotected teams.
rules.checkplacement = Check Placement
rules.checkplacement.info = When disabled, buildings of this team are ignored in placement range checks.
rules.enemyCheat = Nieskończone Zasoby SI (wroga) rules.enemyCheat = Nieskończone Zasoby SI (wroga)
rules.blockhealthmultiplier = Mnożnik Życia Bloków rules.blockhealthmultiplier = Mnożnik Życia Bloków
rules.blockdamagemultiplier = Mnożnik Uszkodzeń Bloków rules.blockdamagemultiplier = Mnożnik Uszkodzeń Bloków

View File

@@ -1471,6 +1471,10 @@ rules.cleanupdeadteams = Limpar construções de equipes derrotadas (PvP)
rules.corecapture = Capturar Núcleo na Destruição rules.corecapture = Capturar Núcleo na Destruição
rules.polygoncoreprotection = Proteção de núcleo poligonal rules.polygoncoreprotection = Proteção de núcleo poligonal
rules.placerangecheck = Placement Range Check rules.placerangecheck = Placement Range Check
rules.protectcores = Protect Cores
rules.protectcores.info = When disabled, the core no-build radius won't affect this team.\nPlayers won't be assigned to unprotected teams.
rules.checkplacement = Check Placement
rules.checkplacement.info = When disabled, buildings of this team are ignored in placement range checks.
rules.enemyCheat = Recursos de IA Infinitos rules.enemyCheat = Recursos de IA Infinitos
rules.blockhealthmultiplier = Multiplicador de vida do bloco rules.blockhealthmultiplier = Multiplicador de vida do bloco
rules.blockdamagemultiplier = Multiplicador de dano do bloco rules.blockdamagemultiplier = Multiplicador de dano do bloco

View File

@@ -1471,6 +1471,10 @@ rules.cleanupdeadteams = Limpar Construções Inimigas quando derrotadas (PvP)
rules.corecapture = Capturar Núcleo na Cestruição rules.corecapture = Capturar Núcleo na Cestruição
rules.polygoncoreprotection = Proteção do Núcleo Poligonal rules.polygoncoreprotection = Proteção do Núcleo Poligonal
rules.placerangecheck = Verificação do intervalo de colocação rules.placerangecheck = Verificação do intervalo de colocação
rules.protectcores = Protect Cores
rules.protectcores.info = When disabled, the core no-build radius won't affect this team.\nPlayers won't be assigned to unprotected teams.
rules.checkplacement = Check Placement
rules.checkplacement.info = When disabled, buildings of this team are ignored in placement range checks.
rules.enemyCheat = Recursos Infinitos para a Equipa Inimiga rules.enemyCheat = Recursos Infinitos para a Equipa Inimiga
rules.blockhealthmultiplier = Multiplicador de Vida do Bloco rules.blockhealthmultiplier = Multiplicador de Vida do Bloco
rules.blockdamagemultiplier = Multiplicador de Dano do Bloco rules.blockdamagemultiplier = Multiplicador de Dano do Bloco

View File

@@ -1471,6 +1471,10 @@ rules.cleanupdeadteams = Îndepărtează Clădirile Echipelor Învinse (PvP)
rules.corecapture = Capturează Nucleele Distruse rules.corecapture = Capturează Nucleele Distruse
rules.polygoncoreprotection = Protecție Poligonală a Nucleului rules.polygoncoreprotection = Protecție Poligonală a Nucleului
rules.placerangecheck = Placement Range Check rules.placerangecheck = Placement Range Check
rules.protectcores = Protect Cores
rules.protectcores.info = When disabled, the core no-build radius won't affect this team.\nPlayers won't be assigned to unprotected teams.
rules.checkplacement = Check Placement
rules.checkplacement.info = When disabled, buildings of this team are ignored in placement range checks.
rules.enemyCheat = Resurse infinite pt AI (echipa roșie) rules.enemyCheat = Resurse infinite pt AI (echipa roșie)
rules.blockhealthmultiplier = Multiplicatorul Vieții Blocurilor rules.blockhealthmultiplier = Multiplicatorul Vieții Blocurilor
rules.blockdamagemultiplier = Multiplicatorul Deteriorării Blocurilor rules.blockdamagemultiplier = Multiplicatorul Deteriorării Blocurilor

View File

@@ -1471,6 +1471,10 @@ rules.cleanupdeadteams = Очистка строений побежденных
rules.corecapture = Захват ядра после уничтожения rules.corecapture = Захват ядра после уничтожения
rules.polygoncoreprotection = Полигональная защита ядер rules.polygoncoreprotection = Полигональная защита ядер
rules.placerangecheck = Запретить размещение построек возле врага rules.placerangecheck = Запретить размещение построек возле врага
rules.protectcores = Protect Cores
rules.protectcores.info = When disabled, the core no-build radius won't affect this team.\nPlayers won't be assigned to unprotected teams.
rules.checkplacement = Check Placement
rules.checkplacement.info = When disabled, buildings of this team are ignored in placement range checks.
rules.enemyCheat = Бесконечные ресурсы у ИИ rules.enemyCheat = Бесконечные ресурсы у ИИ
rules.blockhealthmultiplier = Множитель прочности блоков rules.blockhealthmultiplier = Множитель прочности блоков
rules.blockdamagemultiplier = Множитель урона блоков rules.blockdamagemultiplier = Множитель урона блоков

View File

@@ -1471,6 +1471,10 @@ rules.cleanupdeadteams = Počisti Građevine Poraženog Tima (PvP)
rules.corecapture = Zauzmi Jezgro Po Uništenju rules.corecapture = Zauzmi Jezgro Po Uništenju
rules.polygoncoreprotection = Poligonalna Zaštita Jezgra rules.polygoncoreprotection = Poligonalna Zaštita Jezgra
rules.placerangecheck = Placement Range Check rules.placerangecheck = Placement Range Check
rules.protectcores = Protect Cores
rules.protectcores.info = When disabled, the core no-build radius won't affect this team.\nPlayers won't be assigned to unprotected teams.
rules.checkplacement = Check Placement
rules.checkplacement.info = When disabled, buildings of this team are ignored in placement range checks.
rules.enemyCheat = Beskonačnost Neprijateljskih Resursa rules.enemyCheat = Beskonačnost Neprijateljskih Resursa
rules.blockhealthmultiplier = Block Health Multiplier rules.blockhealthmultiplier = Block Health Multiplier
rules.blockdamagemultiplier = Block Damage Multiplier rules.blockdamagemultiplier = Block Damage Multiplier

View File

@@ -1471,6 +1471,10 @@ rules.cleanupdeadteams = Clean Up Defeated Team Buildings (PvP)
rules.corecapture = Capture Core On Destruction rules.corecapture = Capture Core On Destruction
rules.polygoncoreprotection = Polygonal Core Protection rules.polygoncoreprotection = Polygonal Core Protection
rules.placerangecheck = Placement Range Check rules.placerangecheck = Placement Range Check
rules.protectcores = Protect Cores
rules.protectcores.info = When disabled, the core no-build radius won't affect this team.\nPlayers won't be assigned to unprotected teams.
rules.checkplacement = Check Placement
rules.checkplacement.info = When disabled, buildings of this team are ignored in placement range checks.
rules.enemyCheat = Infinite AI (Red Team) Resources rules.enemyCheat = Infinite AI (Red Team) Resources
rules.blockhealthmultiplier = Block Health Multiplier rules.blockhealthmultiplier = Block Health Multiplier
rules.blockdamagemultiplier = Block Damage Multiplier rules.blockdamagemultiplier = Block Damage Multiplier

View File

@@ -1471,6 +1471,10 @@ rules.cleanupdeadteams = ลบล้างสิ่งก่อสร้าง
rules.corecapture = ยืดแกนกลางเมื่อทำลาย rules.corecapture = ยืดแกนกลางเมื่อทำลาย
rules.polygoncoreprotection = รัศมีปกป้องแกนกลางแบบหลายเหลี่ยม rules.polygoncoreprotection = รัศมีปกป้องแกนกลางแบบหลายเหลี่ยม
rules.placerangecheck = ตรวจสอบระยะห่างการวาง rules.placerangecheck = ตรวจสอบระยะห่างการวาง
rules.protectcores = Protect Cores
rules.protectcores.info = When disabled, the core no-build radius won't affect this team.\nPlayers won't be assigned to unprotected teams.
rules.checkplacement = Check Placement
rules.checkplacement.info = When disabled, buildings of this team are ignored in placement range checks.
rules.enemyCheat = ทีมศัตรูมีทรัพยากรไม่จำกัด rules.enemyCheat = ทีมศัตรูมีทรัพยากรไม่จำกัด
rules.blockhealthmultiplier = พหุคูณพลังชีวิตของบล็อก rules.blockhealthmultiplier = พหุคูณพลังชีวิตของบล็อก
rules.blockdamagemultiplier = พหุคูณดาเมจของบล็อก rules.blockdamagemultiplier = พหุคูณดาเมจของบล็อก

View File

@@ -1471,6 +1471,10 @@ rules.cleanupdeadteams = Clean Up Defeated Team Buildings (PvP)
rules.corecapture = Capture Core On Destruction rules.corecapture = Capture Core On Destruction
rules.polygoncoreprotection = Polygonal Core Protection rules.polygoncoreprotection = Polygonal Core Protection
rules.placerangecheck = Placement Range Check rules.placerangecheck = Placement Range Check
rules.protectcores = Protect Cores
rules.protectcores.info = When disabled, the core no-build radius won't affect this team.\nPlayers won't be assigned to unprotected teams.
rules.checkplacement = Check Placement
rules.checkplacement.info = When disabled, buildings of this team are ignored in placement range checks.
rules.enemyCheat = Infinite AI Resources rules.enemyCheat = Infinite AI Resources
rules.blockhealthmultiplier = Block Health Multiplier rules.blockhealthmultiplier = Block Health Multiplier
rules.blockdamagemultiplier = Block Damage Multiplier rules.blockdamagemultiplier = Block Damage Multiplier

View File

@@ -1471,6 +1471,10 @@ rules.cleanupdeadteams = Kaybeden Takımın Bloklarını Temizle (PvP)
rules.corecapture = Yıkımda Çekirdeği Elegeçir rules.corecapture = Yıkımda Çekirdeği Elegeçir
rules.polygoncoreprotection = Çokgenli Merkez Koruması rules.polygoncoreprotection = Çokgenli Merkez Koruması
rules.placerangecheck = İnşa Menzilini Doğrula rules.placerangecheck = İnşa Menzilini Doğrula
rules.protectcores = Protect Cores
rules.protectcores.info = When disabled, the core no-build radius won't affect this team.\nPlayers won't be assigned to unprotected teams.
rules.checkplacement = Check Placement
rules.checkplacement.info = When disabled, buildings of this team are ignored in placement range checks.
rules.enemyCheat = Sınırsız YZ (Düşman Takım) Kaynakları rules.enemyCheat = Sınırsız YZ (Düşman Takım) Kaynakları
rules.blockhealthmultiplier = Blok Can Çarpanı rules.blockhealthmultiplier = Blok Can Çarpanı
rules.blockdamagemultiplier = Blok Hasar Çarpanı rules.blockdamagemultiplier = Blok Hasar Çarpanı

View File

@@ -1471,6 +1471,10 @@ rules.cleanupdeadteams = Очистити будівлі переможеної
rules.corecapture = Захоплення ядра після знищення rules.corecapture = Захоплення ядра після знищення
rules.polygoncoreprotection = Полігональний захист ядер rules.polygoncoreprotection = Полігональний захист ядер
rules.placerangecheck = Перевірка діапазону розміщення rules.placerangecheck = Перевірка діапазону розміщення
rules.protectcores = Protect Cores
rules.protectcores.info = When disabled, the core no-build radius won't affect this team.\nPlayers won't be assigned to unprotected teams.
rules.checkplacement = Check Placement
rules.checkplacement.info = When disabled, buildings of this team are ignored in placement range checks.
rules.enemyCheat = Нескінченні ресурси для червоної команди ШІ rules.enemyCheat = Нескінченні ресурси для червоної команди ШІ
rules.blockhealthmultiplier = Множник здоров’я блоків rules.blockhealthmultiplier = Множник здоров’я блоків
rules.blockdamagemultiplier = Множник шкоди блоків rules.blockdamagemultiplier = Множник шкоди блоків

View File

@@ -1471,6 +1471,10 @@ rules.cleanupdeadteams = Dọn Sạch Công Trình Của Đội Bị Đánh Bạ
rules.corecapture = Chiếm Lõi Khi Phá Hủy rules.corecapture = Chiếm Lõi Khi Phá Hủy
rules.polygoncoreprotection = Bảo Vệ Lõi Kiểu Đa Giác rules.polygoncoreprotection = Bảo Vệ Lõi Kiểu Đa Giác
rules.placerangecheck = Kiểm Tra Phạm Vi Xây Dựng rules.placerangecheck = Kiểm Tra Phạm Vi Xây Dựng
rules.protectcores = Protect Cores
rules.protectcores.info = When disabled, the core no-build radius won't affect this team.\nPlayers won't be assigned to unprotected teams.
rules.checkplacement = Check Placement
rules.checkplacement.info = When disabled, buildings of this team are ignored in placement range checks.
rules.enemyCheat = Tài Nguyên Kẻ Địch Vô Hạn rules.enemyCheat = Tài Nguyên Kẻ Địch Vô Hạn
rules.blockhealthmultiplier = Hệ Số Độ Bền Khối rules.blockhealthmultiplier = Hệ Số Độ Bền Khối
rules.blockdamagemultiplier = Hệ Số Sát Thương Của Khối rules.blockdamagemultiplier = Hệ Số Sát Thương Của Khối

View File

@@ -1471,6 +1471,10 @@ rules.cleanupdeadteams = 清除已败队伍建筑PvP
rules.corecapture = 摧毁后占领核心 rules.corecapture = 摧毁后占领核心
rules.polygoncoreprotection = 建造区域按核心位置平分 rules.polygoncoreprotection = 建造区域按核心位置平分
rules.placerangecheck = 敌方建筑周围禁建 rules.placerangecheck = 敌方建筑周围禁建
rules.protectcores = Protect Cores
rules.protectcores.info = When disabled, the core no-build radius won't affect this team.\nPlayers won't be assigned to unprotected teams.
rules.checkplacement = Check Placement
rules.checkplacement.info = When disabled, buildings of this team are ignored in placement range checks.
rules.enemyCheat = 敌人无限资源 rules.enemyCheat = 敌人无限资源
rules.blockhealthmultiplier = 建筑生命倍率 rules.blockhealthmultiplier = 建筑生命倍率
rules.blockdamagemultiplier = 建筑伤害倍率 rules.blockdamagemultiplier = 建筑伤害倍率

View File

@@ -1471,6 +1471,10 @@ rules.cleanupdeadteams = 移除戰敗玩家的建築(對戰)
rules.corecapture = 佔領摧毀的核心 rules.corecapture = 佔領摧毀的核心
rules.polygoncoreprotection = 核心禁築區呈多邊形 rules.polygoncoreprotection = 核心禁築區呈多邊形
rules.placerangecheck = 檢查放置範圍 rules.placerangecheck = 檢查放置範圍
rules.protectcores = Protect Cores
rules.protectcores.info = When disabled, the core no-build radius won't affect this team.\nPlayers won't be assigned to unprotected teams.
rules.checkplacement = Check Placement
rules.checkplacement.info = When disabled, buildings of this team are ignored in placement range checks.
rules.enemyCheat = 電腦無限資源 rules.enemyCheat = 電腦無限資源
rules.blockhealthmultiplier = 建築物耐久度加成 rules.blockhealthmultiplier = 建築物耐久度加成
rules.blockdamagemultiplier = 建築物傷害加成 rules.blockdamagemultiplier = 建築物傷害加成

View File

@@ -6197,9 +6197,9 @@ public class Blocks{
}}; }};
airFactory = new UnitFactory("air-factory"){{ airFactory = new UnitFactory("air-factory"){{
requirements(Category.units, with(Items.copper, 60, Items.lead, 70)); requirements(Category.units, with(Items.copper, 60, Items.lead, 70, Items.silicon, 60));
plans = Seq.with( plans = Seq.with(
new UnitPlan(UnitTypes.flare, 60f * 15, with(Items.silicon, 20)), new UnitPlan(UnitTypes.flare, 60f * 15, with(Items.silicon, 15)),
new UnitPlan(UnitTypes.mono, 60f * 35, with(Items.silicon, 30, Items.lead, 15)) new UnitPlan(UnitTypes.mono, 60f * 35, with(Items.silicon, 30, Items.lead, 15))
); );
size = 3; size = 3;

View File

@@ -52,7 +52,7 @@ public class NetServer implements ApplicationListener{
if(state.rules.pvp){ if(state.rules.pvp){
//find team with minimum amount of players and auto-assign player to that. //find team with minimum amount of players and auto-assign player to that.
TeamData re = state.teams.getActive().min(data -> { TeamData re = state.teams.getActive().min(data -> {
if((state.rules.waveTeam == data.team && state.rules.waves) || !data.hasCore() || data.team == Team.derelict) return Integer.MAX_VALUE; if((state.rules.waveTeam == data.team && state.rules.waves) || !data.hasCore() || data.team == Team.derelict || !data.team.rules().protectCores) return Integer.MAX_VALUE;
int count = 0; int count = 0;
for(Player other : players){ for(Player other : players){

View File

@@ -248,7 +248,7 @@ public class Rules{
} }
public float buildRadius(Team team){ public float buildRadius(Team team){
return enemyCoreBuildRadius + teams.get(team).extraCoreBuildRadius; return !teams.get(team).protectCores ? 0f : enemyCoreBuildRadius + teams.get(team).extraCoreBuildRadius;
} }
public float unitBuildSpeed(Team team){ public float unitBuildSpeed(Team team){
@@ -299,6 +299,10 @@ public class Rules{
public static class TeamRule{ public static class TeamRule{
/** Whether, when AI is enabled, ships should be spawned from the core. TODO remove / unnecessary? */ /** Whether, when AI is enabled, ships should be spawned from the core. TODO remove / unnecessary? */
public boolean aiCoreSpawn = true; public boolean aiCoreSpawn = true;
/** Whether the core no-build radius/polygonal protection applies to this team, unprotected teams are ignored by team assigner */
public boolean protectCores = true;
/** Whether the placeRangeCheck applies to this team */
public boolean checkPlacement = true;
/** If true, blocks don't require power or resources. */ /** If true, blocks don't require power or resources. */
public boolean cheat; public boolean cheat;
/** If true, the core is always filled to capacity with all items. */ /** If true, the core is always filled to capacity with all items. */
@@ -345,8 +349,18 @@ public class Rules{
/** Extra spacing added to the no-build zone around the core. */ /** Extra spacing added to the no-build zone around the core. */
public float extraCoreBuildRadius = 0f; public float extraCoreBuildRadius = 0f;
//build cost disabled due to technical complexity //build cost disabled due to technical complexity
//for reading from json
public TeamRule(){
}
public TeamRule(Team team){
if(team == Team.derelict){
protectCores = false;
checkPlacement = false;
}
}
} }
/** A simple map for storing TeamRules in an efficient way without hashing. */ /** A simple map for storing TeamRules in an efficient way without hashing. */
@@ -355,7 +369,7 @@ public class Rules{
public TeamRule get(Team team){ public TeamRule get(Team team){
TeamRule out = values[team.id]; TeamRule out = values[team.id];
return out == null ? (values[team.id] = new TeamRule()) : out; return out == null ? (values[team.id] = new TeamRule(team)) : out;
} }
@Override @Override

View File

@@ -58,7 +58,7 @@ public class Teams{
public boolean anyEnemyCoresWithinBuildRadius(Team team, float x, float y){ public boolean anyEnemyCoresWithinBuildRadius(Team team, float x, float y){
for(TeamData data : active){ for(TeamData data : active){
if(team != data.team){ if(team != data.team && data.team.rules().protectCores){
for(CoreBuild tile : data.cores){ for(CoreBuild tile : data.cores){
if(tile.within(x, y, state.rules.buildRadius(tile.team) + tilesize)){ if(tile.within(x, y, state.rules.buildRadius(tile.team) + tilesize)){
return true; return true;
@@ -71,7 +71,7 @@ public class Teams{
public boolean anyEnemyCoresWithin(Team team, float x, float y, float radius){ public boolean anyEnemyCoresWithin(Team team, float x, float y, float radius){
for(TeamData data : active){ for(TeamData data : active){
if(team != data.team){ if(team != data.team && data.team.rules().protectCores){
for(CoreBuild tile : data.cores){ for(CoreBuild tile : data.cores){
if(tile.within(x, y, radius)){ if(tile.within(x, y, radius)){
return true; return true;

View File

@@ -50,8 +50,12 @@ public class OverlayRenderer{
Seq<Vec2> pos = new Seq<>(); Seq<Vec2> pos = new Seq<>();
Seq<CoreBuild> teams = new Seq<>(); Seq<CoreBuild> teams = new Seq<>();
for(TeamData team : state.teams.active){ for(TeamData data : state.teams.active){
for(CoreBuild b : team.cores){ if(!data.team.rules().protectCores){
continue;
}
for(CoreBuild b : data.cores){
teams.add(b); teams.add(b);
pos.add(new Vec2(b.x, b.y)); pos.add(new Vec2(b.x, b.y));
} }
@@ -179,7 +183,7 @@ public class OverlayRenderer{
state.teams.eachEnemyCore(player.team(), core -> { state.teams.eachEnemyCore(player.team(), core -> {
//it must be clear that there is a core here. //it must be clear that there is a core here.
float br = state.rules.buildRadius(core.team); float br = state.rules.buildRadius(core.team);
if(/*core.wasVisible && */Core.camera.bounds(Tmp.r1).overlaps(Tmp.r2.setCentered(core.x, core.y, br * 2f))){ if(/*core.wasVisible && */br > 0f && Core.camera.bounds(Tmp.r1).overlaps(Tmp.r2.setCentered(core.x, core.y, br * 2f))){
Draw.color(Color.darkGray); Draw.color(Color.darkGray);
Lines.circle(core.x, core.y - 2,br); Lines.circle(core.x, core.y - 2,br);
Draw.color(Pal.accent, core.team.color, 0.5f + Mathf.absin(Time.time, 10f, 0.5f)); Draw.color(Pal.accent, core.team.color, 0.5f + Mathf.absin(Time.time, 10f, 0.5f));

View File

@@ -309,7 +309,9 @@ public class CustomRulesDialog extends BaseDialog{
check("@rules.buildai", b -> teams.buildAi = b, () -> teams.buildAi, () -> team != rules.defaultTeam && rules.env != Planets.erekir.defaultEnv && !rules.pvp); check("@rules.buildai", b -> teams.buildAi = b, () -> teams.buildAi, () -> team != rules.defaultTeam && rules.env != Planets.erekir.defaultEnv && !rules.pvp);
number("@rules.buildaitier", false, f -> teams.buildAiTier = f, () -> teams.buildAiTier, () -> teams.buildAi && rules.env != Planets.erekir.defaultEnv && !rules.pvp, 0, 1); number("@rules.buildaitier", false, f -> teams.buildAiTier = f, () -> teams.buildAiTier, () -> teams.buildAi && rules.env != Planets.erekir.defaultEnv && !rules.pvp, 0, 1);
number("@rules.extracorebuildradius", f -> teams.extraCoreBuildRadius = f * tilesize, () -> Math.min(teams.extraCoreBuildRadius / tilesize, 200), () -> !rules.polygonCoreProtection); check("@rules.protectcores", b -> teams.protectCores = b, () -> teams.protectCores);
number("@rules.extracorebuildradius", f -> teams.extraCoreBuildRadius = f * tilesize, () -> Math.min(teams.extraCoreBuildRadius / tilesize, 200), () -> !rules.polygonCoreProtection && teams.protectCores);
check("@rules.checkplacement", b -> teams.checkPlacement = b, () -> teams.checkPlacement);
check("@rules.infiniteresources", b -> teams.infiniteResources = b, () -> teams.infiniteResources); check("@rules.infiniteresources", b -> teams.infiniteResources = b, () -> teams.infiniteResources);
check("@rules.fillitems", b -> teams.fillItems = b, () -> teams.fillItems); check("@rules.fillitems", b -> teams.fillItems = b, () -> teams.fillItems);

View File

@@ -191,6 +191,10 @@ public class Build{
float mindst = Float.MAX_VALUE; float mindst = Float.MAX_VALUE;
CoreBuild closest = null; CoreBuild closest = null;
for(TeamData data : state.teams.active){ for(TeamData data : state.teams.active){
if(!data.team.rules().protectCores){
continue;
}
for(CoreBuild tile : data.cores){ for(CoreBuild tile : data.cores){
float dst = tile.dst2(x * tilesize + type.offset, y * tilesize + type.offset); float dst = tile.dst2(x * tilesize + type.offset, y * tilesize + type.offset);
if(dst < mindst){ if(dst < mindst){
@@ -265,7 +269,7 @@ public class Build{
} }
public static @Nullable Building getEnemyOverlap(Block block, Team team, int x, int y){ public static @Nullable Building getEnemyOverlap(Block block, Team team, int x, int y){
return indexer.findEnemyTile(team, x * tilesize + block.size, y * tilesize + block.size, block.placeOverlapRange + 4f, p -> true); return indexer.findEnemyTile(team, x * tilesize + block.size, y * tilesize + block.size, block.placeOverlapRange + 4f, b -> b.team.rules().checkPlacement);
} }
public static boolean contactsGround(int x, int y, Block block){ public static boolean contactsGround(int x, int y, Block block){