Reconstructor fixes
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 130 KiB After Width: | Height: | Size: 127 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 130 KiB After Width: | Height: | Size: 127 KiB |
@@ -1728,6 +1728,7 @@ public class Blocks implements ContentList{
|
|||||||
constructTime = 60f * 60f;
|
constructTime = 60f * 60f;
|
||||||
|
|
||||||
upgrades = new UnitType[][]{
|
upgrades = new UnitType[][]{
|
||||||
|
{UnitTypes.revenant, UnitTypes.lich},
|
||||||
};
|
};
|
||||||
}};
|
}};
|
||||||
|
|
||||||
@@ -1742,6 +1743,7 @@ public class Blocks implements ContentList{
|
|||||||
constructTime = 60f * 60f * 3;
|
constructTime = 60f * 60f * 3;
|
||||||
|
|
||||||
upgrades = new UnitType[][]{
|
upgrades = new UnitType[][]{
|
||||||
|
{UnitTypes.lich, UnitTypes.reaper},
|
||||||
};
|
};
|
||||||
}};
|
}};
|
||||||
|
|
||||||
|
|||||||
@@ -414,6 +414,27 @@ public class UnitTypes implements ContentList{
|
|||||||
}});
|
}});
|
||||||
}};
|
}};
|
||||||
|
|
||||||
|
lich = new UnitType("lich"){{
|
||||||
|
speed = 1.1f;
|
||||||
|
accel = 0.02f;
|
||||||
|
drag = 0.05f;
|
||||||
|
rotateSpeed = 2.5f;
|
||||||
|
flying = true;
|
||||||
|
lowAltitude = true;
|
||||||
|
health = 75000;
|
||||||
|
engineOffset = 38;
|
||||||
|
engineSize = 7.3f;
|
||||||
|
hitsize = 58f;
|
||||||
|
|
||||||
|
weapons.add(new Weapon(){{
|
||||||
|
y = 1.5f;
|
||||||
|
reload = 28f;
|
||||||
|
alternate = true;
|
||||||
|
ejectEffect = Fx.shellEjectSmall;
|
||||||
|
bullet = Bullets.standardCopper;
|
||||||
|
shootSound = Sounds.shoot;
|
||||||
|
}});
|
||||||
|
}};
|
||||||
|
|
||||||
vanguard = new UnitType("vanguard"){{
|
vanguard = new UnitType("vanguard"){{
|
||||||
speed = 1.3f;
|
speed = 1.3f;
|
||||||
|
|||||||
@@ -111,7 +111,6 @@ public class Reconstructor extends UnitBlock{
|
|||||||
}
|
}
|
||||||
|
|
||||||
Draw.z(Layer.blockOver + 0.1f);
|
Draw.z(Layer.blockOver + 0.1f);
|
||||||
Drawf.shadow(x, y, size * tilesize, 0.5f);
|
|
||||||
Draw.rect(topRegion, x, y);
|
Draw.rect(topRegion, x, y);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
package mindustry.world.consumers;
|
package mindustry.world.consumers;
|
||||||
|
|
||||||
|
import arc.math.*;
|
||||||
import arc.struct.*;
|
import arc.struct.*;
|
||||||
import arc.scene.ui.layout.*;
|
import arc.scene.ui.layout.*;
|
||||||
import arc.util.ArcAnnotate.*;
|
import arc.util.ArcAnnotate.*;
|
||||||
@@ -37,7 +38,7 @@ public class ConsumeItems extends Consume{
|
|||||||
public void build(Tilec tile, Table table){
|
public void build(Tilec tile, Table table){
|
||||||
for(ItemStack stack : items){
|
for(ItemStack stack : items){
|
||||||
table.add(new ReqImage(new ItemImage(stack.item.icon(Cicon.medium), stack.amount),
|
table.add(new ReqImage(new ItemImage(stack.item.icon(Cicon.medium), stack.amount),
|
||||||
() -> tile.items() != null && tile.items().has(stack.item, stack.amount))).size(8 * 4).padRight(5);
|
() -> tile.items() != null && tile.items().has(stack.item, stack.amount))).size(8 * 4).padRight(Mathf.digits(stack.amount) * 6);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,3 +1,3 @@
|
|||||||
org.gradle.daemon=true
|
org.gradle.daemon=true
|
||||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||||
archash=e95eb53c39027f21e905952937ae4450bde62c18
|
archash=32cdefdd1bc69da409eee465d854727e89dadb09
|
||||||
|
|||||||
Reference in New Issue
Block a user