mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
- Add a Quest Preference for Item Level Restriction, defaulting to enabled (1).
This commit is contained in:
@@ -234,6 +234,9 @@ public class QuestPreferencesHandler extends SkinnedPanel {
|
||||
pnlShop.add(new FLabel.Builder().text("Rare Singles").build(), constraints2);
|
||||
pnlShop.add(new PrefInput(QPref.SHOP_SINGLES_RARE, ErrType.SHOP), constraints1);
|
||||
|
||||
pnlShop.add(new FLabel.Builder().text("Item Level Restriction").build(), constraints2);
|
||||
pnlShop.add(new PrefInput(QPref.ITEM_LEVEL_RESTRICTION, ErrType.SHOP), constraints1);
|
||||
|
||||
constraints1 = "w 100%!, gap 0 0 20px 0";
|
||||
this.add(pnlRewards, constraints1);
|
||||
this.add(pnlDifficulty, constraints1);
|
||||
|
||||
@@ -371,6 +371,9 @@ public enum VSubmenuQuestPrefs implements IVSubmenu<CSubmenuQuestPrefs> {
|
||||
|
||||
pnlShop.add(new FLabel.Builder().text("Rare Singles").fontAlign(SwingConstants.RIGHT).build(), constraints2);
|
||||
pnlShop.add(new PrefInput(QPref.SHOP_SINGLES_RARE, QuestPreferencesErrType.SHOP), constraints1);
|
||||
|
||||
pnlShop.add(new FLabel.Builder().text("Item Level Restriction").fontAlign(SwingConstants.RIGHT).build(), constraints2);
|
||||
pnlShop.add(new PrefInput(QPref.ITEM_LEVEL_RESTRICTION, QuestPreferencesErrType.SHOP), constraints1);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user