Tech tree tweaks

This commit is contained in:
Anuken
2022-02-13 21:43:45 -05:00
parent 3ebdb5309e
commit 6c30f58507
5 changed files with 7 additions and 3 deletions

View File

@@ -3608,6 +3608,7 @@ public class Blocks{
moveTime = 35f;
canOverdrive = false;
health = 800;
researchCostMultiplier = 4f;
}};
reinforcedPayloadRouter = new PayloadRouter("reinforced-payload-router"){{
@@ -3615,6 +3616,7 @@ public class Blocks{
moveTime = 35f;
health = 800;
canOverdrive = false;
researchCostMultiplier = 4f;
}};
payloadMassDriver = new PayloadMassDriver("payload-mass-driver"){{

View File

@@ -20,6 +20,8 @@ public class ErekirTechTree{
costMultipliers.put(Items.phaseFabric, 4);
costMultipliers.put(Items.thorium, 9);
costMultipliers.put(Items.graphite, 9);
//oxide is hard to make
costMultipliers.put(Items.oxide, 0.5f);
//TODO remove
Objective tmpNever = new Research(Items.fissileMatter);

View File

@@ -119,7 +119,7 @@ public class Drawf{
}
public static void dashLineDst(Color color, float x, float y, float x2, float y2){
dashLine(color, x, y, x2, y2, (int)(Mathf.dst(x, y, x2, y2) / tilesize));
dashLine(color, x, y, x2, y2, (int)(Mathf.dst(x, y, x2, y2) / tilesize * 1.6f));
}
public static void dashLine(Color color, float x, float y, float x2, float y2){

View File

@@ -160,7 +160,7 @@ public class Block extends UnlockableContent implements Senseable{
/** Clipping size of this block. Should be as large as the block will draw. */
public float clipSize = -1f;
/** When placeRangeCheck is enabled, this is the range checked for enemy blocks. */
public float placeOverlapRange = 30f;
public float placeOverlapRange = 60f;
/** Max of timers used. */
public int timers = 0;
/** Cache layer. Only used for 'cached' rendering. */

View File

@@ -16,7 +16,7 @@ import static mindustry.Vars.*;
public class BaseTurret extends Block{
public float range = 80f;
public float placeOverlapMargin = 8 * 6f;
public float placeOverlapMargin = 8 * 7f;
public float rotateSpeed = 5;
public float coolantUsage = 0.2f;