From a2da8f386108bd397fc725f8a03addcb2e15d802 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 26 May 2024 16:42:13 -0500 Subject: [PATCH] yet another attempt at mines --- src/engine/objects/Mine.java | 2 +- src/engine/objects/MineProduction.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/objects/Mine.java b/src/engine/objects/Mine.java index 42f96bff..94ddc3c7 100644 --- a/src/engine/objects/Mine.java +++ b/src/engine/objects/Mine.java @@ -218,7 +218,7 @@ public class Mine extends AbstractGameObject { writer.putInt(mine.getObjectUUID()); writer.putInt(mine.getObjectUUID()); //actually a hash of mine writer.putString(mine.mineType.name); - writer.putString(Mine.getMineNationality(mine.liveHour) + " {" + mine.capSize + " Man}"); + writer.putString(Mine.getMineNationality(mine.liveHour) + " " + mine.capSize + " Man "); writer.putInt(mine.production.hash); writer.putInt(mine.getModifiedProductionAmount()); writer.putInt(mine.getModifiedProductionAmount()); //TODO calculate range penalty here diff --git a/src/engine/objects/MineProduction.java b/src/engine/objects/MineProduction.java index a74e2fe7..a103c0a4 100644 --- a/src/engine/objects/MineProduction.java +++ b/src/engine/objects/MineProduction.java @@ -13,7 +13,7 @@ import java.util.HashMap; public enum MineProduction { - LUMBER("Universal Mine", new HashMap<>(), Resource.WORMWOOD, 1618637196, 1663491950), + LUMBER("Lumber Mine", new HashMap<>(), Resource.WORMWOOD, 1618637196, 1663491950), ORE("Ore Mine", new HashMap<>(), Resource.OBSIDIAN, 518103023, -788976428), GOLD("Gold Mine", new HashMap<>(), Resource.GALVOR, -662193002, -1227205358), MAGIC("Magic Mine", new HashMap<>(), Resource.BLOODSTONE, 504746863, -1753567069),