From 21abe2f9ea26f17f6d332ca7bf3f4b0f044aa77a Mon Sep 17 00:00:00 2001 From: syeyoung Date: Thu, 24 Dec 2020 16:41:27 +0900 Subject: TOOLTIPS --- src/main/java/kr/syeyoung/dungeonsguide/Config.java | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/main/java/kr/syeyoung/dungeonsguide/Config.java') diff --git a/src/main/java/kr/syeyoung/dungeonsguide/Config.java b/src/main/java/kr/syeyoung/dungeonsguide/Config.java index 03bd2396..eec433f9 100644 --- a/src/main/java/kr/syeyoung/dungeonsguide/Config.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/Config.java @@ -6,8 +6,9 @@ import net.minecraftforge.common.config.Property; public class Config { public static Configuration configuration; - public static final String CATEGORY_ADVANCED = "advanced"; - public static final String CATEGORY_PUZZLE_SOLVER = "solver"; + public static final String CATEGORY_ADVANCED = "Advanced"; + public static final String CATEGORY_PUZZLE_SOLVER = "Solver"; + public static final String CATEGORY_QOL = "Tooltips"; public static boolean DEBUG = true; @@ -22,6 +23,10 @@ public class Config { public static boolean solver_creeper; public static boolean solver_teleport; + + public static boolean itemtooltip_dungeonstat; + public static boolean itemtooltip_price; + public static void syncConfig(boolean load) { // Gets called from preInit try { // Load config @@ -40,7 +45,8 @@ public class Config { solver_waterpuzzle = configuration.get(Config.CATEGORY_PUZZLE_SOLVER, "water", "true", "Water puzzle solver", Property.Type.BOOLEAN).getBoolean(); solver_box = configuration.get(Config.CATEGORY_PUZZLE_SOLVER, "box", "true", "Box puzzle solver", Property.Type.BOOLEAN).getBoolean(); - + itemtooltip_dungeonstat = configuration.get(Config.CATEGORY_QOL, "dungeonstat", "true", "Show what floor dungeon item was obtained", Property.Type.BOOLEAN).getBoolean(); + itemtooltip_price = configuration.get(Config.CATEGORY_QOL, "price", "true", "Show prices of any item", Property.Type.BOOLEAN).getBoolean(); DEBUG = configuration.get(Config.CATEGORY_ADVANCED, "debug","false", "Enable debug mode", Property.Type.BOOLEAN).getBoolean(); // Comment } catch (Exception e) { -- cgit