Skip to content

Commit 7ccff2d

Browse files
committed
Unit things2
1 parent 2909137 commit 7ccff2d

2 files changed

Lines changed: 47 additions & 101 deletions

File tree

src/exogenesis/content/ExoBlocks.java

Lines changed: 45 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -465,119 +465,63 @@ Items.surgeAlloy, new ShrapnelBulletType(){{
465465
}}
466466
);
467467
}};
468-
phantom = new ItemTurret("phantom"){{
468+
phantom = new SpeedupTurret("phantom"){{
469469
requirements(Category.turret, with(ExoItems.osmium, 345, Items.graphite, 400, Items.surgeAlloy, 350, ExoItems.voltriumAlloy, 175, Items.thorium, 250));
470-
ammo(
471-
Items.metaglass, new FlakBulletType(4f, 6){{
472-
ammoMultiplier = 2f;
473-
shootEffect = Fx.shootSmall;
474-
reloadMultiplier = 0.8f;
475-
width = 6f;
476-
height = 11f;
477-
hitEffect = Fx.flakExplosion;
478-
splashDamage = 45f;
479-
splashDamageRadius = 25f;
480-
fragBullet = new BasicBulletType(3f, 12, "bullet"){{
481-
width = 5f;
482-
height = 12f;
483-
shrinkY = 1f;
484-
lifetime = 20f;
485-
backColor = Pal.gray;
486-
frontColor = Color.white;
487-
despawnEffect = Fx.none;
488-
}};
489-
fragBullets = 4;
490-
explodeRange = 20f;
491-
collidesGround = true;
492-
493-
backColor = hitColor = trailColor = Pal.glassAmmoBack;
494-
frontColor = Pal.glassAmmoFront;
495-
despawnEffect = Fx.hitBulletColor;
496-
}},
497-
Items.blastCompound, new FlakBulletType(4f, 8){{
498-
shootEffect = Fx.shootBig;
499-
ammoMultiplier = 5f;
500-
splashDamage = 45f;
501-
splashDamageRadius = 60f;
502-
collidesGround = true;
503-
504-
status = StatusEffects.blasted;
505-
statusDuration = 60f;
506-
507-
backColor = hitColor = trailColor = Pal.blastAmmoBack;
508-
frontColor = Pal.blastAmmoFront;
509-
despawnEffect = Fx.hitBulletColor;
510-
}},
511-
Items.plastanium, new FlakBulletType(4f, 8){{
512-
ammoMultiplier = 4f;
513-
splashDamageRadius = 40f;
514-
splashDamage = 37.5f;
515-
fragBullet = new BasicBulletType(2.5f, 12, "bullet"){{
516-
width = 10f;
517-
height = 12f;
518-
shrinkY = 1f;
519-
lifetime = 15f;
520-
backColor = Pal.plastaniumBack;
521-
frontColor = Pal.plastaniumFront;
522-
despawnEffect = Fx.none;
523-
}};
524-
fragBullets = 6;
525-
hitEffect = Fx.plasticExplosion;
526-
frontColor = Pal.plastaniumFront;
527-
backColor = Pal.plastaniumBack;
528-
shootEffect = Fx.shootBig;
529-
collidesGround = true;
530-
explodeRange = 20f;
531-
despawnEffect = Fx.hitBulletColor;
532-
}},
533-
Items.surgeAlloy, new FlakBulletType(4.5f, 13){{
534-
ammoMultiplier = 5f;
535-
splashDamage = 50f * 1.5f;
536-
splashDamageRadius = 38f;
537-
lightning = 2;
538-
lightningLength = 7;
539-
shootEffect = Fx.shootBig;
540-
collidesGround = true;
541-
explodeRange = 20f;
542-
543-
backColor = hitColor = trailColor = Pal.surgeAmmoBack;
544-
frontColor = Pal.surgeAmmoFront;
545-
despawnEffect = Fx.hitBulletColor;
546-
}}
547-
);
548470
shootY = 17.5f;
549471
shoot = new ShootAlternate(){{
550472
shots = 1;
551-
barrels = 2;
552-
spread = 11;
473+
barrels = 6;
474+
spread = 1;
553475
}};
554476

555-
recoils = 3;
556-
drawer = new DrawTurret(){{
557-
for(int i = 3; i > 0; i--){
558-
int f = i;
559-
parts.add(new RegionPart("-barrel-" + i){{
560-
progress = PartProgress.recoil;
561-
recoilIndex = f - 1;
562-
under = true;
563-
moveY = -2f;
564-
}});
565-
}
477+
recoils = 2;
478+
consumePower(20f);
479+
480+
shootType = new BasicBulletType(){{
481+
damage = 65;
482+
speed = 8.5f;
483+
width = 14;
484+
height = 22;
485+
shrinkY = 0.3f;
486+
parts.addAll(
487+
new FlarePart(){{
488+
progress = PartProgress.life;
489+
color1 = ExoPal.indigoBack;
490+
sides = 2;
491+
radius = 12;
492+
radiusTo = 12;
493+
stroke = 1.5f;
494+
}}
495+
);
496+
backSprite = "large-bomb-back";
497+
sprite = "mine-bullet";
498+
trailWidth = 2f;
499+
trailLength = 4;
500+
velocityRnd = 0.11f;
501+
shootEffect = Fx.shootBigColor;
502+
smokeEffect = Fx.shootSmokeDisperse;
503+
frontColor = ExoPal.indigoFront;
504+
backColor = trailColor = hitColor = ExoPal.indigoBack;
505+
lifetime = 34f;
506+
507+
hitEffect = despawnEffect = Fx.hitBulletColor;
566508
}};
567-
568-
reload = 8f;
509+
maxSpeedupScl = 14f;
510+
speedupPerShoot = 0.1f;
511+
inaccuracyUp = 1;
512+
overheatTime = 400f;
513+
reload = 100f;
569514
range = 200f;
570515
size = 5;
571516
recoil = 1.5f;
572517
recoilTime = 10;
573-
rotateSpeed = 10f;
574-
inaccuracy = 10f;
518+
rotateSpeed = 5f;
519+
inaccuracy = 3f;
575520
shootCone = 30f;
576-
shootSound = Sounds.shootSnap;
577-
coolant = consumeCoolant(0.3f);
521+
shootSound = Sounds.blaster;
522+
coolant = consumeCoolant(1f);
578523

579524
scaledHealth = 145;
580-
limitRange();
581525
}};
582526
supercritical = new LaserTurret("supercritical"){{
583527
requirements(Category.turret, with(Items.copper, 1200, Items.lead, 550, Items.graphite, 300, Items.surgeAlloy, 525, ExoItems.voltriumAlloy, 300, Items.silicon, 525));
@@ -589,6 +533,7 @@ Items.surgeAlloy, new FlakBulletType(4.5f, 13){{
589533
range = 300f;
590534
reload = 110f;
591535
shootY = 17;
536+
rotateSpeed = 5f;
592537
shootDuration = 400;
593538
firingMoveFract = 0.5f;
594539
shootSound = Sounds.laserbig;
@@ -690,7 +635,7 @@ Items.metaglass, new FlakBulletType(4f, 6){{
690635
range = 200f;
691636
size = 8;
692637
recoil = 2.5f;
693-
rotateSpeed = 10f;
638+
rotateSpeed = 3f;
694639
inaccuracy = 2f;
695640
shootCone = 10f;
696641
shootSound = Sounds.largeCannon;

src/exogenesis/graphics/ExoPal.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ public class ExoPal {
1111
starWhite = Color.valueOf("d7e6e9"),
1212
prometheusColor = Color.valueOf("feb380"),
1313

14-
14+
indigoFront = Color.valueOf("957eff"),
15+
indigoBack = Color.valueOf("5c3ee6"),
1516
copperFront = Color.valueOf("d3ffeb"),
1617
copperBack = Color.valueOf("7ac1a7"),
1718
leadFront = Color.valueOf("d2c4ff"),

0 commit comments

Comments
 (0)