mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-09 20:29:06 +07:00
Cleanup
This commit is contained in:
parent
874aa6cf4a
commit
e3f40cd968
@ -870,8 +870,15 @@ public class Blocks implements ContentList{
|
||||
forceProjector = new ForceProjector("force-projector"){{
|
||||
requirements(Category.effect, with(Items.lead, 100, Items.titanium, 75, Items.silicon, 125));
|
||||
size = 3;
|
||||
phaseRadiusBoost = 80f;
|
||||
radius = 101.7f;
|
||||
breakage = 750f;
|
||||
cooldownNormal = 1.5f;
|
||||
cooldownLiquid = 1.2f;
|
||||
cooldownBrokenBase = 0.35f;
|
||||
|
||||
consumes.item(Items.phasefabric).boost();
|
||||
consumes.power(3f);
|
||||
consumes.power(4f);
|
||||
}};
|
||||
|
||||
shockMine = new ShockMine("shock-mine"){{
|
||||
|
@ -27,7 +27,7 @@ public class Bullets implements ContentList{
|
||||
fragGlass, fragExplosive, fragPlastic, fragSurge, fragGlassFrag, fragPlasticFrag,
|
||||
|
||||
//missiles
|
||||
missileExplosive, missileIncendiary, missileSurge, missileSwarm,
|
||||
missileExplosive, missileIncendiary, missileSurge,
|
||||
|
||||
//standard
|
||||
standardCopper, standardDense, standardThorium, standardHoming, standardIncendiary, standardMechSmall,
|
||||
@ -287,25 +287,6 @@ public class Bullets implements ContentList{
|
||||
lightningLength = 14;
|
||||
}};
|
||||
|
||||
missileSwarm = new MissileBulletType(2.7f, 12, "missile"){{
|
||||
width = 8f;
|
||||
height = 8f;
|
||||
shrinkY = 0f;
|
||||
drag = -0.003f;
|
||||
homingRange = 60f;
|
||||
keepVelocity = false;
|
||||
splashDamageRadius = 25f;
|
||||
splashDamage = 10f;
|
||||
lifetime = 120f;
|
||||
trailColor = Color.gray;
|
||||
backColor = Pal.bulletYellowBack;
|
||||
frontColor = Pal.bulletYellow;
|
||||
hitEffect = Fx.blastExplosion;
|
||||
despawnEffect = Fx.blastExplosion;
|
||||
weaveScale = 8f;
|
||||
weaveMag = 2f;
|
||||
}};
|
||||
|
||||
standardCopper = new BasicBulletType(2.5f, 9, "bullet"){{
|
||||
width = 7f;
|
||||
height = 9f;
|
||||
|
@ -373,6 +373,7 @@ public class UnitTypes implements ContentList{
|
||||
}});
|
||||
}};
|
||||
|
||||
//TODO implement
|
||||
arkyid = new UnitType("arkyid"){{
|
||||
drag = 0.1f;
|
||||
speed = 0.5f;
|
||||
@ -400,7 +401,24 @@ public class UnitTypes implements ContentList{
|
||||
x = 4f;
|
||||
rotate = true;
|
||||
shake = 1f;
|
||||
bullet = Bullets.missileSwarm;
|
||||
bullet = new MissileBulletType(2.7f, 12, "missile"){{
|
||||
width = 8f;
|
||||
height = 8f;
|
||||
shrinkY = 0f;
|
||||
drag = -0.003f;
|
||||
homingRange = 60f;
|
||||
keepVelocity = false;
|
||||
splashDamageRadius = 25f;
|
||||
splashDamage = 10f;
|
||||
lifetime = 120f;
|
||||
trailColor = Color.gray;
|
||||
backColor = Pal.bulletYellowBack;
|
||||
frontColor = Pal.bulletYellow;
|
||||
hitEffect = Fx.blastExplosion;
|
||||
despawnEffect = Fx.blastExplosion;
|
||||
weaveScale = 8f;
|
||||
weaveMag = 2f;
|
||||
}};
|
||||
}});
|
||||
}};
|
||||
|
||||
@ -670,7 +688,24 @@ public class UnitTypes implements ContentList{
|
||||
x = 0f;
|
||||
rotate = true;
|
||||
ejectEffect = Fx.shellEjectSmall;
|
||||
bullet = Bullets.flakScrap;
|
||||
bullet = new MissileBulletType(2.7f, 12, "missile"){{
|
||||
width = 8f;
|
||||
height = 8f;
|
||||
shrinkY = 0f;
|
||||
drag = -0.003f;
|
||||
homingRange = 60f;
|
||||
keepVelocity = false;
|
||||
splashDamageRadius = 25f;
|
||||
splashDamage = 10f;
|
||||
lifetime = 120f;
|
||||
trailColor = Color.gray;
|
||||
backColor = Pal.bulletYellowBack;
|
||||
frontColor = Pal.bulletYellow;
|
||||
hitEffect = Fx.blastExplosion;
|
||||
despawnEffect = Fx.blastExplosion;
|
||||
weaveScale = 8f;
|
||||
weaveMag = 2f;
|
||||
}};
|
||||
}});
|
||||
}};
|
||||
|
||||
|
@ -417,7 +417,10 @@ public class Control implements ApplicationListener, Loadable{
|
||||
//just a regular reminder
|
||||
if(!OS.prop("user.name").equals("anuke") && !OS.hasEnv("iknowwhatimdoing")){
|
||||
if(mobile){
|
||||
ui.showInfo("[scarlet]6.0 doesn't work on mobile.[] Don't play it.");
|
||||
Runnable[] run = {null};
|
||||
run[0] = () -> {
|
||||
ui.showInfo("[scarlet]6.0 doesn't work on mobile.[] Don't play it.", run[0]);
|
||||
};
|
||||
}else{
|
||||
ui.showInfo("[scarlet]6.0 is not supposed to be played.[] Go do something else.");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user