@@ -80,6 +80,7 @@ public class BioBlocks {
8080
8181 //turret
8282 inception , costae , celluris , dissection , needle , glisten ,
83+ retch ,
8384
8485 //power
8586 magnesiumBurner , cablePole , cableAccumulator ,
@@ -840,6 +841,64 @@ BioItems.magnesium, new BasicBulletType(4f, 8) {{
840841 }};
841842 }};
842843
844+ retch = new ItemTurret ("retch" ){{
845+ health = 1500 ;
846+ size = 4 ;
847+ requirements (turret , with (BioItems .magnesium , 1 ));
848+ range = 230 ;
849+ inaccuracy = 4.5f ;
850+ rotateSpeed = 1.25f ;
851+ reload = 24 ;
852+ minWarmup = 4f ;
853+ warmupMaintainTime = 25 ;
854+ targetAir = true ;
855+ targetGround = true ;
856+ outlineColor = Color .valueOf ("2b2626" );
857+
858+ drawer = new DrawTurret (){{
859+ parts .addAll (
860+ new RegionPart ("-wing" ){{
861+ x = y = 0 ;
862+ moveY = -2f ;
863+ progress = PartProgress .warmup ;
864+ }},
865+ new RegionPart ("-head" ){{
866+ x = y = 0 ;
867+ moveY = 4f ;
868+ progress = PartProgress .warmup ;
869+ }}
870+ );
871+ }};
872+
873+ ammo (
874+ BioItems .calciticFragment , new BasicBulletType (7 , 50 ){{
875+ hitEffect = despawnEffect = shootEffect = new WaveEffect () {{
876+ colorFrom = BioPal .boneWhiteLight ;
877+ colorTo = BioPal .boneWhiteLight ;
878+ sizeFrom = 0 ;
879+ sizeTo = 3 ;
880+ strokeFrom = 1 ;
881+ strokeTo = 0 ;
882+ }};
883+
884+ width = 10 ;
885+ height = 10 ;
886+ shrinkX = shrinkY = 0 ;
887+ frontColor = BioPal .boneWhiteLight ;
888+ backColor = BioPal .boneWhiteLight ;
889+ trailLength = 5 ;
890+ trailWidth = 2 ;
891+ trailColor = BioPal .boneWhiteLight ;
892+ trailInterval = 2f ;
893+ lifetime = 40f ;
894+ collidesAir = true ;
895+ ammoMultiplier = 2.5f ;
896+
897+ hitSound = despawnSound = Sounds .bang ;
898+ }}
899+ );
900+ }};
901+
843902 //endregion
844903
845904 //power
0 commit comments