Fracture turret requirement decrease

This commit is contained in:
Anuken 2021-12-26 17:30:25 -05:00
parent 583edacb11
commit 72b91534ab
2 changed files with 6 additions and 12 deletions

View File

@ -2286,7 +2286,7 @@ public class Blocks{
size = 2;
range = 3;
consumes.liquid(Liquids.hydrogen, 1f / 60f).boost();
consumes.liquid(Liquids.hydrogen, 0.5f / 60f).boost();
}};
//TODO awful name
@ -2300,7 +2300,7 @@ public class Blocks{
range = 6;
laserWidth = 0.7f;
consumes.liquid(Liquids.hydrogen, 2f / 60f).boost();
consumes.liquid(Liquids.hydrogen, 1f / 60f).boost();
}};
//TODO should be crusher or something
@ -2929,7 +2929,6 @@ public class Blocks{
//TODO no coolant?
acceptCoolant = false;
draw = new DrawTurret("reinforced-");
shootLength = 0f;
outlineColor = Pal.darkOutline;
@ -2945,18 +2944,17 @@ public class Blocks{
limitRange();
}};
//TODO implementation; splash damage? shotgun? AA? I have no ideas
fracture = new ItemTurret("fracture"){{
requirements(Category.turret, with(Items.tungsten, 30, Items.graphite, 30, Items.silicon, 35));
requirements(Category.turret, with(Items.beryllium, 10, Items.graphite, 30, Items.silicon, 35));
ammo(
Items.tungsten, new ContinuousFlameBulletType(55f){{
Items.graphite, new ContinuousFlameBulletType(65f){{
length = 105f;
shootEffect = Fx.randLifeSpark;
width = 4.5f;
colors = new Color[]{Color.valueOf("e8e6ff").a(0.55f), Color.valueOf("819aeb").a(0.7f), Color.valueOf("786bed").a(0.8f), Color.valueOf("c3cdfa"), Color.white};
smokeEffect = Fx.shootBigSmoke;
continuous = false;
ammoMultiplier = 2;
ammoMultiplier = 4;
pierce = true;
knockback = 4f;
status = StatusEffects.slow;
@ -2971,10 +2969,6 @@ public class Blocks{
}}
);
acceptCoolant = false;
consumes.liquid(Liquids.hydrogen, 1.5f / 60f);
shots = 1;
draw = new DrawTurret("reinforced-"){{
parts.addAll(new RegionPart("-glow"){{
drawRegion = false;

View File

@ -33,7 +33,7 @@ public class BeamDrill extends Block{
public int tier = 1;
public float laserWidth = 0.65f;
/** How many times faster the drill will progress when boosted by an optional consumer. */
public float optionalBoostIntensity = 2f; //TODO would be nice to change laser color when this is active.
public float optionalBoostIntensity = 2.5f; //TODO would be nice to change laser color when this is active.
public Color sparkColor = Color.valueOf("fd9e81"), glowColor = Color.white;
public float glowIntensity = 0.2f, pulseIntensity = 0.07f;