This commit is contained in:
Anuken
2023-02-15 10:34:57 -05:00
6 changed files with 50 additions and 38 deletions

View File

@@ -149,16 +149,16 @@ mod.incompatiblemod = [red]非対応
mod.blacklisted = [red]未対応
mod.unmetdependencies = [red]依存関係が満たされていません
mod.erroredcontent = [scarlet]コンテンツエラー
mod.circulardependencies = [red]Circular Dependencies
mod.incompletedependencies = [red]Incomplete Dependencies
mod.circulardependencies = [red]循環依存
mod.incompletedependencies = [red]不完全な依存関係
mod.requiresversion.details = ゲームのバージョンが必要です: [accent]{0}[]\nあなたのゲームは古くなっています。このmodが機能するには、ゲームの新しいバージョン (おそらくベータ/アルファリリース) が必要です。
mod.outdatedv7.details = このmodはゲームの最新バージョンと互換性がありません。 作成者はそれを更新し、[accent]minGameVersion: 136[] を [accent]mod.json[] ファイルに追加する必要があります。
mod.blacklisted.details = このmodは、このバージョンのゲームでクラッシュやその他の問題を引き起こすため、手動でブラックリストに登録されています。 使用しないでください。
mod.missingdependencies.details = このmodには依存関係がありません: {0}
mod.erroredcontent.details = このゲームは、読み込み中にエラーが発生しました。modの作成者に修正を依頼してください。
mod.circulardependencies.details = This mod has dependencies that depends on each other.
mod.incompletedependencies.details = This mod is unable to be loaded due to invalid or missing dependencies: {0}.
mod.requiresversion = Requires game version: [red]{0}
mod.circulardependencies.details = この mod には、相互に依存する依存関係があります。
mod.incompletedependencies.details = 依存関係が無効または欠損しているため、この mod をロードできません: {0}
mod.requiresversion = ゲームのバージョンが必要です: [red]{0}
mod.errors = コンテンツの読み込み中にエラーが発生しました。
mod.noerrorplay = [scarlet]以下のModにエラーがあります。[] Modを無効化するか、エラーを修正してください。
mod.nowdisabled = [scarlet]{0} 依存関係がありません。:[accent] {1}\n[lightgray]これらのModをダウンロードし有効化する必要があります。\nなお、このModは自動的に無効化されます。
@@ -292,7 +292,7 @@ server.invalidport = 無効なポート番号です!
server.error = [crimson]サーバーのホストエラー: [accent]{0}
save.new = 新規保存
save.overwrite = このスロットに上書きしてもよろしいですか?
save.nocampaign = Individual save files from the campaign cannot be imported.
save.nocampaign = キャンペーンの個別のセーブファイルをインポートすることはできません。
overwrite = 上書き
save.none = セーブデータが見つかりませんでした!
savefail = ゲームの保存に失敗しました!
@@ -335,7 +335,7 @@ command.repair = 修復
command.rebuild = 再建築
command.assist = プレイヤーをアシスト
command.move = 移動
command.boost = Boost
command.boost = ブースト
openlink = リンクを開く
copylink = リンクをコピー
back = 戻る
@@ -361,8 +361,8 @@ pausebuilding = [accent][[{0}][] 建築を一時的に中断する
resumebuilding = [scarlet][[{0}][] 建築を再開する
enablebuilding = [scarlet][[{0}][] 建築を可能にする
showui = UI 非表示.\nUIを表示するには[accent][[{0}][] を押下
commandmode.name = [accent]Command Mode
commandmode.nounits = [no units]
commandmode.name = [accent]コマンドモード
commandmode.nounits = [単位なし]
wave = [accent]ウェーブ {0}
wave.cap = [accent]ウェーブ {0}/{1}
wave.waiting = [lightgray]次のウェーブまで {0} 秒
@@ -447,7 +447,7 @@ waves.max = 最大ユニット数
waves.guardian = ガーディアン
waves.preview = プレビュー
waves.edit = 編集...
waves.random = Random
waves.random = ランダム
waves.copy = クリップボードにコピー
waves.load = クリップボードから読み込む
waves.invalid = クリップボードのウェーブは無効なウェーブです。
@@ -659,7 +659,7 @@ bannedunits.whitelist = 禁止ユニットをホワイトリストとして表
bannedblocks.whitelist = 禁止ブロックをホワイトリストとして表示
addall = すべて追加
launch.from = [accent]{0}[] からの発射
launch.capacity = Launching Item Capacity: [accent]{0}
launch.capacity = 発射アイテム容量: [accent]{0}
launch.destination = 目的地: {0}
configure.invalid = 値は 0 から {0} の間でなければなりません。
add = 追加...
@@ -1210,7 +1210,7 @@ rules.unitbuildspeedmultiplier = ユニットの製造速度倍率
rules.unitcostmultiplier = ユニットの製造コスト倍率
rules.unithealthmultiplier = ユニットの体力倍率
rules.unitdamagemultiplier = ユニットのダメージ倍率
rules.unitcrashdamagemultiplier = Unit Crash Damage Multiplier
rules.unitcrashdamagemultiplier = ユニットの衝突ダメージ倍率
rules.solarmultiplier = 太陽光の倍率
rules.unitcapvariable = コア数によってユニット上限を変動
rules.unitcap = 基礎ユニット上限数
@@ -2025,7 +2025,7 @@ block.core-acropolis.description = さらにバージョンアップしたコア
block.breach.description = ベリリウムやタングステンの貫通弾を発射するタレットです。
block.diffuse.description = 広い扇形で弾丸を発射します。 敵にノックバックを与えます。
block.sublimate.description = 敵に炎を噴射します。アーマーを貫通します。
block.titan.description = 水素を消費して地上目標に向けて広範囲な爆発性の砲弾を発射します。
block.titan.description = 水素を消費して地上目標に向けて広範囲な爆発性の砲弾を発射します。
block.afflict.description = 熱を消費し大きな帯電したオーブを発射し、四方八方に分裂します。
block.disperse.description = 空中の目標に対空砲火を発射します。
block.lustre.description = 単一ターゲットに向けて、低速のレーザーを照射します。
@@ -2033,20 +2033,20 @@ block.scathe.description = 遠く離れた地上目標に向けて、強力な
block.smite.description = 閃光を放つ貫通弾を発射します。
block.malign.description = 大量の熱を使って、敵に追尾型のレーザーを発射します。
block.silicon-arc-furnace.description = 砂と黒鉛からシリコンを製造します。
block.oxidation-chamber.description = ベリリウムとオゾンから酸化物と副産物として熱を製造します。
block.electric-heater.description = 大量の電力を消費して、向かい合ったブロックを加熱します。
block.slag-heater.description = スラグを用いて、向かい合ったブロックを加熱します。
block.phase-heater.description = フェーズファイバーを用いて、向かい合ったブロックを加熱します。
block.oxidation-chamber.description = ベリリウムとオゾンから酸化物と副産物として熱を製造します。
block.electric-heater.description = 大量の電力を消費して、向かい合ったブロックを加熱します。
block.slag-heater.description = スラグを用いて、向かい合ったブロックを加熱します。
block.phase-heater.description = フェーズファイバーを用いて、向かい合ったブロックを加熱します。
block.heat-redirector.description = 蓄積された熱を他のブロックに伝えます。
block.heat-router.description = 蓄積された熱を3つの出力方向に分散させます。
block.electrolyzer.description = 水を電気分解して、水素とオゾンに変換します。
block.atmospheric-concentrator.description = 熱を利用して、大気中の窒素を濃縮します。
block.surge-crucible.description = 熱を利用して、スラグとシリコンからサージ合金を製造します。
block.phase-synthesizer.description = 熱を利用してトリウム、砂、オゾンからフェイズファイバーを製造します。
block.carbide-crucible.description = 熱を利用して、黒鉛とタングステンを融合させて炭化物を製造します。
block.atmospheric-concentrator.description = 熱を利用して、大気中の窒素を濃縮します。
block.surge-crucible.description = 熱を利用して、スラグとシリコンからサージ合金を製造します。
block.phase-synthesizer.description = 熱を利用してトリウム、砂、オゾンからフェイズファイバーを製造します。
block.carbide-crucible.description = 熱を利用して、黒鉛とタングステンを融合させて炭化物を製造します。
block.cyanogen-synthesizer.description = 熱を利用して、アーキサイトと黒鉛からシアンを製造します。
block.slag-incinerator.description = スラグを用いて、ガス以外のアイテムや液体を焼却します。
block.vent-condenser.description = 電力を消費して、ジェットホールのガスを水に凝縮します。
block.vent-condenser.description = 電力を消費して、ジェットホールのガスを水に凝縮します。
block.plasma-bore.description = 鉱石の壁に向けて配置して鉱石を掘りします。少量の電力が必要です。
block.large-plasma-bore.description = 大きくプラズマ掘り。 タングステン、トリウムの採掘が可能。 水素と電力が必要です
block.cliff-crusher.description = 電力を消費して、壁を粉砕し、砂を採掘します。 効率は壁の種類によって異なります。
@@ -2058,7 +2058,7 @@ block.reinforced-junction.description = 交差する 2 つのパイプのブリ
block.reinforced-liquid-tank.description = 大量の液体を蓄えることができます。
block.reinforced-liquid-container.description = 中量の液体を蓄えることができます。
block.reinforced-bridge-conduit.description = 構造物や地形の上に液体を輸送させることができます。
block.reinforced-pump.description = 水素を消費して液体を汲み上げて排出します。
block.reinforced-pump.description = 水素を消費して液体を汲み上げて排出します。
block.beryllium-wall.description = ベリリウムでできた壁です。\n敵の攻撃から構造物を保護します。
block.beryllium-wall-large.description = ベリリウムでできた大きな壁です。\n敵の攻撃から構造物を保護します。
block.tungsten-wall.description = タングステンでできた壁です。\n敵の攻撃から構造物を保護します。

View File

@@ -3404,6 +3404,7 @@ public class Blocks{
reload = 30f;
inaccuracy = 10f;
range = 240f;
consumeAmmoOnce = false;
size = 2;
scaledHealth = 300;
shootSound = Sounds.missile;
@@ -3466,6 +3467,7 @@ public class Blocks{
size = 2;
range = 190f;
reload = 31f;
consumeAmmoOnce = false;
ammoEjectBack = 3f;
recoil = 3f;
shake = 1f;

View File

@@ -1746,7 +1746,8 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
public void updateConsumption(){
//everything is valid when cheating
if(!block.hasConsumers || cheating()){
potentialEfficiency = efficiency = optionalEfficiency = enabled && shouldConsume() && productionValid() ? 1f : 0f;
potentialEfficiency = enabled && productionValid() ? 1f : 0f;
efficiency = optionalEfficiency = shouldConsume() ? potentialEfficiency : 0f;
updateEfficiencyMultiplier();
return;
}

View File

@@ -42,7 +42,7 @@ public class Team implements Comparable<Team>{
Mathf.rand.setSeed(8);
//create the whole 256 placeholder teams
for(int i = 6; i < all.length; i++){
new Team(i, "team#" + i, Color.HSVtoRGB(360f * Mathf.random(), 100f * Mathf.random(0.6f, 1f), 100f * Mathf.random(0.8f, 1f), 1f));
new Team(i, "team#" + i, Color.HSVtoRGB(360f * Mathf.random(), 100f * Mathf.random(0.4f, 1f), 100f * Mathf.random(0.6f, 1f), 1f));
}
Mathf.rand.setSeed(new Rand().nextLong());
}

View File

@@ -51,6 +51,19 @@ public class ItemTurret extends Turret{
stats.add(Stat.ammo, StatValues.ammo(ammoTypes));
}
@Override
public void setBars(){
super.setBars();
addBar("ammo", (ItemTurretBuild entity) ->
new Bar(
"stat.ammo",
Pal.ammo,
() -> (float)entity.totalAmmo / maxAmmo
)
);
}
@Override
public void init(){
consume(new ConsumeItemFilter(i -> ammoTypes.containsKey(i)){
@@ -100,14 +113,6 @@ public class ItemTurret extends Turret{
super.updateTile();
}
@Override
public void displayBars(Table bars){
super.displayBars(bars);
bars.add(new Bar("stat.ammo", Pal.ammo, () -> (float)totalAmmo / maxAmmo)).growX();
bars.row();
}
@Override
public int acceptStack(Item item, int amount, Teamc source){
BulletType type = ammoTypes.get(item);

View File

@@ -65,7 +65,7 @@
},
{
"name": "Darkdustry",
"address": ["darkdustry.net", "darkdustry.net:1500", "darkdustry.net:2000", "darkdustry.net:3000", "darkdustry.net:4000", "darkdustry.net:5000", "darkdustry.net:6000", "darkdustry.net:7000", "darkdustry.net:8000", "darkdustry.net:9000", "darkdustry.net:10000"]
"address": ["45.82.176.157", "45.82.176.157:1500", "45.82.176.157:2000", "45.82.176.157:3000", "45.82.176.157:4000", "45.82.176.157:5000", "45.82.176.157:6000", "45.82.176.157:7000", "45.82.176.157:8000", "45.82.176.157:9000", "45.82.176.157:10000"]
},
{
"name": "Chaotic Neutral",
@@ -105,7 +105,7 @@
},
{
"name": "OMNIDUSTRY",
"address": ["omnidustry.su", "omnidustry.su:6568", "omnidustry.su:6569", "omnidustry.su:6570", "omnidustry.su:6571", "omnidustry.su:6572", "omnidustry.su:6573", "omnidustry.su:6574"]
"address": ["185.178.46.229", "185.178.46.229:6568", "185.178.46.229:6569", "185.178.46.229:6570", "185.178.46.229:6571", "185.178.46.229:6572", "185.178.46.229:6573", "185.178.46.229:6574"]
},
{
"name": "The Devil",
@@ -117,7 +117,7 @@
},
{
"name": "Conservatory",
"address": ["165.232.137.170:6567","165.232.137.170:6568"]
"address": ["165.232.137.170:6567", "165.232.137.170:6568"]
},
{
"name": "mindustry.ddns.net",
@@ -141,7 +141,7 @@
},
{
"name": "|RussianServers|[]",
"address": ["2p2g.ml:6568","2p2g.ml:6569","2p2g.ml:6570","2p2g.ml:6571","2p2g.ml:6572","2p2g.ml:6573"]
"address": ["2p2g.ml:6568", "2p2g.ml:6569", "2p2g.ml:6570", "2p2g.ml:6571", "2p2g.ml:6572", "2p2g.ml:6573"]
},
{
"name": "Hungarian",
@@ -157,6 +157,10 @@
},
{
"name": "Vndustry",
"address": ["vndustry.ddns.net","vndustry.ddns.net:6568"]
"address": ["vndustry.ddns.net", "vndustry.ddns.net:6568"]
},
{
"name": "Anana&ShenYv",
"address": ["mdtleague.top"]
}
]