Bugfixes & balancing

This commit is contained in:
Anuken
2021-12-28 16:00:25 -05:00
parent ad42861daf
commit 4fa88296a7
20 changed files with 84 additions and 34 deletions

View File

@@ -121,7 +121,7 @@ public class Blocks{
duo, scatter, scorch, hail, arc, wave, lancer, swarmer, salvo, fuse, ripple, cyclone, foreshadow, spectre, meltdown, segment, parallax, tsunami,
//turrets - erekir
breach, sublimate, titan,
breach, sublimate, titan, afflict,
//units
commandCenter,
@@ -2266,7 +2266,7 @@ public class Blocks{
}};
cliffCrusher = new WallCrafter("cliff-crusher"){{
requirements(Category.production, with(Items.graphite, 20, Items.beryllium, 20));
requirements(Category.production, with(Items.graphite, 25, Items.beryllium, 20));
consumes.power(0.8f);
@@ -2282,7 +2282,7 @@ public class Blocks{
drillTime = 150f;
tier = 4;
size = 2;
range = 3;
range = 4;
consumes.liquid(Liquids.hydrogen, 0.25f / 60f).boost();
}};
@@ -2929,6 +2929,9 @@ public class Blocks{
);
//TODO no coolant?
coolantUsage = 10f / 60f;
coolantOverride = Liquids.water;
coolantMultiplier = 6f;
shootShake = 1f;
ammoPerShot = 6;
@@ -2997,6 +3000,7 @@ public class Blocks{
length = range;
}};
acceptCoolant = false;
scaledHealth = 320;
shootLength = 7f;
size = 3;
@@ -3045,7 +3049,8 @@ public class Blocks{
shootLength = 7f;
rotateSpeed = 2.5f;
acceptCoolant = false;
coolantUsage = 30f / 60f;
coolantOverride = Liquids.water;
draw = new DrawTurret("reinforced-"){{
parts.addAll(

View File

@@ -2,6 +2,7 @@ package mindustry.content;
import arc.struct.*;
import mindustry.game.Objectives.*;
import mindustry.type.*;
import static mindustry.content.Blocks.*;
import static mindustry.content.TechTree.*;
@@ -11,6 +12,13 @@ public class ErekirTechTree{
public static void load(){
Seq<Objective> erekirSector = Seq.with(new OnPlanet(Planets.erekir));
//TODO use these multipliers!
var costMultipliers = new ObjectFloatMap<Item>();
costMultipliers.put(Items.silicon, 4);
costMultipliers.put(Items.surgeAlloy, 4);
costMultipliers.put(Items.thorium, 6);
costMultipliers.put(Items.graphite, 5);
Planets.erekir.techTree = nodeRoot("erekir", coreBastion, true, () -> {
node(duct, () -> {
node(ductRouter, () -> {

View File

@@ -92,7 +92,7 @@ public class Items{
pyratite = new Item("pyratite", Color.valueOf("ffaa5f")){{
flammability = 1.4f;
explosiveness = 0.5f;
explosiveness = 0.4f;
}};
beryllium = new Item("beryllium", Color.valueOf("3a8f64")){{
@@ -113,7 +113,7 @@ public class Items{
}};
carbide = new Item("carbide", Color.valueOf("89769a")){{
cost = 1.6f;
cost = 1.4f;
healthScaling = 1.1f;
}};

View File

@@ -69,15 +69,14 @@ public class UnitTypes{
public static @EntityDef({Unitc.class, BlockUnitc.class}) UnitType block;
//special tethered (has payload capability, because it's necessary sometimes)
public static @EntityDef({Unitc.class, BuildingTetherc.class, Payloadc.class}) UnitType manifold, assemblyDrone, payloadDrone;
public static @EntityDef({Unitc.class, BuildingTetherc.class, Payloadc.class}) UnitType manifold, assemblyDrone;
//tank
//TODO tank comp
public static @EntityDef({Unitc.class, Tankc.class}) UnitType vanquish;
//endregion
//missile definition, needed for codegen
//missile definition, unused here but needed for codegen
public static @EntityDef({Unitc.class, TimedKillc.class}) UnitType missile;
//region neoplasm
@@ -2525,10 +2524,8 @@ public class UnitTypes{
y = 1f;
}});
float es = 3.9f;
setEnginesMirror(
new UnitEngine(62 / 4f, -60 / 4f, es, 315f),
new UnitEngine(62 / 4f, -60 / 4f, 3.9f, 315f),
new UnitEngine(72 / 4f, -29 / 4f, 3f, 315f)
);
}};