Minor bugfixes & requirement tweaks
This commit is contained in:
@@ -4435,7 +4435,7 @@ public class Blocks{
|
|||||||
}};
|
}};
|
||||||
|
|
||||||
smite = new ItemTurret("smite"){{
|
smite = new ItemTurret("smite"){{
|
||||||
requirements(Category.turret, with(Items.beryllium, 150, Items.silicon, 150, Items.carbide, 250, Items.phaseFabric, 100));
|
requirements(Category.turret, with(Items.oxide, 200, Items.surgeAlloy, 400, Items.silicon, 800, Items.carbide, 500, Items.phaseFabric, 300));
|
||||||
|
|
||||||
ammo(
|
ammo(
|
||||||
//this is really lazy
|
//this is really lazy
|
||||||
@@ -4701,7 +4701,7 @@ public class Blocks{
|
|||||||
}};
|
}};
|
||||||
|
|
||||||
malign = new PowerTurret("malign"){{
|
malign = new PowerTurret("malign"){{
|
||||||
requirements(Category.turret, with(Items.beryllium, 150, Items.silicon, 150, Items.graphite, 250, Items.phaseFabric, 300));
|
requirements(Category.turret, with(Items.carbide, 400, Items.beryllium, 2000, Items.silicon, 800, Items.graphite, 800, Items.phaseFabric, 300));
|
||||||
|
|
||||||
var haloProgress = PartProgress.warmup;
|
var haloProgress = PartProgress.warmup;
|
||||||
Color haloColor = Color.valueOf("d370d3"), heatCol = Color.purple;
|
Color haloColor = Color.valueOf("d370d3"), heatCol = Color.purple;
|
||||||
@@ -4756,7 +4756,7 @@ public class Blocks{
|
|||||||
sideAngle = 175f;
|
sideAngle = 175f;
|
||||||
sideWidth = 1f;
|
sideWidth = 1f;
|
||||||
sideLength = 40f;
|
sideLength = 40f;
|
||||||
lifetime = 16f;
|
lifetime = 22f;
|
||||||
drawSize = 400f;
|
drawSize = 400f;
|
||||||
length = 180f;
|
length = 180f;
|
||||||
pierceCap = 2;
|
pierceCap = 2;
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ import arc.graphics.g2d.*;
|
|||||||
import arc.scene.*;
|
import arc.scene.*;
|
||||||
import arc.scene.ui.*;
|
import arc.scene.ui.*;
|
||||||
import arc.scene.ui.layout.*;
|
import arc.scene.ui.layout.*;
|
||||||
|
import arc.util.*;
|
||||||
import mindustry.graphics.*;
|
import mindustry.graphics.*;
|
||||||
|
|
||||||
public class ReqImage extends Stack{
|
public class ReqImage extends Stack{
|
||||||
@@ -30,7 +31,7 @@ public class ReqImage extends Stack{
|
|||||||
}
|
}
|
||||||
|
|
||||||
public ReqImage(TextureRegion region, Boolp valid){
|
public ReqImage(TextureRegion region, Boolp valid){
|
||||||
this(new Image(region), valid);
|
this(new Image(region).setScaling(Scaling.fit), valid);
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean valid(){
|
public boolean valid(){
|
||||||
|
|||||||
Reference in New Issue
Block a user