Merge branch 'master' of https://github.com/Anuken/Mindustry into 7.0-features
This commit is contained in:
@@ -1497,7 +1497,7 @@ block.router.details = Nezbytné zlo. Použití hned u produkčních vstupů se
|
||||
block.distributor.description = Rozděluje vstupní položky rovnoměrně do sedmi výstupů.
|
||||
block.overflow-gate.description = Pokud je směr vpřed ucpán, posílá vstupní položky do stran. Nelze použít vedle jiné brány.
|
||||
block.underflow-gate.description = Pokud je směr do stran ucpán, posílá vstupní položky vpřed. Nelze použít vedle jiné brány.
|
||||
block.mass-driver.description = Konstrukce pro přepravu položek na velkou vzdálenost. Sesere dávku položek a vystřelí ji k dalšímu hromadnému přenašeči.
|
||||
block.mass-driver.description = Konstrukce pro přepravu položek na velkou vzdálenost. Shromáždí dávku položek a vystřelí ji k dalšímu hromadnému přenašeči.
|
||||
block.mechanical-pump.description = Pumpuje kapalinu a předává ji dál. Nevyžaduje energii.
|
||||
block.rotary-pump.description = Pumpuje kapalinu a předává ji dál. Vyžaduje energii.
|
||||
block.impulse-pump.description = Pumpuje kapalinu a předává ji dál.
|
||||
|
||||
@@ -596,7 +596,7 @@ sectors.stored = Gelagert:
|
||||
sectors.resume = Weiterspielen
|
||||
sectors.launch = Start
|
||||
sectors.select = Auswählen
|
||||
sectors.nonelaunch = [lightgray]none (sun)
|
||||
sectors.nonelaunch = [lightgray]keiner (Sonne)
|
||||
sectors.rename = Sektor umbenennen
|
||||
sectors.enemybase = [scarlet]Gegnerische Basis
|
||||
sectors.vulnerable = [scarlet]Angriffsgefährdet
|
||||
@@ -746,7 +746,7 @@ stat.drillspeed = Bohrgeschwindigkeit
|
||||
stat.boosteffect = Verstärkungseffekt
|
||||
stat.maxunits = Max. aktive Einheiten
|
||||
stat.health = Lebenspunkte
|
||||
stat.armor = Armor
|
||||
stat.armor = Rüstung
|
||||
stat.buildtime = Baudauer
|
||||
stat.maxconsecutive = Max. Konsekutive
|
||||
stat.buildcost = Baukosten
|
||||
@@ -821,7 +821,7 @@ bullet.damage = [stat]{0}[lightgray] Schaden
|
||||
bullet.splashdamage = [stat]{0}[lightgray] Flächenschaden ~[stat] {1}[lightgray] Kacheln
|
||||
bullet.incendiary = [stat]entzündend
|
||||
bullet.homing = [stat]zielsuchend
|
||||
bullet.frags = [stat]{0}[lightgray]x frag bullets:
|
||||
bullet.frags = [stat]{0}[lightgray]x Splittergeschosse:
|
||||
bullet.lightning = [stat]{0}[lightgray]x Blitz ~ [stat]{1}[lightgray] Schaden
|
||||
bullet.buildingdamage = [stat]{0}%[lightgray]Blockschaden
|
||||
bullet.knockback = [stat]{0}[lightgray] zurückstoßend
|
||||
@@ -1231,8 +1231,8 @@ block.door-large.name = Großes Tor
|
||||
block.duo.name = Doppelgeschütz
|
||||
block.scorch.name = Scatter
|
||||
block.scatter.name = Luftgeschütz
|
||||
block.hail.name = Hail
|
||||
block.lancer.name = Lancer
|
||||
block.hail.name = Hagel
|
||||
block.lancer.name = Lancier
|
||||
block.conveyor.name = Förderband
|
||||
block.titanium-conveyor.name = Titan-Förderband
|
||||
block.plastanium-conveyor.name = Plastanium-Förderband
|
||||
|
||||
@@ -1223,7 +1223,7 @@ block.titanium-wall.name = Muro de Titanio
|
||||
block.titanium-wall-large.name = Muro de Titanio grande
|
||||
block.plastanium-wall.name = Muro de Plastanio
|
||||
block.plastanium-wall-large.name = Muro de Plastanio grande
|
||||
block.phase-wall.name = Muro de Fase grande
|
||||
block.phase-wall.name = Muro de Fase
|
||||
block.phase-wall-large.name = Muro de Fase grande
|
||||
block.thorium-wall.name = Muro de Torio
|
||||
block.thorium-wall-large.name = Muro de Torio grande
|
||||
|
||||
@@ -165,6 +165,7 @@ abstract class PayloadComp implements Posc, Rotc, Hitboxc, Unitc{
|
||||
if(!u.isAdded()) u.team.data().updateCount(u.type, -1);
|
||||
u.add();
|
||||
u.unloaded();
|
||||
Events.fire(new PayloadDropEvent(self(), u));
|
||||
|
||||
return true;
|
||||
}
|
||||
@@ -177,6 +178,7 @@ abstract class PayloadComp implements Posc, Rotc, Hitboxc, Unitc{
|
||||
if(on != null && Build.validPlace(tile.block, tile.team, tx, ty, tile.rotation, false)){
|
||||
int rot = (int)((rotation + 45f) / 90f) % 4;
|
||||
payload.place(on, rot);
|
||||
Events.fire(new PayloadDropEvent(self(), tile));
|
||||
|
||||
if(getControllerName() != null){
|
||||
payload.build.lastAccessed = getControllerName();
|
||||
|
||||
@@ -238,6 +238,24 @@ public class EventType{
|
||||
}
|
||||
}
|
||||
|
||||
public static class PayloadDropEvent{
|
||||
public final Unit carrier;
|
||||
public final @Nullable Unit unit;
|
||||
public final @Nullable Building build;
|
||||
|
||||
public PayloadDropEvent(Unit carrier, Unit unit){
|
||||
this.carrier = carrier;
|
||||
this.unit = unit;
|
||||
this.build = null;
|
||||
}
|
||||
|
||||
public PayloadDropEvent(Unit carrier, Building build){
|
||||
this.carrier = carrier;
|
||||
this.build = build;
|
||||
this.unit = null;
|
||||
}
|
||||
}
|
||||
|
||||
public static class UnitControlEvent{
|
||||
public final Player player;
|
||||
public final @Nullable Unit unit;
|
||||
|
||||
@@ -762,9 +762,6 @@ public class SettingsMenuDialog extends BaseDialog{
|
||||
}
|
||||
|
||||
public static class AreaTextSetting extends TextSetting{
|
||||
String def;
|
||||
Cons<String> changed;
|
||||
|
||||
public AreaTextSetting(String name, String def, Cons<String> changed){
|
||||
super(name, def, changed);
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ public class PointDefenseTurret extends ReloadTurret{
|
||||
public final int timerTarget = timers++;
|
||||
public float retargetTime = 5f;
|
||||
|
||||
public @Load("block-@size") TextureRegion baseRegion;
|
||||
public @Load(value = "@-base", fallback = "block-@size") TextureRegion baseRegion;
|
||||
|
||||
public Color color = Color.white;
|
||||
public Effect beamEffect = Fx.pointBeam;
|
||||
|
||||
Reference in New Issue
Block a user