/*
* Copyright (C) 2022 NotEnoughUpdates contributors
*
* This file is part of NotEnoughUpdates.
*
* NotEnoughUpdates is free software: you can redistribute it
* and/or modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* NotEnoughUpdates is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with NotEnoughUpdates. If not, see .
*/
package io.github.moulberry.notenoughupdates.options.separatesections;
import com.google.gson.annotations.Expose;
import io.github.moulberry.moulconfig.annotations.ConfigEditorInfoText;
import io.github.moulberry.notenoughupdates.core.config.Position;
import io.github.moulberry.moulconfig.annotations.ConfigEditorBoolean;
import io.github.moulberry.moulconfig.annotations.ConfigEditorDraggableList;
import io.github.moulberry.moulconfig.annotations.ConfigEditorDropdown;
import io.github.moulberry.moulconfig.annotations.ConfigOption;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public class SlayerOverlay {
@Expose
@ConfigOption(
name = "\u00A7cWarning",
desc = "You may have to do 2 bosses before everything shows"
)
@ConfigEditorInfoText()
public boolean slayerWarning = false;
@Expose
@ConfigOption(
name = "Enable Slayer Overlay",
desc = "Toggles the slayer overlay"
)
@ConfigEditorBoolean
public boolean slayerOverlay = false;
@Expose
@ConfigOption(
name = "Only show when relevant",
desc = "Only shows the overlay when you are in an area where your current Slayer can be completed"
)
@ConfigEditorBoolean
public boolean onlyShowWhenRelevant = true;
@Expose
@ConfigOption(
name = "Slayer Text",
desc = "\u00a7eDrag text to change the appearance of the overlay"
)
@ConfigEditorDraggableList(
exampleText = {
"\u00a7eSlayer: \u00a74Sven",
"\u00a7eRNG Meter: \u00a75100%",
"\u00a7eLvl: \u00a7d7",
"\u00a7eKill time: \u00a7c1:30",
"\u00a7eXP: \u00a7d75,450/100,000",
"\u00a7eBosses till next Lvl: \u00a7d17",
"\u00a7eAverage kill time: \u00a7c3:20"
}
)
public List slayerText = new ArrayList<>(Arrays.asList(0, 1, 4, 5, 3, 6));
@Expose
public Position slayerPosition = new Position(10, 200);
@Expose
@ConfigOption(
name = "Slayer Style",
desc = "Change the style of the Slayer overlay"
)
@ConfigEditorDropdown(
values = {"Background", "No Shadow", "Shadow", "Full Shadow"}
)
public int slayerStyle = 0;
}