mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
Change quest difficulties
This commit is contained in:
@@ -87,10 +87,10 @@ public class QuestFileLister extends JPanel {
|
|||||||
this.add(rowTitle, "w 98%!, h 30px!, gapleft 1%");
|
this.add(rowTitle, "w 98%!, h 30px!, gapleft 1%");
|
||||||
|
|
||||||
Map<Integer, String> difficultyNameMap = new HashMap<>();
|
Map<Integer, String> difficultyNameMap = new HashMap<>();
|
||||||
difficultyNameMap.put(0, Localizer.getInstance().getMessage("rbEasy"));
|
difficultyNameMap.put(0, Localizer.getInstance().getMessage("questDifficultyEasy"));
|
||||||
difficultyNameMap.put(1, Localizer.getInstance().getMessage("rbMedium"));
|
difficultyNameMap.put(1, Localizer.getInstance().getMessage("questDifficultyMedium"));
|
||||||
difficultyNameMap.put(2, Localizer.getInstance().getMessage("rbHard"));
|
difficultyNameMap.put(2, Localizer.getInstance().getMessage("questDifficultyHard"));
|
||||||
difficultyNameMap.put(3, Localizer.getInstance().getMessage("rbExpert"));
|
difficultyNameMap.put(3, Localizer.getInstance().getMessage("questDifficultyExpert"));
|
||||||
|
|
||||||
RowPanel row;
|
RowPanel row;
|
||||||
String mode;
|
String mode;
|
||||||
|
|||||||
@@ -228,10 +228,10 @@ public enum VSubmenuQuestPrefs implements IVSubmenu<CSubmenuQuestPrefs> {
|
|||||||
pnlDifficulty.removeAll();
|
pnlDifficulty.removeAll();
|
||||||
pnlDifficulty.add(lblErrDifficulty, "w 100%!, h 30px!, span 5 1");
|
pnlDifficulty.add(lblErrDifficulty, "w 100%!, h 30px!, span 5 1");
|
||||||
pnlDifficulty.add(new FLabel.Builder().text("").build(), labelConstraints);
|
pnlDifficulty.add(new FLabel.Builder().text("").build(), labelConstraints);
|
||||||
pnlDifficulty.add(new FLabel.Builder().text(localizer.getMessage("lblEasy")).build(), fieldConstraints);
|
pnlDifficulty.add(new FLabel.Builder().text(localizer.getMessage("questDifficultyEasy")).build(), fieldConstraints);
|
||||||
pnlDifficulty.add(new FLabel.Builder().text(localizer.getMessage("lblMedium")).build(), fieldConstraints);
|
pnlDifficulty.add(new FLabel.Builder().text(localizer.getMessage("questDifficultyMedium")).build(), fieldConstraints);
|
||||||
pnlDifficulty.add(new FLabel.Builder().text(localizer.getMessage("lblHard")).build(), fieldConstraints);
|
pnlDifficulty.add(new FLabel.Builder().text(localizer.getMessage("questDifficultyHard")).build(), fieldConstraints);
|
||||||
pnlDifficulty.add(new FLabel.Builder().text(localizer.getMessage("lblExpert")).build(), fieldConstraints);
|
pnlDifficulty.add(new FLabel.Builder().text(localizer.getMessage("questDifficultyExpert")).build(), fieldConstraints);
|
||||||
pnlDifficulty.add(new FLabel.Builder().text(localizer.getMessage("lblWinsforBooster")).fontAlign(SwingConstants.RIGHT).build(), labelConstraints);
|
pnlDifficulty.add(new FLabel.Builder().text(localizer.getMessage("lblWinsforBooster")).fontAlign(SwingConstants.RIGHT).build(), labelConstraints);
|
||||||
pnlDifficulty.add(new PrefInput(QPref.WINS_BOOSTER_EASY, QuestPreferencesErrType.DIFFICULTY), fieldConstraints);
|
pnlDifficulty.add(new PrefInput(QPref.WINS_BOOSTER_EASY, QuestPreferencesErrType.DIFFICULTY), fieldConstraints);
|
||||||
pnlDifficulty.add(new PrefInput(QPref.WINS_BOOSTER_MEDIUM, QuestPreferencesErrType.DIFFICULTY), fieldConstraints);
|
pnlDifficulty.add(new PrefInput(QPref.WINS_BOOSTER_MEDIUM, QuestPreferencesErrType.DIFFICULTY), fieldConstraints);
|
||||||
|
|||||||
@@ -48,10 +48,10 @@ public enum VSubmenuQuestStart implements IVSubmenu<CSubmenuQuestStart> {
|
|||||||
private final JPanel pnlOptions = new JPanel();
|
private final JPanel pnlOptions = new JPanel();
|
||||||
|
|
||||||
/* First column */
|
/* First column */
|
||||||
private final FRadioButton radEasy = new FRadioButton(localizer.getMessage("rbEasy"));
|
private final FRadioButton radEasy = new FRadioButton(localizer.getMessage("questDifficultyEasy"));
|
||||||
private final FRadioButton radMedium = new FRadioButton(localizer.getMessage("rbMedium"));
|
private final FRadioButton radMedium = new FRadioButton(localizer.getMessage("questDifficultyMedium"));
|
||||||
private final FRadioButton radHard = new FRadioButton(localizer.getMessage("rbHard"));
|
private final FRadioButton radHard = new FRadioButton(localizer.getMessage("questDifficultyHard"));
|
||||||
private final FRadioButton radExpert = new FRadioButton(localizer.getMessage("rbExpert"));
|
private final FRadioButton radExpert = new FRadioButton(localizer.getMessage("questDifficultyExpert"));
|
||||||
private final FCheckBox boxFantasy = new FCheckBox(localizer.getMessage("rbFantasyMode"));
|
private final FCheckBox boxFantasy = new FCheckBox(localizer.getMessage("rbFantasyMode"));
|
||||||
private final FCheckBox boxCommander = new FCheckBox(localizer.getMessage("rbCommanderSubformat"));
|
private final FCheckBox boxCommander = new FCheckBox(localizer.getMessage("rbCommanderSubformat"));
|
||||||
|
|
||||||
|
|||||||
@@ -78,7 +78,6 @@ import forge.game.spellability.SpellAbilityStackInstance;
|
|||||||
import forge.game.spellability.SpellAbilityView;
|
import forge.game.spellability.SpellAbilityView;
|
||||||
import forge.game.spellability.StackItemView;
|
import forge.game.spellability.StackItemView;
|
||||||
import forge.game.spellability.TargetChoices;
|
import forge.game.spellability.TargetChoices;
|
||||||
import forge.game.zone.Zone;
|
|
||||||
import forge.game.zone.ZoneType;
|
import forge.game.zone.ZoneType;
|
||||||
import forge.gui.FNetOverlay;
|
import forge.gui.FNetOverlay;
|
||||||
import forge.gui.GuiChoose;
|
import forge.gui.GuiChoose;
|
||||||
|
|||||||
@@ -131,8 +131,8 @@ public class NewQuestScreen extends FScreen {
|
|||||||
@SuppressWarnings("unused")
|
@SuppressWarnings("unused")
|
||||||
private final FLabel lblDifficulty = scroller.add(new FLabel.Builder().text(Localizer.getInstance().getMessage("lblDifficulty") + ":").build());
|
private final FLabel lblDifficulty = scroller.add(new FLabel.Builder().text(Localizer.getInstance().getMessage("lblDifficulty") + ":").build());
|
||||||
private final FComboBox<String> cbxDifficulty = scroller.add(new FComboBox<>(new String[]{
|
private final FComboBox<String> cbxDifficulty = scroller.add(new FComboBox<>(new String[]{
|
||||||
Localizer.getInstance().getMessage("rbEasy"), Localizer.getInstance().getMessage("rbMedium"),
|
Localizer.getInstance().getMessage("questDifficultyEasy"), Localizer.getInstance().getMessage("questDifficultyMedium"),
|
||||||
Localizer.getInstance().getMessage("rbHard"), Localizer.getInstance().getMessage("rbExpert")
|
Localizer.getInstance().getMessage("questDifficultyHard"), Localizer.getInstance().getMessage("questDifficultyExpert")
|
||||||
}));
|
}));
|
||||||
|
|
||||||
@SuppressWarnings("unused")
|
@SuppressWarnings("unused")
|
||||||
|
|||||||
@@ -450,10 +450,10 @@ lblQuestData=Quest Daten
|
|||||||
lblLoadQuestData=Lade Quest-Daten
|
lblLoadQuestData=Lade Quest-Daten
|
||||||
lblStartanewQuest=Starte neue Quest
|
lblStartanewQuest=Starte neue Quest
|
||||||
lblOldQuestData=Alte Questdaten? Kopiere sie nach %s und starte Forge neu.
|
lblOldQuestData=Alte Questdaten? Kopiere sie nach %s und starte Forge neu.
|
||||||
rbEasy=Einfach
|
questDifficultyEasy=Einfach
|
||||||
rbMedium=Mittel
|
questDifficultyMedium=Mittel
|
||||||
rbHard=Hart
|
questDifficultyHard=Hart
|
||||||
rbExpert=Experte
|
questDifficultyExpert=Experte
|
||||||
rbFantasyMode=Fantasy Modus
|
rbFantasyMode=Fantasy Modus
|
||||||
rbCommanderSubformat=Commander Subformat
|
rbCommanderSubformat=Commander Subformat
|
||||||
lblStartingWorld=Startwelt
|
lblStartingWorld=Startwelt
|
||||||
|
|||||||
@@ -450,10 +450,10 @@ lblQuestData=Quest Data
|
|||||||
lblLoadQuestData=Load Quest Data
|
lblLoadQuestData=Load Quest Data
|
||||||
lblStartanewQuest=Start Quest
|
lblStartanewQuest=Start Quest
|
||||||
lblOldQuestData=Old quest data? Put into %s and restart Forge.
|
lblOldQuestData=Old quest data? Put into %s and restart Forge.
|
||||||
rbEasy=Easy
|
questDifficultyEasy=Novice
|
||||||
rbMedium=Medium
|
questDifficultyMedium=Trained
|
||||||
rbHard=Hard
|
questDifficultyHard=Full
|
||||||
rbExpert=Expert
|
questDifficultyExpert=Master
|
||||||
rbFantasyMode=Fantasy Mode
|
rbFantasyMode=Fantasy Mode
|
||||||
rbCommanderSubformat=Commander Subformat
|
rbCommanderSubformat=Commander Subformat
|
||||||
lblStartingWorld=Starting World
|
lblStartingWorld=Starting World
|
||||||
|
|||||||
@@ -450,10 +450,10 @@ lblQuestData=Datos de Aventura
|
|||||||
lblLoadQuestData=Cargar Datos de Aventura
|
lblLoadQuestData=Cargar Datos de Aventura
|
||||||
lblStartanewQuest=Comenzar una nueva Aventura
|
lblStartanewQuest=Comenzar una nueva Aventura
|
||||||
lblOldQuestData=¿Datos antiguos de Aventura? Ponlos en %s y reinicia Forge.
|
lblOldQuestData=¿Datos antiguos de Aventura? Ponlos en %s y reinicia Forge.
|
||||||
rbEasy=Fácil
|
questDifficultyEasy=Fácil
|
||||||
rbMedium=Medio
|
questDifficultyMedium=Medio
|
||||||
rbHard=Difícil
|
questDifficultyHard=Difícil
|
||||||
rbExpert=Experto
|
questDifficultyExpert=Experto
|
||||||
rbFantasyMode=Modo Fantasía
|
rbFantasyMode=Modo Fantasía
|
||||||
rbCommanderSubformat=Subformato Commander
|
rbCommanderSubformat=Subformato Commander
|
||||||
lblStartingWorld=Mundo de partida
|
lblStartingWorld=Mundo de partida
|
||||||
|
|||||||
@@ -450,10 +450,10 @@ lblQuestData=Dati della missione
|
|||||||
lblLoadQuestData=Carica dati missione
|
lblLoadQuestData=Carica dati missione
|
||||||
lblStartanewQuest=Inizia una nuova missione
|
lblStartanewQuest=Inizia una nuova missione
|
||||||
lblOldQuestData=Vecchi dati delle missioni? Inserisci in %s e riavvia Forge.
|
lblOldQuestData=Vecchi dati delle missioni? Inserisci in %s e riavvia Forge.
|
||||||
rbEasy=Facile
|
questDifficultyEasy=Facile
|
||||||
rbMedium=medio
|
questDifficultyMedium=medio
|
||||||
rbHard=Difficile
|
questDifficultyHard=Difficile
|
||||||
rbExpert=Esperto
|
questDifficultyExpert=Esperto
|
||||||
rbFantasyMode=Modalità Fantasy
|
rbFantasyMode=Modalità Fantasy
|
||||||
rbCommanderSubformat=Sottomodulo comandante
|
rbCommanderSubformat=Sottomodulo comandante
|
||||||
lblStartingWorld=Mondo di partenza
|
lblStartingWorld=Mondo di partenza
|
||||||
|
|||||||
@@ -450,10 +450,10 @@ lblQuestData=冒险之旅
|
|||||||
lblLoadQuestData=加载冒险之旅
|
lblLoadQuestData=加载冒险之旅
|
||||||
lblStartanewQuest=开始新的冒险之旅
|
lblStartanewQuest=开始新的冒险之旅
|
||||||
lblOldQuestData=冒险之旅?放入%s并重新启动Forge。
|
lblOldQuestData=冒险之旅?放入%s并重新启动Forge。
|
||||||
rbEasy=简单
|
questDifficultyEasy=简单
|
||||||
rbMedium=中等
|
questDifficultyMedium=中等
|
||||||
rbHard=困难
|
questDifficultyHard=困难
|
||||||
rbExpert=专家
|
questDifficultyExpert=专家
|
||||||
rbFantasyMode=幻想模式
|
rbFantasyMode=幻想模式
|
||||||
rbCommanderSubformat=指挥官模式
|
rbCommanderSubformat=指挥官模式
|
||||||
lblStartingWorld=初始时空
|
lblStartingWorld=初始时空
|
||||||
|
|||||||
Reference in New Issue
Block a user