aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/Config.java
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2020-12-24 16:41:27 +0900
committersyeyoung <cyong06@naver.com>2020-12-24 16:41:27 +0900
commit21abe2f9ea26f17f6d332ca7bf3f4b0f044aa77a (patch)
treea0144c2f3bbeda1485c494a6e2c7d087cdfc008e /src/main/java/kr/syeyoung/dungeonsguide/Config.java
parent84011d2cc383aec605b13c2cfaa31e68d1af5604 (diff)
downloadSkyblock-Dungeons-Guide-21abe2f9ea26f17f6d332ca7bf3f4b0f044aa77a.tar.gz
Skyblock-Dungeons-Guide-21abe2f9ea26f17f6d332ca7bf3f4b0f044aa77a.tar.bz2
Skyblock-Dungeons-Guide-21abe2f9ea26f17f6d332ca7bf3f4b0f044aa77a.zip
TOOLTIPS
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/Config.java')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/Config.java12
1 files changed, 9 insertions, 3 deletions
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) {