Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -3740,21 +3740,22 @@ public class Blocks{
|
|||||||
salvo = new ItemTurret("salvo"){{
|
salvo = new ItemTurret("salvo"){{
|
||||||
requirements(Category.turret, with(Items.copper, 100, Items.graphite, 80, Items.titanium, 50));
|
requirements(Category.turret, with(Items.copper, 100, Items.graphite, 80, Items.titanium, 50));
|
||||||
ammo(
|
ammo(
|
||||||
Items.copper, new BasicBulletType(2.5f, 11){{
|
Items.copper, new BasicBulletType(2.5f, 15){{
|
||||||
width = 7f;
|
width = 7f;
|
||||||
height = 9f;
|
height = 9f;
|
||||||
lifetime = 60f;
|
lifetime = 60f;
|
||||||
ammoMultiplier = 2;
|
ammoMultiplier = 4;
|
||||||
|
|
||||||
hitEffect = despawnEffect = Fx.hitBulletColor;
|
hitEffect = despawnEffect = Fx.hitBulletColor;
|
||||||
hitColor = backColor = trailColor = Pal.copperAmmoBack;
|
hitColor = backColor = trailColor = Pal.copperAmmoBack;
|
||||||
frontColor = Pal.copperAmmoFront;
|
frontColor = Pal.copperAmmoFront;
|
||||||
}},
|
}},
|
||||||
Items.graphite, new BasicBulletType(3.5f, 20){{
|
Items.graphite, new BasicBulletType(3.5f, 31){{
|
||||||
width = 9f;
|
width = 9f;
|
||||||
height = 12f;
|
height = 12f;
|
||||||
ammoMultiplier = 4;
|
ammoMultiplier = 4;
|
||||||
lifetime = 60f;
|
lifetime = 60f;
|
||||||
|
reloadMultiplier = 0.8f;
|
||||||
|
|
||||||
rangeChange = 4f * 8f;
|
rangeChange = 4f * 8f;
|
||||||
|
|
||||||
@@ -3762,7 +3763,7 @@ public class Blocks{
|
|||||||
hitColor = backColor = trailColor = Pal.graphiteAmmoBack;
|
hitColor = backColor = trailColor = Pal.graphiteAmmoBack;
|
||||||
frontColor = Pal.graphiteAmmoFront;
|
frontColor = Pal.graphiteAmmoFront;
|
||||||
}},
|
}},
|
||||||
Items.pyratite, new BasicBulletType(3.2f, 18){{
|
Items.pyratite, new BasicBulletType(3.2f, 25){{
|
||||||
width = 10f;
|
width = 10f;
|
||||||
height = 12f;
|
height = 12f;
|
||||||
frontColor = hitColor = Pal.lightishOrange;
|
frontColor = hitColor = Pal.lightishOrange;
|
||||||
@@ -3772,13 +3773,13 @@ public class Blocks{
|
|||||||
|
|
||||||
ammoMultiplier = 5;
|
ammoMultiplier = 5;
|
||||||
|
|
||||||
splashDamage = 12f;
|
splashDamage = 15f;
|
||||||
splashDamageRadius = 22f;
|
splashDamageRadius = 22f;
|
||||||
|
|
||||||
makeFire = true;
|
makeFire = true;
|
||||||
lifetime = 60f;
|
lifetime = 60f;
|
||||||
}},
|
}},
|
||||||
Items.silicon, new BasicBulletType(3f, 15, "bullet"){{
|
Items.silicon, new BasicBulletType(3f, 23, "bullet"){{
|
||||||
width = 8f;
|
width = 8f;
|
||||||
height = 10f;
|
height = 10f;
|
||||||
homingPower = 0.2f;
|
homingPower = 0.2f;
|
||||||
@@ -3792,13 +3793,14 @@ public class Blocks{
|
|||||||
hitColor = backColor = trailColor = Pal.siliconAmmoBack;
|
hitColor = backColor = trailColor = Pal.siliconAmmoBack;
|
||||||
frontColor = Pal.siliconAmmoFront;
|
frontColor = Pal.siliconAmmoFront;
|
||||||
}},
|
}},
|
||||||
Items.thorium, new BasicBulletType(4f, 29, "bullet"){{
|
Items.thorium, new BasicBulletType(4f, 28, "bullet"){{
|
||||||
width = 8f;
|
width = 8f;
|
||||||
height = 13f;
|
height = 13f;
|
||||||
shootEffect = Fx.shootBig;
|
shootEffect = Fx.shootBig;
|
||||||
smokeEffect = Fx.shootBigSmoke;
|
smokeEffect = Fx.shootBigSmoke;
|
||||||
ammoMultiplier = 4;
|
ammoMultiplier = 4;
|
||||||
lifetime = 60f;
|
lifetime = 60f;
|
||||||
|
armorMultiplier = 0.8f;
|
||||||
|
|
||||||
hitEffect = despawnEffect = Fx.hitBulletColor;
|
hitEffect = despawnEffect = Fx.hitBulletColor;
|
||||||
backColor = hitColor = trailColor = Pal.thoriumAmmoBack;
|
backColor = hitColor = trailColor = Pal.thoriumAmmoBack;
|
||||||
@@ -3822,7 +3824,7 @@ public class Blocks{
|
|||||||
|
|
||||||
size = 2;
|
size = 2;
|
||||||
range = 190f;
|
range = 190f;
|
||||||
reload = 31f;
|
reload = 29f;
|
||||||
consumeAmmoOnce = false;
|
consumeAmmoOnce = false;
|
||||||
ammoEjectBack = 3f;
|
ammoEjectBack = 3f;
|
||||||
recoil = 0f;
|
recoil = 0f;
|
||||||
|
|||||||
@@ -382,7 +382,7 @@ public class PayloadMassDriver extends PayloadBlock{
|
|||||||
Drawf.shadow(region, tx - (size / 2f), ty - (size / 2f), r);
|
Drawf.shadow(region, tx - (size / 2f), ty - (size / 2f), r);
|
||||||
|
|
||||||
Tmp.v1.trns(turretRotation, 0, -(curSize/2f - grabWidth));
|
Tmp.v1.trns(turretRotation, 0, -(curSize/2f - grabWidth));
|
||||||
Tmp.v2.trns(rotation, -Math.max(curSize/2f - grabHeight - length, 0f), 0f);
|
Tmp.v2.trns(turretRotation, -Math.max(curSize/2f - grabHeight - length, 0f), 0f);
|
||||||
float rx = tx + Tmp.v1.x + Tmp.v2.x, ry = ty + Tmp.v1.y + Tmp.v2.y;
|
float rx = tx + Tmp.v1.x + Tmp.v2.x, ry = ty + Tmp.v1.y + Tmp.v2.y;
|
||||||
float lx = tx - Tmp.v1.x + Tmp.v2.x, ly = ty - Tmp.v1.y + Tmp.v2.y;
|
float lx = tx - Tmp.v1.x + Tmp.v2.x, ly = ty - Tmp.v1.y + Tmp.v2.y;
|
||||||
|
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ public class ThermalGenerator extends PowerGenerator{
|
|||||||
super.drawPlace(x, y, rotation, valid);
|
super.drawPlace(x, y, rotation, valid);
|
||||||
|
|
||||||
if(displayEfficiency){
|
if(displayEfficiency){
|
||||||
drawPlaceText(Core.bundle.formatFloat("bar.efficiency", sumAttribute(attribute, x, y) * 100, 1), x, y, valid);
|
drawPlaceText(Core.bundle.formatFloat("bar.efficiency", sumAttribute(attribute, x, y) * 100 * displayEfficiencyScale, 1), x, y, valid);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user