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
+2
View File
@@ -3608,6 +3608,7 @@ public class Blocks{
moveTime = 35f; moveTime = 35f;
canOverdrive = false; canOverdrive = false;
health = 800; health = 800;
researchCostMultiplier = 4f;
}}; }};
reinforcedPayloadRouter = new PayloadRouter("reinforced-payload-router"){{ reinforcedPayloadRouter = new PayloadRouter("reinforced-payload-router"){{
@@ -3615,6 +3616,7 @@ public class Blocks{
moveTime = 35f; moveTime = 35f;
health = 800; health = 800;
canOverdrive = false; canOverdrive = false;
researchCostMultiplier = 4f;
}}; }};
payloadMassDriver = new PayloadMassDriver("payload-mass-driver"){{ payloadMassDriver = new PayloadMassDriver("payload-mass-driver"){{
@@ -20,6 +20,8 @@ public class ErekirTechTree{
costMultipliers.put(Items.phaseFabric, 4); costMultipliers.put(Items.phaseFabric, 4);
costMultipliers.put(Items.thorium, 9); costMultipliers.put(Items.thorium, 9);
costMultipliers.put(Items.graphite, 9); costMultipliers.put(Items.graphite, 9);
//oxide is hard to make
costMultipliers.put(Items.oxide, 0.5f);
//TODO remove //TODO remove
Objective tmpNever = new Research(Items.fissileMatter); Objective tmpNever = new Research(Items.fissileMatter);
+1 -1
View File
@@ -119,7 +119,7 @@ public class Drawf{
} }
public static void dashLineDst(Color color, float x, float y, float x2, float y2){ 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){ public static void dashLine(Color color, float x, float y, float x2, float y2){
+1 -1
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. */ /** Clipping size of this block. Should be as large as the block will draw. */
public float clipSize = -1f; public float clipSize = -1f;
/** When placeRangeCheck is enabled, this is the range checked for enemy blocks. */ /** When placeRangeCheck is enabled, this is the range checked for enemy blocks. */
public float placeOverlapRange = 30f; public float placeOverlapRange = 60f;
/** Max of timers used. */ /** Max of timers used. */
public int timers = 0; public int timers = 0;
/** Cache layer. Only used for 'cached' rendering. */ /** Cache layer. Only used for 'cached' rendering. */
@@ -16,7 +16,7 @@ import static mindustry.Vars.*;
public class BaseTurret extends Block{ public class BaseTurret extends Block{
public float range = 80f; public float range = 80f;
public float placeOverlapMargin = 8 * 6f; public float placeOverlapMargin = 8 * 7f;
public float rotateSpeed = 5; public float rotateSpeed = 5;
public float coolantUsage = 0.2f; public float coolantUsage = 0.2f;