diff options
| author | Roman / Nea <roman.graef@gmail.com> | 2022-05-06 16:13:36 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-06 16:13:36 +0200 |
| commit | 1ca41f88d7729d9279df71cd186ff86f22e7d515 (patch) | |
| tree | 1809b7d4719c9e91d441be6fcffded012d03f3d1 /src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Misc.java | |
| parent | ead065aa1303acc3f6834bcfceb77242702b5622 (diff) | |
| download | notenoughupdates-1ca41f88d7729d9279df71cd186ff86f22e7d515.tar.gz notenoughupdates-1ca41f88d7729d9279df71cd186ff86f22e7d515.tar.bz2 notenoughupdates-1ca41f88d7729d9279df71cd186ff86f22e7d515.zip | |
Item Shop Recipes (#118)
* first draft of item shop PR
* add teleporter navigation because i can
* fix teleporter navigation because apparently i cant
* navigation gui basics
* :pushpin: and removed some unused shit and added myself to devtest command
* track / untrack + ery texture
Co-Authored-By: RayDeeUx <51521765+RayDeeUx@users.noreply.github.com>
* consoom the event
* fix crash in ItemShopRecipe.java + fetch repository
* i am so sorry jani
* on second thought, this entire thing was a bit untested
* more recipe stuff
* make navigation actually good
* make pins dissapear if you not a waypoint
* npc parsing
* save file
* different file saving
* remove message
* Warping... (to deez nuts)
* move shit around
Co-authored-by: jani270 <jani270@gmx.de>
Co-authored-by: RayDeeUx <51521765+RayDeeUx@users.noreply.github.com>
Co-authored-by: Lulonaut <lulonaut@tutanota.de>
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.java | 35 |
1 files changed, 34 insertions, 1 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 631ce545..a04a51f9 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 @@ -1,7 +1,15 @@ package io.github.moulberry.notenoughupdates.options.seperateSections; import com.google.gson.annotations.Expose; -import io.github.moulberry.notenoughupdates.core.config.annotations.*; +import io.github.moulberry.notenoughupdates.core.config.annotations.ConfigAccordionId; +import io.github.moulberry.notenoughupdates.core.config.annotations.ConfigEditorAccordion; +import io.github.moulberry.notenoughupdates.core.config.annotations.ConfigEditorBoolean; +import io.github.moulberry.notenoughupdates.core.config.annotations.ConfigEditorButton; +import io.github.moulberry.notenoughupdates.core.config.annotations.ConfigEditorDropdown; +import io.github.moulberry.notenoughupdates.core.config.annotations.ConfigEditorKeybind; +import io.github.moulberry.notenoughupdates.core.config.annotations.ConfigEditorSlider; +import io.github.moulberry.notenoughupdates.core.config.annotations.ConfigOption; +import org.lwjgl.input.Keyboard; public class Misc { @Expose @@ -163,4 +171,29 @@ public class Misc { "Fandom" }) public int wiki = 0; + + @Expose + @ConfigOption( + name = "Waypoint Keybind", + desc = "Press this keybind to show waypoints to various NPCs" + ) + @ConfigEditorKeybind(defaultKey = Keyboard.KEY_N) + public int keybindWaypoint = Keyboard.KEY_N; + + @Expose + @ConfigOption( + name = "Untrack close Waypoints", + desc = "Automatically untrack waypoints once you get close to them." + ) + @ConfigEditorBoolean + public boolean untrackCloseWaypoints = true; + + @Expose + @ConfigOption( + name = "Warp twice", + desc = "Warp twice when using SHIFT+N to /warp to a waypoint." + ) + @ConfigEditorBoolean + public boolean warpTwice = true; + } |
