aaaaaaaAAAAAAAAAAAAAAAAAA

This commit is contained in:
Anuken
2021-12-18 23:23:35 -05:00
parent 41b669d6e1
commit 8023ea1d34
14 changed files with 103 additions and 80 deletions
+1 -1
View File
@@ -3319,7 +3319,7 @@ public class Blocks{
//TODO completely unfinished
tankAssembler = new UnitAssembler("tank-assembler"){{
requirements(Category.units, with(Items.graphite, 10));
size = 3;
size = 5;
droneType = UnitTypes.manifold;
plans.add(new AssemblerUnitPlan(UnitTypes.vanquish, 60f * 5f, BlockStack.list(Blocks.thoriumWallLarge, 4, Blocks.duct, 2)));
consumes.power(1f);
+12
View File
@@ -13,6 +13,7 @@ import mindustry.gen.*;
import mindustry.graphics.*;
import mindustry.type.*;
import mindustry.world.*;
import mindustry.world.blocks.units.UnitAssembler.*;
import static arc.graphics.g2d.Draw.rect;
import static arc.graphics.g2d.Draw.*;
@@ -226,6 +227,17 @@ public class Fx{
});
}),
payloadDeposit = new Effect(30f, e -> {
if(!(e.data instanceof YeetData data)) return;
Tmp.v1.set(e.x, e.y).lerp(data.target, e.finpow());
float x = Tmp.v1.x, y = Tmp.v1.y;
scl(e.fout(Interp.pow3Out) * 1.05f);
Drawf.squareShadow(x, y, data.block.size * tilesize * 1.85f, 1f);
mixcol(Pal.accent, e.fin());
rect(data.block.fullIcon, x, y);
}).layer(Layer.flyingUnitLow - 5f),
select = new Effect(23, e -> {
color(Pal.accent);
stroke(e.fout() * 3f);
+8 -4
View File
@@ -68,8 +68,8 @@ public class UnitTypes{
//special block unit type
public static @EntityDef({Unitc.class, BlockUnitc.class}) UnitType block;
//special tethered
public static @EntityDef({Unitc.class, BuildingTetherc.class}) UnitType manifold, assemblyDrone;
//special tethered (has payload capability, because it's necessary sometimes)
public static @EntityDef({Unitc.class, BuildingTetherc.class, Payloadc.class}) UnitType manifold, assemblyDrone, payloadDrone;
//tank
//TODO tank comp
@@ -2431,7 +2431,7 @@ public class UnitTypes{
hitSize = 28f;
treadPullOffset = 4;
speed = 0.6f;
health = 10000;
health = 9000;
armor = 20f;
treadRect = new Rect(22f, 16f, 28f, 130f);
@@ -2448,7 +2448,7 @@ public class UnitTypes{
y = 0;
shadow = 28f;
bullet = new BasicBulletType(7f, 50){{
bullet = new BasicBulletType(7f, 90){{
sprite = "missile-large";
width = 9f;
height = 15f;
@@ -2744,6 +2744,10 @@ public class UnitTypes{
envDisabled = Env.none;
}};
//payloadDrone = new UnitType("payload-drone"){{
//}};
//endregion
//region neoplasm