From a74cb9ce3bfb41d8e9951b302b9ff6e4db64d909 Mon Sep 17 00:00:00 2001 From: Tomas Slusny Date: Fri, 26 Oct 2018 23:09:34 +0200 Subject: [PATCH 1/2] Remove full clue description from CrypticClue This info is literally useless when we provide solution right below it and we do not do this for other types of clues. Signed-off-by: Tomas Slusny --- .../client/plugins/cluescrolls/clues/CrypticClue.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/cluescrolls/clues/CrypticClue.java b/runelite-client/src/main/java/net/runelite/client/plugins/cluescrolls/clues/CrypticClue.java index e89c72650b..8d652a043e 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/cluescrolls/clues/CrypticClue.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/cluescrolls/clues/CrypticClue.java @@ -338,11 +338,6 @@ public class CrypticClue extends ClueScroll implements TextClueScroll, NpcClueSc public void makeOverlayHint(PanelComponent panelComponent, ClueScrollPlugin plugin) { panelComponent.getChildren().add(TitleComponent.builder().text("Cryptic Clue").build()); - panelComponent.getChildren().add(LineComponent.builder().left("Clue:").build()); - panelComponent.getChildren().add(LineComponent.builder() - .left(getText()) - .leftColor(TITLED_CONTENT_COLOR) - .build()); if (getNpc() != null) { From 3a46b8efb2f905308ee09bfbda21d2923d36a0e0 Mon Sep 17 00:00:00 2001 From: Tomas Slusny Date: Fri, 26 Oct 2018 23:11:54 +0200 Subject: [PATCH 2/2] Remove full clue description for Hot/Cold clue This is not useful as the clue tells you to speak to Jorral to receive strange device right below. Signed-off-by: Tomas Slusny --- .../client/plugins/cluescrolls/clues/HotColdClue.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/cluescrolls/clues/HotColdClue.java b/runelite-client/src/main/java/net/runelite/client/plugins/cluescrolls/clues/HotColdClue.java index fd66bc2848..56e5be4e97 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/cluescrolls/clues/HotColdClue.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/cluescrolls/clues/HotColdClue.java @@ -100,14 +100,6 @@ public class HotColdClue extends ClueScroll implements LocationClueScroll, Locat // strange device has not been tested yet, show how to get it if (lastWorldPoint == null && location == null) { - panelComponent.getChildren().add(LineComponent.builder() - .left("Clue:") - .build()); - panelComponent.getChildren().add(LineComponent.builder() - .left(getText()) - .leftColor(TITLED_CONTENT_COLOR) - .build()); - if (getNpc() != null) { panelComponent.getChildren().add(LineComponent.builder() @@ -137,7 +129,6 @@ public class HotColdClue extends ClueScroll implements LocationClueScroll, Locat for (HotColdLocation hotColdLocation : digLocations) { - Rectangle2D r = hotColdLocation.getRect(); HotColdArea hotColdArea = hotColdLocation.getHotColdArea(); if (locationCounts.containsKey(hotColdArea))