Rename settings
This commit is contained in:
@@ -75,6 +75,13 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
|
romname() {
|
||||||
|
if (this.multi) {
|
||||||
|
return `GK_${this.multi}_${this.settings.player_name}.sfc`;
|
||||||
|
} else {
|
||||||
|
return `GK_${this.id}.sfc`;
|
||||||
|
}
|
||||||
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async retryGeneration() {
|
async retryGeneration() {
|
||||||
@@ -190,7 +197,7 @@ export default defineComponent({
|
|||||||
const blob = new Blob([rom], { type: 'octet/stream' });
|
const blob = new Blob([rom], { type: 'octet/stream' });
|
||||||
const link = document.getElementById('downloader');
|
const link = document.getElementById('downloader');
|
||||||
link.href = URL.createObjectURL(blob);
|
link.href = URL.createObjectURL(blob);
|
||||||
link.download = `GK_${this.id}.sfc`;
|
link.download = this.romname;
|
||||||
link.click();
|
link.click();
|
||||||
},
|
},
|
||||||
async downloadSpoiler() {
|
async downloadSpoiler() {
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ export default defineComponent({
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div v-if="multi">
|
<div v-if="multi">
|
||||||
Part of Multiworld: <a :href="multilink">{{ multilink }}</a>
|
{{ settings.player_name }} for Multiworld: <a :href="multilink">{{ multilink }}</a>
|
||||||
<hr class="mt-2 mb-2" />
|
<hr class="mt-2 mb-2" />
|
||||||
</div>
|
</div>
|
||||||
<div v-if="settings.randomizer && settingsDisplay.randomizer[settings.randomizer]">
|
<div v-if="settings.randomizer && settingsDisplay.randomizer[settings.randomizer]">
|
||||||
|
|||||||
@@ -51,8 +51,10 @@ export default defineComponent({
|
|||||||
const saved = await localforage.getItem(`${this.prefix}setting_${this.name}`) ?? this.settings.default;
|
const saved = await localforage.getItem(`${this.prefix}setting_${this.name}`) ?? this.settings.default;
|
||||||
if (this.modelValue) {
|
if (this.modelValue) {
|
||||||
this.selected = this.modelValue;
|
this.selected = this.modelValue;
|
||||||
} else {
|
} else if (this.settings.values[saved]) {
|
||||||
this.selected = saved;
|
this.selected = saved;
|
||||||
|
} else {
|
||||||
|
this.selected = this.settings.default;
|
||||||
}
|
}
|
||||||
this.change();
|
this.change();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -161,10 +161,12 @@ export default defineComponent({
|
|||||||
<b>Goal:</b>
|
<b>Goal:</b>
|
||||||
</template>
|
</template>
|
||||||
<SettingPicker color="success" v-model="set.goal" name="goal" :generator="generator" :prefix="prefix" />
|
<SettingPicker color="success" v-model="set.goal" name="goal" :generator="generator" :prefix="prefix" />
|
||||||
<SettingPicker color="success" v-if="['ganon', 'fast_ganon', 'trinity'].includes(this.set.goal)"
|
<SettingPicker color="success" v-if="['ganon', 'fast_ganon', 'trinity'].includes(this.set.goal)"
|
||||||
v-model="set.crystals_ganon" name="crystals_ganon" :generator="generator" :prefix="prefix" />
|
v-model="set.crystals_ganon" name="crystals_ganon" :generator="generator" :prefix="prefix" />
|
||||||
<SettingPicker color="success" v-if="['boss_hunt'].includes(this.set.goal)"
|
<SettingPicker color="success" v-if="['boss_hunt'].includes(this.set.goal)"
|
||||||
v-model="set.bosses_ganon" name="bosses_ganon" :generator="generator" :prefix="prefix" />
|
v-model="set.bosses_ganon" name="bosses_ganon" :generator="generator" :prefix="prefix" />
|
||||||
|
<SettingPicker color="success" v-if="['trinity', 'triforce_hunt', 'ganon_hunt'].includes(this.set.goal)"
|
||||||
|
v-model="set.triforce_pieces" name="triforce_pieces" :generator="generator" :prefix="prefix" />
|
||||||
<SettingPicker color="success" v-if="!['pedestal', 'triforce_hunt', 'sanctuary'].includes(this.set.goal)"
|
<SettingPicker color="success" v-if="!['pedestal', 'triforce_hunt', 'sanctuary'].includes(this.set.goal)"
|
||||||
v-model="set.ganon_item" name="ganon_item" :generator="generator" :prefix="prefix" />
|
v-model="set.ganon_item" name="ganon_item" :generator="generator" :prefix="prefix" />
|
||||||
<SettingPicker color="success" v-model="set.crystals_gt" name="crystals_gt" :generator="generator" :prefix="prefix" />
|
<SettingPicker color="success" v-model="set.crystals_gt" name="crystals_gt" :generator="generator" :prefix="prefix" />
|
||||||
@@ -223,7 +225,7 @@ export default defineComponent({
|
|||||||
</template>
|
</template>
|
||||||
<SettingPicker color="danger" v-model="set.shop_shuffle" name="shop_shuffle" :generator="generator" :prefix="prefix" />
|
<SettingPicker color="danger" v-model="set.shop_shuffle" name="shop_shuffle" :generator="generator" :prefix="prefix" />
|
||||||
<SettingPicker color="danger" v-model="set.drop_shuffle" name="drop_shuffle" :generator="generator" :prefix="prefix" />
|
<SettingPicker color="danger" v-model="set.drop_shuffle" name="drop_shuffle" :generator="generator" :prefix="prefix" />
|
||||||
<SettingPicker color="danger" v-model="set.pottery" name="pottery" :generator="generator" :prefix="prefix" />
|
<SettingPicker color="danger" v-model="set.pot_shuffle" name="pot_shuffle" :generator="generator" :prefix="prefix" />
|
||||||
<SettingPicker color="danger" v-model="set.prize_shuffle" name="prize_shuffle" :generator="generator" :prefix="prefix" />
|
<SettingPicker color="danger" v-model="set.prize_shuffle" name="prize_shuffle" :generator="generator" :prefix="prefix" />
|
||||||
<SettingPicker color="danger" v-model="set.follower_shuffle" name="follower_shuffle" :generator="generator" :prefix="prefix" />
|
<SettingPicker color="danger" v-model="set.follower_shuffle" name="follower_shuffle" :generator="generator" :prefix="prefix" />
|
||||||
</AccordionItem>
|
</AccordionItem>
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ base:
|
|||||||
compasses: all
|
compasses: all
|
||||||
shop_shuffle: all
|
shop_shuffle: all
|
||||||
drop_shuffle: all
|
drop_shuffle: all
|
||||||
pottery: all
|
pot_shuffle: all
|
||||||
prize_shuffle: all
|
prize_shuffle: all
|
||||||
boots: all
|
boots: all
|
||||||
flute: all
|
flute: all
|
||||||
@@ -50,12 +50,13 @@ apr2025:
|
|||||||
display: Wild
|
display: Wild
|
||||||
boots: ['normal', 'pseudoboots']
|
boots: ['normal', 'pseudoboots']
|
||||||
hints: all
|
hints: all
|
||||||
dungeon_map:
|
beta:
|
||||||
mode: all
|
mode: all
|
||||||
weapons: all
|
weapons: all
|
||||||
goal: all
|
goal: all
|
||||||
crystals_ganon: all
|
crystals_ganon: all
|
||||||
bosses_ganon: all
|
bosses_ganon: all
|
||||||
|
triforce_pieces: all
|
||||||
crystals_gt: all
|
crystals_gt: all
|
||||||
ganon_item: all
|
ganon_item: all
|
||||||
entrance_shuffle: all
|
entrance_shuffle: all
|
||||||
@@ -77,7 +78,7 @@ dungeon_map:
|
|||||||
show_map: all
|
show_map: all
|
||||||
shop_shuffle: all
|
shop_shuffle: all
|
||||||
drop_shuffle: all
|
drop_shuffle: all
|
||||||
pottery: all
|
pot_shuffle: all
|
||||||
prize_shuffle: all
|
prize_shuffle: all
|
||||||
boots: all
|
boots: all
|
||||||
flute: all
|
flute: all
|
||||||
|
|||||||
@@ -25,11 +25,62 @@ base:
|
|||||||
door_shuffle: crossed
|
door_shuffle: crossed
|
||||||
door_lobbies: shuffled
|
door_lobbies: shuffled
|
||||||
door_type_mode: all
|
door_type_mode: all
|
||||||
trap_door_mode: optional
|
trap_door_mode: some
|
||||||
enemy_shuffle: mimics
|
enemy_shuffle: mimics
|
||||||
drop_shuffle: keys
|
drop_shuffle: keys
|
||||||
pottery: keys
|
pot_shuffle: keys
|
||||||
dark_rooms: always_light_cone
|
dark_rooms: always_light_cone
|
||||||
dungeon_map:
|
beta:
|
||||||
default:
|
default:
|
||||||
display: Default
|
display: Default
|
||||||
|
criss_cross_boss:
|
||||||
|
display: CrissCross Boss
|
||||||
|
hints: on
|
||||||
|
show_loot: always
|
||||||
|
goal: boss_hunt
|
||||||
|
bosses_ganon: 10of12
|
||||||
|
ganon_item: random
|
||||||
|
crystals_gt: random
|
||||||
|
entrance_shuffle: crossed
|
||||||
|
skull_woods: vanilla_drops
|
||||||
|
door_shuffle: crossed
|
||||||
|
lobbies: shuffled
|
||||||
|
door_type_mode: big
|
||||||
|
trap_door_mode: some
|
||||||
|
small_keys: wild
|
||||||
|
big_keys: wild
|
||||||
|
maps: wild
|
||||||
|
compasses: wild
|
||||||
|
shop_shuffle: shuffled
|
||||||
|
drop_shuffle: keys
|
||||||
|
pot_shuffle: keys
|
||||||
|
prize_shuffle: wild
|
||||||
|
boots: pseudoboots
|
||||||
|
flute: pseudoflute
|
||||||
|
dark_rooms: always_light_cone
|
||||||
|
book: crystal_switches
|
||||||
|
bunday:
|
||||||
|
display: Approximate Bunday
|
||||||
|
show_loot: never
|
||||||
|
show_map: visited
|
||||||
|
goal: trinity
|
||||||
|
crystals_ganon: random
|
||||||
|
triforce_pieces: 125of175
|
||||||
|
crystals_gt: random
|
||||||
|
entrance_shuffle: crossed
|
||||||
|
skull_woods: chaos
|
||||||
|
linked_drops: independent
|
||||||
|
door_shuffle: crossed
|
||||||
|
lobbies: shuffled
|
||||||
|
door_type_mode: chaos
|
||||||
|
trap_door_mode: some
|
||||||
|
enemy_shuffle: shuffled
|
||||||
|
boss_shuffle: random
|
||||||
|
small_keys: wild
|
||||||
|
big_keys: wild
|
||||||
|
compasses: wild
|
||||||
|
maps: wild
|
||||||
|
pot_shuffle: all
|
||||||
|
drop_shuffle: underworld
|
||||||
|
shop_shuffle: shuffled
|
||||||
|
bombs: bomb_bag_required
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ drop_shuffle:
|
|||||||
vanilla: None
|
vanilla: None
|
||||||
keys: Enemy Key Drops Shuffled
|
keys: Enemy Key Drops Shuffled
|
||||||
underworld: All Underworld Enemy Drops Shuffled
|
underworld: All Underworld Enemy Drops Shuffled
|
||||||
pottery:
|
pot_shuffle:
|
||||||
vanilla: None
|
vanilla: None
|
||||||
keys: Key Pots Shuffled
|
keys: Key Pots Shuffled
|
||||||
cave: Cave Pots Shuffled
|
cave: Cave Pots Shuffled
|
||||||
@@ -79,7 +79,7 @@ pottery:
|
|||||||
clustered: Clustered Pot Shuffle
|
clustered: Clustered Pot Shuffle
|
||||||
non_empty: Non-Empty Pot Shuffle
|
non_empty: Non-Empty Pot Shuffle
|
||||||
dungeon: Dungeon Pots Shuffled
|
dungeon: Dungeon Pots Shuffled
|
||||||
lottery: All Pots Shuffled
|
all: All Pots Shuffled
|
||||||
prize_shuffle:
|
prize_shuffle:
|
||||||
vanilla: Prizes on Bosses
|
vanilla: Prizes on Bosses
|
||||||
dungeon: Prizes Shuffled in Dungeon
|
dungeon: Prizes Shuffled in Dungeon
|
||||||
|
|||||||
@@ -111,6 +111,22 @@ bosses_ganon:
|
|||||||
"12of12":
|
"12of12":
|
||||||
display: "12 Total Bosses"
|
display: "12 Total Bosses"
|
||||||
tip: To defeat Ganon, you must defeat all 12 of the dungeon bosses.
|
tip: To defeat Ganon, you must defeat all 12 of the dungeon bosses.
|
||||||
|
triforce_pieces:
|
||||||
|
display: Triforce Pieces
|
||||||
|
default: "20of30"
|
||||||
|
values:
|
||||||
|
"8of10":
|
||||||
|
display: "8 out of 10"
|
||||||
|
"20of30":
|
||||||
|
display: "20 out of 30"
|
||||||
|
"67of100":
|
||||||
|
display: "67 out of 100"
|
||||||
|
"125of175":
|
||||||
|
display: "125 out of 175"
|
||||||
|
tip: Will probably fail to generate without a setting such as pottery lottery or underworld enemy drop shuffle to add a lot of checks to the pool.
|
||||||
|
"400of500":
|
||||||
|
display: "400 out of 500"
|
||||||
|
tip: Will probably fail to generate without a setting such as pottery lottery or underworld enemy drop shuffle to add a lot of checks to the pool.
|
||||||
crystals_gt:
|
crystals_gt:
|
||||||
display: Crystals for GT
|
display: Crystals for GT
|
||||||
default: "7"
|
default: "7"
|
||||||
@@ -193,26 +209,26 @@ links_house:
|
|||||||
display: Shuffled
|
display: Shuffled
|
||||||
skull_woods:
|
skull_woods:
|
||||||
display: Skull Woods Entrances
|
display: Skull Woods Entrances
|
||||||
default: original
|
default: default
|
||||||
values:
|
values:
|
||||||
original:
|
default:
|
||||||
display: Shuffled in SW
|
display: Shuffled in SW
|
||||||
tip: The entrances (aside from the fire-locked skull entrance) and drops in Skull Woods are each shuffled within their own pool.
|
tip: The entrances (aside from the fire-locked skull entrance) and drops in Skull Woods are each shuffled within their own pool.
|
||||||
restricted:
|
vanilla_drops:
|
||||||
display: Vanilla Drops
|
display: Vanilla Drops
|
||||||
tip: The entrances (aside from the fire-locked skull entrance) in Skull Woods are shuffled within their own pool, and the drops all lead to their vanilla placements.
|
tip: The entrances (aside from the fire-locked skull entrance) in Skull Woods are shuffled within their own pool, and the drops all lead to their vanilla placements.
|
||||||
loose:
|
loose:
|
||||||
display: Vanilla Drops, Loose Entrances
|
display: Vanilla Drops, Loose Entrances
|
||||||
tip: The drops into Skull Woods all lead to their vanilla location; the entrances are shuffled into the main pool of entrances.
|
tip: The drops into Skull Woods all lead to their vanilla location; the entrances are shuffled into the main pool of entrances.
|
||||||
follow_linked:
|
chaos:
|
||||||
display: Chaos
|
display: Chaos
|
||||||
tip: The front entrance to Skull Woods (with the drop that leads to the Big Chest) and the middle entrance (with the northern drop accessible from the back) form two more linked dropdowns that are shuffled into the broader pool of dropdowns. The remaining two drops both lead to their vanilla locations.
|
tip: The front entrance to Skull Woods (with the drop that leads to the Big Chest) and the middle entrance (with the northern drop accessible from the back) form two more linked dropdowns that are shuffled into the broader pool of dropdowns. The remaining two drops both lead to their vanilla locations.
|
||||||
linked_drops:
|
linked_drops:
|
||||||
display: Linked Drops
|
display: Linked Drops
|
||||||
default: unset
|
default: default
|
||||||
values:
|
values:
|
||||||
unset:
|
default:
|
||||||
display: Unset
|
display: Default
|
||||||
tip: Dropdowns are linked unless the entrance shuffle mode is set to decoupled.
|
tip: Dropdowns are linked unless the entrance shuffle mode is set to decoupled.
|
||||||
linked:
|
linked:
|
||||||
display: Linked
|
display: Linked
|
||||||
@@ -349,7 +365,7 @@ drop_shuffle:
|
|||||||
underworld:
|
underworld:
|
||||||
display: All Underworld Enemies
|
display: All Underworld Enemies
|
||||||
tip: Drops from every underworld enemy are shuffled into the pool of items.
|
tip: Drops from every underworld enemy are shuffled into the pool of items.
|
||||||
pottery:
|
pot_shuffle:
|
||||||
display: Pottery Shuffle
|
display: Pottery Shuffle
|
||||||
default: vanilla
|
default: vanilla
|
||||||
values:
|
values:
|
||||||
@@ -377,7 +393,7 @@ pottery:
|
|||||||
dungeon:
|
dungeon:
|
||||||
display: Dungeon
|
display: Dungeon
|
||||||
tip: Underworld pots that are within a dungeon are shuffled into the pool of items.
|
tip: Underworld pots that are within a dungeon are shuffled into the pool of items.
|
||||||
lottery:
|
all:
|
||||||
display: All
|
display: All
|
||||||
tip: All underworld pots are shuffled into the pool of items.
|
tip: All underworld pots are shuffled into the pool of items.
|
||||||
boots:
|
boots:
|
||||||
@@ -412,9 +428,11 @@ mirror:
|
|||||||
default: normal
|
default: normal
|
||||||
values:
|
values:
|
||||||
normal:
|
normal:
|
||||||
display: No Starting Mirror
|
display: Default
|
||||||
|
tip: The player will begin with a mirror scroll if door shuffle is enabled, and nothing otherwise.
|
||||||
scroll:
|
scroll:
|
||||||
display: Mirror Scroll
|
display: Mirror Scroll
|
||||||
|
tip: The player will begin with a mirror scroll, which allows warping to the start of dungeons, but not traversing from the dark world to the light world.
|
||||||
starting:
|
starting:
|
||||||
display: Starting Mirror
|
display: Starting Mirror
|
||||||
dark_rooms:
|
dark_rooms:
|
||||||
@@ -488,11 +506,11 @@ door_type_mode:
|
|||||||
display: Chaos
|
display: Chaos
|
||||||
trap_door_mode:
|
trap_door_mode:
|
||||||
display: Trap Door Removal
|
display: Trap Door Removal
|
||||||
default: optional
|
default: some
|
||||||
values:
|
values:
|
||||||
vanilla:
|
vanilla:
|
||||||
display: None
|
display: None
|
||||||
optional:
|
some:
|
||||||
display: Some
|
display: Some
|
||||||
boss:
|
boss:
|
||||||
display: Boss
|
display: Boss
|
||||||
|
|||||||
@@ -27,15 +27,15 @@ const router = createRouter({
|
|||||||
component: GenerateApr2025View,
|
component: GenerateApr2025View,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/generate/beta_test',
|
path: '/generate/beta',
|
||||||
component: GenerateView,
|
component: GenerateView,
|
||||||
alias: '/generate/beta',
|
alias: '/generate/beta_test',
|
||||||
props: { generator: "dungeon_map", prefix: "dungeon-maps-" },
|
props: { generator: "beta", prefix: "dungeon-maps-" },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/multibeta',
|
path: '/multibeta',
|
||||||
component: GenerateMulti,
|
component: GenerateMulti,
|
||||||
props: { generator: "dungeon_map", prefix: "dungeon-maps-" },
|
props: { generator: "beta", prefix: "dungeon-maps-" },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/seed/:id',
|
path: '/seed/:id',
|
||||||
|
|||||||
Reference in New Issue
Block a user