Skip to content

Commit 51c31a5

Browse files
committed
✏️ more stuff to config
1 parent 843190b commit 51c31a5

File tree

2 files changed

+22
-12
lines changed
  • src/main
    • java/one/devos/nautical/winterssummerfixes/config
    • resources/assets/winterssummerfixes/lang

2 files changed

+22
-12
lines changed

src/main/java/one/devos/nautical/winterssummerfixes/config/Config.java

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,39 @@
44

55
public class Config extends MidnightConfig {
66
public static String painAndSufferingAndSufferingAndPain = "I understand what I am doing will cause potential instabilities with Flashback. I will not report this to Flashback support. Praise Winter. Praise Moulberry. Praise Ishland.";
7+
public static final String limitsGrappleCategory = "limitsGrapple";
8+
public static final String flashbackCategory = "flashback";
9+
public static final String limitsGrappleModId = "limits_grapple";
10+
public static final String flashbackModId = "flashback";
711

8-
@Entry(category = "limitsGrapple", isColor = true)
12+
@Comment(category = limitsGrappleCategory)
13+
public static String limitsGrappleSwingColorWindowMissingWarning;
14+
15+
@Entry(category = limitsGrappleCategory, isColor = true, width = 7, min = 7)
16+
@Condition(requiredModId = limitsGrappleModId)
917
public static String limitsGrappleHitColor = "#3333ff";
1018

11-
@Entry(category = "limitsGrapple", isColor = true)
19+
@Entry(category = limitsGrappleCategory, isColor = true, width = 7, min = 7)
20+
@Condition(requiredModId = limitsGrappleModId)
1221
public static String limitsGrappleMissColor = "#99994c";
1322

14-
@Comment(category = "flashback")
15-
@Condition(requiredModId = "flashback")
23+
@Comment(category = flashbackCategory)
24+
@Condition(requiredModId = flashbackModId)
1625
public static String flashbackReplayForceAllowIncompatibleModsExtremeWarning;
1726

18-
@Comment(category = "flashback")
19-
@Condition(requiredModId = "flashback")
27+
@Comment(category = flashbackCategory)
28+
@Condition(requiredModId = flashbackModId)
2029
public static String flashbackSpacer;
2130

22-
@Comment(category = "flashback")
23-
@Condition(requiredModId = "flashback")
31+
@Comment(category = flashbackCategory)
32+
@Condition(requiredModId = flashbackModId)
2433
public static String flashbackReplayForceAllowIncompatibleModsExtremeWarning2;
2534

26-
@Comment(category = "flashback")
27-
@Condition(requiredModId = "flashback")
35+
@Comment(category = flashbackCategory)
36+
@Condition(requiredModId = flashbackModId)
2837
public static String flashbackSpacer2;
2938

30-
@Entry(category = "flashback")
31-
@Condition(requiredModId = "flashback")
39+
@Entry(category = flashbackCategory)
40+
@Condition(requiredModId = flashbackModId)
3241
public static String flashbackReplayForceAllowIncompatibleMods = "";
3342
}

src/main/resources/assets/winterssummerfixes/lang/en_us.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"winterssummerfixes.midnightconfig.title": "Winter's Summer Fixes",
33
"winterssummerfixes.midnightconfig.category.limitsGrapple" : "Limits' Grapple",
4+
"winterssummerfixes.midnightconfig.limitsGrappleSwingColorWindowMissingWarning": "If you click on the Color button, and a Swing Color Picker window doesn't open, nothing can be done about that, other than just typing out your hex color value manually. If you don't know the hex value of your color, just google `[color name] hex code`.",
45
"winterssummerfixes.midnightconfig.limitsGrappleHitColor": "Hit Color",
56
"winterssummerfixes.midnightconfig.limitsGrappleMissColor": "Miss Color",
67

0 commit comments

Comments
 (0)