From d575ba663d62dc0845e1b64a608a31e4f132e6c1 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 8 Sep 2024 18:57:14 -0500 Subject: [PATCH] displayed maintenance for r8 tree no longer shows resource required --- .../net/client/msg/ManageCityAssetsMsg.java | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/src/engine/net/client/msg/ManageCityAssetsMsg.java b/src/engine/net/client/msg/ManageCityAssetsMsg.java index 41ffa1bf..eb0ce454 100644 --- a/src/engine/net/client/msg/ManageCityAssetsMsg.java +++ b/src/engine/net/client/msg/ManageCityAssetsMsg.java @@ -485,13 +485,7 @@ public class ManageCityAssetsMsg extends ClientNetMsg { writer.putInt(building.getRank()); - // Maintenance costs include resource if - // this structure is an R8 tree - - if (building.getRank() == 8) - writer.putInt(5); // Resources included - else - writer.putInt(1); // Gold only + writer.putInt(1); // Gold only writer.putInt(2308551); //Gold if (building.getBlueprint() == null) @@ -499,17 +493,6 @@ public class ManageCityAssetsMsg extends ClientNetMsg { else writer.putInt(building.getBlueprint().getMaintCost()); // maint cost - if (building.getRank() == 8) { - writer.putInt(74856115); // Stone - writer.putInt(1500); // maint cost - writer.putInt(-1603256692); // Lumber - writer.putInt(1500); // maint cost - writer.putInt(-1596311545); // Galvor - writer.putInt(5); // maint cost - writer.putInt(1532478436); // Wormwood - writer.putInt(5); // maint cost - } - LocalDateTime maintDate = building.maintDateTime; if (maintDate == null)