aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Misc.java
diff options
context:
space:
mode:
authorRoman / Nea <roman.graef@gmail.com>2022-07-07 18:07:08 +0200
committerGitHub <noreply@github.com>2022-07-07 18:07:08 +0200
commita2ad09ee13cee2ef70268336b9df41368574f45a (patch)
treee813f2efc671941b8fe57c9b880aa5a2abb49c47 /src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Misc.java
parent1ed053c9a8bbbbbe9b34c61fcdcc1a43d78118fd (diff)
downloadnotenoughupdates-a2ad09ee13cee2ef70268336b9df41368574f45a.tar.gz
notenoughupdates-a2ad09ee13cee2ef70268336b9df41368574f45a.tar.bz2
notenoughupdates-a2ad09ee13cee2ef70268336b9df41368574f45a.zip
Added a calculator (#180)
* Added a calculator * Remove stuff * also add t * Update Misc.java * On by default * add x for multiplication, fixed - not working and quick math solver Co-authored-by: nopo <noahogno@gmail.com>
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Misc.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Misc.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Misc.java b/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Misc.java
index c0f4e8c9..08ae5745 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Misc.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Misc.java
@@ -215,4 +215,12 @@ public class Misc {
@ConfigEditorBoolean
public boolean warpTwice = true;
+ @Expose
+ @ConfigOption(
+ name = "Sign Calculator",
+ desc = "§7Replace calculations like §9\"1+2\"§7 with the calculation result in sign popups (AH/BZ)"
+ )
+ @ConfigEditorDropdown(values = {"Off", "Enabled with ! Prefix", "Always enabled"})
+ public int calculationMode = 2;
+
}