Merge pull request #2880 from MESLewis/clue-plugin-overlay-text

Clue Scroll Plugin: Add wording to direct users to world map
This commit is contained in:
Tomas Slusny
2018-05-30 11:30:35 +02:00
committed by GitHub
2 changed files with 5 additions and 1 deletions

View File

@@ -54,7 +54,7 @@ public class CoordinateClue extends ClueScroll implements TextClueScroll, Locati
panelComponent.getChildren().add(TitleComponent.builder().text("Coordinate Clue").build());
panelComponent.getChildren().add(LineComponent.builder()
.left("Travel to the marked out destination to see a marker for where you should dig.")
.left("Click the clue scroll along the edge of your world map to see where you should dig.")
.build());
if (plugin.getEquippedItems() != null)

View File

@@ -108,6 +108,10 @@ public class MapClue extends ClueScroll implements ObjectClueScroll
{
panelComponent.getChildren().add(TitleComponent.builder().text("Map Clue").build());
panelComponent.getChildren().add(LineComponent.builder()
.left("Click the clue scroll along the edge of your world map to see your destination.")
.build());
if (objectId != -1)
{
ObjectComposition objectToClick = plugin.getClient().getObjectDefinition(getObjectId());