From bdd404aff3a6fd1f83dc7af12c05d2484a54b7f0 Mon Sep 17 00:00:00 2001 From: = Date: Wed, 3 Apr 2024 21:58:42 -0300 Subject: [PATCH] mining updates --- src/sw/content/SWBlocks.java | 4 ++-- src/sw/content/SWItems.java | 8 ++++++-- src/sw/content/SWUnitTypes.java | 6 +++++- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/src/sw/content/SWBlocks.java b/src/sw/content/SWBlocks.java index 7149be9..0be4f2a 100644 --- a/src/sw/content/SWBlocks.java +++ b/src/sw/content/SWBlocks.java @@ -81,7 +81,7 @@ public static void load() { health = 160; glowIntensity = pulseIntensity = 0f; drillTime = 160f; - tier = 3; + tier = 1; range = 5; boostHeatColor = Color.black; optionalBoostIntensity = 1f; @@ -113,7 +113,7 @@ public static void load() { ); size = 2; health = 160; - tier = 3; + tier = 2; drillTime = 400; }}; // endregion diff --git a/src/sw/content/SWItems.java b/src/sw/content/SWItems.java index 24b858f..c4e4af8 100644 --- a/src/sw/content/SWItems.java +++ b/src/sw/content/SWItems.java @@ -10,8 +10,12 @@ public class SWItems { denseAlloy, thermite, scorch; public static void load() { - nickel = new Item("nickel", Color.valueOf("CCD4D9")); - iron = new Item("iron", Color.valueOf("646485")); + nickel = new Item("nickel", Color.valueOf("CCD4D9")) {{ + hardness = 1; + }}; + iron = new Item("iron", Color.valueOf("646485")) {{ + hardness = 2; + }}; arsenic = new Item("arsenic", Color.valueOf("857164")); compound = new Item("compound", Color.valueOf("515151")); diff --git a/src/sw/content/SWUnitTypes.java b/src/sw/content/SWUnitTypes.java index e9cff8e..fbb924b 100644 --- a/src/sw/content/SWUnitTypes.java +++ b/src/sw/content/SWUnitTypes.java @@ -1014,14 +1014,18 @@ public static void load() { range = maxRange = 100; engineSize = engineOffset = shadowElevationScl = 0f; fallSpeed = buildSpeed = 1f; + mineTier = 1; + mineSpeed = 5; coreUnitDock = lowAltitude = true; //shocking flying = true; legCount = 8; legGroupSize = 2; - legLength = 15f; legForwardScl = 0f; + legBaseOffset = 4f; + legExtension = -2f; + legLength = 14f; legContinuousMove = true; constructor = UnitLegsIntangible::create;